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
);
972 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
974 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
975 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
983 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
984 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
986 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
987 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
988 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
991 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
992 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1002 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1004 #include <wx/generic/dragimgg.h>
1009 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1010 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1015 static PyObject
*_wrap_ButtonNameStr_get() {
1020 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1022 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1029 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
*resultobj
;
1031 wxWindow
*arg1
= (wxWindow
*) 0 ;
1033 wxString
*arg3
= 0 ;
1034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1038 long arg6
= (long) 0 ;
1039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1041 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1044 bool temp3
= False
;
1047 bool temp8
= False
;
1048 PyObject
* obj0
= 0 ;
1049 PyObject
* obj1
= 0 ;
1050 PyObject
* obj2
= 0 ;
1051 PyObject
* obj3
= 0 ;
1052 PyObject
* obj4
= 0 ;
1053 PyObject
* obj5
= 0 ;
1054 PyObject
* obj6
= 0 ;
1055 PyObject
* obj7
= 0 ;
1057 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1063 arg2
= (int) SWIG_AsInt(obj1
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1066 arg3
= wxString_in_helper(obj2
);
1067 if (arg3
== NULL
) SWIG_fail
;
1073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1083 arg6
= (long) SWIG_AsLong(obj5
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1087 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1091 PyErr_SetString(PyExc_TypeError
,"null reference");
1097 arg8
= wxString_in_helper(obj7
);
1098 if (arg8
== NULL
) SWIG_fail
;
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) SWIG_fail
;
1110 resultobj
= wxPyMake_wxObject(result
);
1134 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 result
= (wxButton
*)new wxButton();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1150 resultobj
= wxPyMake_wxObject(result
);
1158 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
*resultobj
;
1160 wxButton
*arg1
= (wxButton
*) 0 ;
1161 wxWindow
*arg2
= (wxWindow
*) 0 ;
1163 wxString
*arg4
= 0 ;
1164 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1165 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1166 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1167 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1168 long arg7
= (long) 0 ;
1169 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1170 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1171 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1172 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1174 bool temp4
= False
;
1177 bool temp9
= False
;
1178 PyObject
* obj0
= 0 ;
1179 PyObject
* obj1
= 0 ;
1180 PyObject
* obj2
= 0 ;
1181 PyObject
* obj3
= 0 ;
1182 PyObject
* obj4
= 0 ;
1183 PyObject
* obj5
= 0 ;
1184 PyObject
* obj6
= 0 ;
1185 PyObject
* obj7
= 0 ;
1186 PyObject
* obj8
= 0 ;
1188 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1196 arg3
= (int) SWIG_AsInt(obj2
);
1197 if (PyErr_Occurred()) SWIG_fail
;
1199 arg4
= wxString_in_helper(obj3
);
1200 if (arg4
== NULL
) SWIG_fail
;
1206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1216 arg7
= (long) SWIG_AsLong(obj6
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1220 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1224 PyErr_SetString(PyExc_TypeError
,"null reference");
1230 arg9
= wxString_in_helper(obj8
);
1231 if (arg9
== NULL
) SWIG_fail
;
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1267 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
*resultobj
;
1269 wxButton
*arg1
= (wxButton
*) 0 ;
1270 PyObject
* obj0
= 0 ;
1272 (char *) "self", NULL
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 (arg1
)->SetDefault();
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) SWIG_fail
;
1285 Py_INCREF(Py_None
); resultobj
= Py_None
;
1292 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
*resultobj
;
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 result
= wxButton::GetDefaultSize();
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1309 resultptr
= new wxSize((wxSize
&) result
);
1310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1318 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1321 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1323 return Py_BuildValue((char *)"");
1325 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
*resultobj
;
1327 wxWindow
*arg1
= (wxWindow
*) 0 ;
1329 wxBitmap
*arg3
= 0 ;
1330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1334 long arg6
= (long) wxBU_AUTODRAW
;
1335 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1336 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1337 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1338 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1339 wxBitmapButton
*result
;
1342 bool temp8
= False
;
1343 PyObject
* obj0
= 0 ;
1344 PyObject
* obj1
= 0 ;
1345 PyObject
* obj2
= 0 ;
1346 PyObject
* obj3
= 0 ;
1347 PyObject
* obj4
= 0 ;
1348 PyObject
* obj5
= 0 ;
1349 PyObject
* obj6
= 0 ;
1350 PyObject
* obj7
= 0 ;
1352 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1358 arg2
= (int) SWIG_AsInt(obj1
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1360 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1364 PyErr_SetString(PyExc_TypeError
,"null reference");
1370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1380 arg6
= (long) SWIG_AsLong(obj5
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1384 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1388 PyErr_SetString(PyExc_TypeError
,"null reference");
1394 arg8
= wxString_in_helper(obj7
);
1395 if (arg8
== NULL
) SWIG_fail
;
1400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1401 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1403 wxPyEndAllowThreads(__tstate
);
1404 if (PyErr_Occurred()) SWIG_fail
;
1407 resultobj
= wxPyMake_wxObject(result
);
1423 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
*resultobj
;
1425 wxBitmapButton
*result
;
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 result
= (wxBitmapButton
*)new wxBitmapButton();
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1439 resultobj
= wxPyMake_wxObject(result
);
1447 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1450 wxWindow
*arg2
= (wxWindow
*) 0 ;
1452 wxBitmap
*arg4
= 0 ;
1453 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1454 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1455 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1456 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1457 long arg7
= (long) wxBU_AUTODRAW
;
1458 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1459 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1460 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1461 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1465 bool temp9
= False
;
1466 PyObject
* obj0
= 0 ;
1467 PyObject
* obj1
= 0 ;
1468 PyObject
* obj2
= 0 ;
1469 PyObject
* obj3
= 0 ;
1470 PyObject
* obj4
= 0 ;
1471 PyObject
* obj5
= 0 ;
1472 PyObject
* obj6
= 0 ;
1473 PyObject
* obj7
= 0 ;
1474 PyObject
* obj8
= 0 ;
1476 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1484 arg3
= (int) SWIG_AsInt(obj2
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1486 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1490 PyErr_SetString(PyExc_TypeError
,"null reference");
1496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1506 arg7
= (long) SWIG_AsLong(obj6
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1510 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1514 PyErr_SetString(PyExc_TypeError
,"null reference");
1520 arg9
= wxString_in_helper(obj8
);
1521 if (arg9
== NULL
) SWIG_fail
;
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1549 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1553 PyObject
* obj0
= 0 ;
1555 (char *) "self", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 result
= (arg1
)->GetBitmapLabel();
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1569 wxBitmap
* resultptr
;
1570 resultptr
= new wxBitmap((wxBitmap
&) result
);
1571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1579 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1583 PyObject
* obj0
= 0 ;
1585 (char *) "self", NULL
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 result
= (arg1
)->GetBitmapDisabled();
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1599 wxBitmap
* resultptr
;
1600 resultptr
= new wxBitmap((wxBitmap
&) result
);
1601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1609 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1615 (char *) "self", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (arg1
)->GetBitmapFocus();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 wxBitmap
* resultptr
;
1630 resultptr
= new wxBitmap((wxBitmap
&) result
);
1631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1639 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (arg1
)->GetBitmapSelected();
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1659 wxBitmap
* resultptr
;
1660 resultptr
= new wxBitmap((wxBitmap
&) result
);
1661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1669 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1672 wxBitmap
*arg2
= 0 ;
1673 PyObject
* obj0
= 0 ;
1674 PyObject
* obj1
= 0 ;
1676 (char *) "self",(char *) "bitmap", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1686 PyErr_SetString(PyExc_TypeError
,"null reference");
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 Py_INCREF(Py_None
); resultobj
= Py_None
;
1703 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1706 wxBitmap
*arg2
= 0 ;
1707 PyObject
* obj0
= 0 ;
1708 PyObject
* obj1
= 0 ;
1710 (char *) "self",(char *) "bitmap", NULL
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1720 PyErr_SetString(PyExc_TypeError
,"null reference");
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1737 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1740 wxBitmap
*arg2
= 0 ;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1744 (char *) "self",(char *) "bitmap", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1754 PyErr_SetString(PyExc_TypeError
,"null reference");
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 Py_INCREF(Py_None
); resultobj
= Py_None
;
1771 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1774 wxBitmap
*arg2
= 0 ;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1778 (char *) "self",(char *) "bitmap", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1788 PyErr_SetString(PyExc_TypeError
,"null reference");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 Py_INCREF(Py_None
); resultobj
= Py_None
;
1805 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1810 PyObject
* obj0
= 0 ;
1811 PyObject
* obj1
= 0 ;
1812 PyObject
* obj2
= 0 ;
1814 (char *) "self",(char *) "x",(char *) "y", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 arg2
= (int) SWIG_AsInt(obj1
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1822 arg3
= (int) SWIG_AsInt(obj2
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 (arg1
)->SetMargins(arg2
,arg3
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 Py_INCREF(Py_None
); resultobj
= Py_None
;
1838 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1842 PyObject
* obj0
= 0 ;
1844 (char *) "self", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 resultobj
= SWIG_FromInt((int)result
);
1864 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_FromInt((int)result
);
1890 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1893 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1895 return Py_BuildValue((char *)"");
1897 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1898 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1903 static PyObject
*_wrap_CheckBoxNameStr_get() {
1908 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1910 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1917 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
*resultobj
;
1919 wxWindow
*arg1
= (wxWindow
*) 0 ;
1921 wxString
*arg3
= 0 ;
1922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1926 long arg6
= (long) 0 ;
1927 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1928 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1929 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1930 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1932 bool temp3
= False
;
1935 bool temp8
= False
;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1938 PyObject
* obj2
= 0 ;
1939 PyObject
* obj3
= 0 ;
1940 PyObject
* obj4
= 0 ;
1941 PyObject
* obj5
= 0 ;
1942 PyObject
* obj6
= 0 ;
1943 PyObject
* obj7
= 0 ;
1945 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 arg2
= (int) SWIG_AsInt(obj1
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 arg3
= wxString_in_helper(obj2
);
1955 if (arg3
== NULL
) SWIG_fail
;
1961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1971 arg6
= (long) SWIG_AsLong(obj5
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1975 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1979 PyErr_SetString(PyExc_TypeError
,"null reference");
1985 arg8
= wxString_in_helper(obj7
);
1986 if (arg8
== NULL
) SWIG_fail
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2020 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 result
= (wxCheckBox
*)new wxCheckBox();
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2042 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
*resultobj
;
2044 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2045 wxWindow
*arg2
= (wxWindow
*) 0 ;
2047 wxString
*arg4
= 0 ;
2048 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2049 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2050 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2051 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2052 long arg7
= (long) 0 ;
2053 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2054 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2055 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2056 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2058 bool temp4
= False
;
2061 bool temp9
= False
;
2062 PyObject
* obj0
= 0 ;
2063 PyObject
* obj1
= 0 ;
2064 PyObject
* obj2
= 0 ;
2065 PyObject
* obj3
= 0 ;
2066 PyObject
* obj4
= 0 ;
2067 PyObject
* obj5
= 0 ;
2068 PyObject
* obj6
= 0 ;
2069 PyObject
* obj7
= 0 ;
2070 PyObject
* obj8
= 0 ;
2072 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 arg3
= (int) SWIG_AsInt(obj2
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 arg4
= wxString_in_helper(obj3
);
2084 if (arg4
== NULL
) SWIG_fail
;
2090 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2096 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2100 arg7
= (long) SWIG_AsLong(obj6
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2104 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2108 PyErr_SetString(PyExc_TypeError
,"null reference");
2114 arg9
= wxString_in_helper(obj8
);
2115 if (arg9
== NULL
) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2151 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (bool)(arg1
)->GetValue();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2179 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2185 (char *) "self", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (bool)(arg1
)->IsChecked();
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2207 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2214 (char *) "self",(char *) "state", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (bool const) SWIG_AsBool(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 (arg1
)->SetValue(arg2
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 Py_INCREF(Py_None
); resultobj
= Py_None
;
2236 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
*resultobj
;
2238 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2242 (char *) "self", NULL
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 resultobj
= SWIG_FromInt((int)result
);
2262 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2269 (char *) "self",(char *) "state", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2297 (char *) "self", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2319 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2325 (char *) "self", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2347 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2350 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2352 return Py_BuildValue((char *)"");
2354 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2355 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2360 static PyObject
*_wrap_ChoiceNameStr_get() {
2365 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2367 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2374 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxWindow
*arg1
= (wxWindow
*) 0 ;
2378 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2379 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2380 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2381 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2382 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2383 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2384 long arg6
= (long) 0 ;
2385 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2386 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2387 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2392 bool temp5
= False
;
2393 bool temp8
= False
;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2396 PyObject
* obj2
= 0 ;
2397 PyObject
* obj3
= 0 ;
2398 PyObject
* obj4
= 0 ;
2399 PyObject
* obj5
= 0 ;
2400 PyObject
* obj6
= 0 ;
2401 PyObject
* obj7
= 0 ;
2403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 arg2
= (int) SWIG_AsInt(obj1
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2425 if (! PySequence_Check(obj4
)) {
2426 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2429 arg5
= new wxArrayString
;
2431 int i
, len
=PySequence_Length(obj4
);
2432 for (i
=0; i
<len
; i
++) {
2433 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2435 PyObject
* str
= PyObject_Unicode(item
);
2437 PyObject
* str
= PyObject_Str(item
);
2439 arg5
->Add(Py2wxString(str
));
2446 arg6
= (long) SWIG_AsLong(obj5
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2454 PyErr_SetString(PyExc_TypeError
,"null reference");
2460 arg8
= wxString_in_helper(obj7
);
2461 if (arg8
== NULL
) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2474 if (temp5
) delete arg5
;
2483 if (temp5
) delete arg5
;
2493 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 result
= (wxChoice
*)new wxChoice();
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2515 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxChoice
*arg1
= (wxChoice
*) 0 ;
2518 wxWindow
*arg2
= (wxWindow
*) 0 ;
2520 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2521 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2522 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2523 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2524 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2525 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2526 long arg7
= (long) 0 ;
2527 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2528 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2529 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2530 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2534 bool temp6
= False
;
2535 bool temp9
= False
;
2536 PyObject
* obj0
= 0 ;
2537 PyObject
* obj1
= 0 ;
2538 PyObject
* obj2
= 0 ;
2539 PyObject
* obj3
= 0 ;
2540 PyObject
* obj4
= 0 ;
2541 PyObject
* obj5
= 0 ;
2542 PyObject
* obj6
= 0 ;
2543 PyObject
* obj7
= 0 ;
2544 PyObject
* obj8
= 0 ;
2546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2554 arg3
= (int) SWIG_AsInt(obj2
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2570 if (! PySequence_Check(obj5
)) {
2571 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2574 arg6
= new wxArrayString
;
2576 int i
, len
=PySequence_Length(obj5
);
2577 for (i
=0; i
<len
; i
++) {
2578 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2580 PyObject
* str
= PyObject_Unicode(item
);
2582 PyObject
* str
= PyObject_Str(item
);
2584 arg6
->Add(Py2wxString(str
));
2591 arg7
= (long) SWIG_AsLong(obj6
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2595 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2599 PyErr_SetString(PyExc_TypeError
,"null reference");
2605 arg9
= wxString_in_helper(obj8
);
2606 if (arg9
== NULL
) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2621 if (temp6
) delete arg6
;
2630 if (temp6
) delete arg6
;
2640 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxChoice
*arg1
= (wxChoice
*) 0 ;
2644 PyObject
* obj0
= 0 ;
2645 PyObject
* obj1
= 0 ;
2647 (char *) "self",(char *) "n", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 arg2
= (int const) SWIG_AsInt(obj1
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 (arg1
)->SetSelection(arg2
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxChoice
*arg1
= (wxChoice
*) 0 ;
2672 wxString
*arg2
= 0 ;
2673 bool temp2
= False
;
2674 PyObject
* obj0
= 0 ;
2675 PyObject
* obj1
= 0 ;
2677 (char *) "self",(char *) "string", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2684 arg2
= wxString_in_helper(obj1
);
2685 if (arg2
== NULL
) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2710 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxChoice
*arg1
= (wxChoice
*) 0 ;
2714 wxString
*arg3
= 0 ;
2715 bool temp3
= False
;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2718 PyObject
* obj2
= 0 ;
2720 (char *) "self",(char *) "n",(char *) "string", NULL
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2726 arg2
= (int) SWIG_AsInt(obj1
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2729 arg3
= wxString_in_helper(obj2
);
2730 if (arg3
== NULL
) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 Py_INCREF(Py_None
); resultobj
= Py_None
;
2755 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2758 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2760 return Py_BuildValue((char *)"");
2762 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2763 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2768 static PyObject
*_wrap_ComboBoxNameStr_get() {
2773 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2775 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2782 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxWindow
*arg1
= (wxWindow
*) 0 ;
2786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2792 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2793 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2794 long arg7
= (long) 0 ;
2795 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2796 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2797 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2798 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2800 bool temp3
= False
;
2803 bool temp6
= False
;
2804 bool temp9
= False
;
2805 PyObject
* obj0
= 0 ;
2806 PyObject
* obj1
= 0 ;
2807 PyObject
* obj2
= 0 ;
2808 PyObject
* obj3
= 0 ;
2809 PyObject
* obj4
= 0 ;
2810 PyObject
* obj5
= 0 ;
2811 PyObject
* obj6
= 0 ;
2812 PyObject
* obj7
= 0 ;
2813 PyObject
* obj8
= 0 ;
2815 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 arg2
= (int) SWIG_AsInt(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 arg3
= wxString_in_helper(obj2
);
2826 if (arg3
== NULL
) SWIG_fail
;
2833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2844 if (! PySequence_Check(obj5
)) {
2845 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2848 arg6
= new wxArrayString
;
2850 int i
, len
=PySequence_Length(obj5
);
2851 for (i
=0; i
<len
; i
++) {
2852 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2854 PyObject
* str
= PyObject_Unicode(item
);
2856 PyObject
* str
= PyObject_Str(item
);
2858 arg6
->Add(Py2wxString(str
));
2865 arg7
= (long) SWIG_AsLong(obj6
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2873 PyErr_SetString(PyExc_TypeError
,"null reference");
2879 arg9
= wxString_in_helper(obj8
);
2880 if (arg9
== NULL
) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 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
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2897 if (temp6
) delete arg6
;
2910 if (temp6
) delete arg6
;
2920 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (wxComboBox
*)new wxComboBox();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2942 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2945 wxWindow
*arg2
= (wxWindow
*) 0 ;
2947 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2948 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2949 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2950 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2951 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2952 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2953 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2954 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2955 long arg8
= (long) 0 ;
2956 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2957 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2958 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2959 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2961 bool temp4
= False
;
2964 bool temp7
= False
;
2965 bool temp10
= False
;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2968 PyObject
* obj2
= 0 ;
2969 PyObject
* obj3
= 0 ;
2970 PyObject
* obj4
= 0 ;
2971 PyObject
* obj5
= 0 ;
2972 PyObject
* obj6
= 0 ;
2973 PyObject
* obj7
= 0 ;
2974 PyObject
* obj8
= 0 ;
2975 PyObject
* obj9
= 0 ;
2977 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 arg3
= (int) SWIG_AsInt(obj2
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2989 arg4
= wxString_in_helper(obj3
);
2990 if (arg4
== NULL
) SWIG_fail
;
2997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3008 if (! PySequence_Check(obj6
)) {
3009 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3012 arg7
= new wxArrayString
;
3014 int i
, len
=PySequence_Length(obj6
);
3015 for (i
=0; i
<len
; i
++) {
3016 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3018 PyObject
* str
= PyObject_Unicode(item
);
3020 PyObject
* str
= PyObject_Str(item
);
3022 arg7
->Add(Py2wxString(str
));
3029 arg8
= (long) SWIG_AsLong(obj7
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3033 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3037 PyErr_SetString(PyExc_TypeError
,"null reference");
3043 arg10
= wxString_in_helper(obj9
);
3044 if (arg10
== NULL
) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 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
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3063 if (temp7
) delete arg7
;
3076 if (temp7
) delete arg7
;
3086 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "self", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= ((wxComboBox
const *)arg1
)->GetValue();
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3118 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3121 wxString
*arg2
= 0 ;
3122 bool temp2
= False
;
3123 PyObject
* obj0
= 0 ;
3124 PyObject
* obj1
= 0 ;
3126 (char *) "self",(char *) "value", NULL
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3133 arg2
= wxString_in_helper(obj1
);
3134 if (arg2
== NULL
) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->SetValue((wxString
const &)*arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3162 PyObject
* obj0
= 0 ;
3164 (char *) "self", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 Py_INCREF(Py_None
); resultobj
= Py_None
;
3184 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3189 (char *) "self", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 Py_INCREF(Py_None
); resultobj
= Py_None
;
3209 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3211 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3227 Py_INCREF(Py_None
); resultobj
= Py_None
;
3234 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3238 PyObject
* obj0
= 0 ;
3239 PyObject
* obj1
= 0 ;
3241 (char *) "self",(char *) "pos", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 arg2
= (long) SWIG_AsLong(obj1
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 (arg1
)->SetInsertionPoint(arg2
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 Py_INCREF(Py_None
); resultobj
= Py_None
;
3263 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3267 PyObject
* obj0
= 0 ;
3269 (char *) "self", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 resultobj
= SWIG_FromLong((long)result
);
3289 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3293 PyObject
* obj0
= 0 ;
3295 (char *) "self", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 resultobj
= SWIG_FromLong((long)result
);
3315 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3320 wxString
*arg4
= 0 ;
3321 bool temp4
= False
;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3325 PyObject
* obj3
= 0 ;
3327 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3333 arg2
= (long) SWIG_AsLong(obj1
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3335 arg3
= (long) SWIG_AsLong(obj2
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 arg4
= wxString_in_helper(obj3
);
3339 if (arg4
== NULL
) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3364 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3369 PyObject
* obj1
= 0 ;
3371 (char *) "self",(char *) "n", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 arg2
= (int) SWIG_AsInt(obj1
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 (arg1
)->SetSelection(arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3400 PyObject
* obj2
= 0 ;
3402 (char *) "self",(char *) "from",(char *) "to", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 arg2
= (long) SWIG_AsLong(obj1
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3410 arg3
= (long) SWIG_AsLong(obj2
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 (arg1
)->SetSelection(arg2
,arg3
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 Py_INCREF(Py_None
); resultobj
= Py_None
;
3426 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3433 (char *) "self",(char *) "editable", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3439 arg2
= (bool) SWIG_AsBool(obj1
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 (arg1
)->SetEditable(arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 Py_INCREF(Py_None
); resultobj
= Py_None
;
3455 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 (arg1
)->SetInsertionPointEnd();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3487 PyObject
* obj2
= 0 ;
3489 (char *) "self",(char *) "from",(char *) "to", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3495 arg2
= (long) SWIG_AsLong(obj1
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3497 arg3
= (long) SWIG_AsLong(obj2
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->Remove(arg2
,arg3
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3513 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3516 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3518 return Py_BuildValue((char *)"");
3520 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3521 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3526 static PyObject
*_wrap_GaugeNameStr_get() {
3531 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3533 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3540 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxWindow
*arg1
= (wxWindow
*) 0 ;
3545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3549 long arg6
= (long) wxGA_HORIZONTAL
;
3550 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3551 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3552 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3553 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3557 bool temp8
= False
;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3560 PyObject
* obj2
= 0 ;
3561 PyObject
* obj3
= 0 ;
3562 PyObject
* obj4
= 0 ;
3563 PyObject
* obj5
= 0 ;
3564 PyObject
* obj6
= 0 ;
3565 PyObject
* obj7
= 0 ;
3567 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 arg2
= (int) SWIG_AsInt(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3575 arg3
= (int) SWIG_AsInt(obj2
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3590 arg6
= (long) SWIG_AsLong(obj5
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3594 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3598 PyErr_SetString(PyExc_TypeError
,"null reference");
3604 arg8
= wxString_in_helper(obj7
);
3605 if (arg8
== NULL
) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3631 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (wxGauge
*)new wxGauge();
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3653 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxGauge
*arg1
= (wxGauge
*) 0 ;
3656 wxWindow
*arg2
= (wxWindow
*) 0 ;
3659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3663 long arg7
= (long) wxGA_HORIZONTAL
;
3664 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3665 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3666 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3667 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3671 bool temp9
= False
;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3674 PyObject
* obj2
= 0 ;
3675 PyObject
* obj3
= 0 ;
3676 PyObject
* obj4
= 0 ;
3677 PyObject
* obj5
= 0 ;
3678 PyObject
* obj6
= 0 ;
3679 PyObject
* obj7
= 0 ;
3680 PyObject
* obj8
= 0 ;
3682 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 arg3
= (int) SWIG_AsInt(obj2
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3692 arg4
= (int) SWIG_AsInt(obj3
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3707 arg7
= (long) SWIG_AsLong(obj6
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3715 PyErr_SetString(PyExc_TypeError
,"null reference");
3721 arg9
= wxString_in_helper(obj8
);
3722 if (arg9
== NULL
) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3750 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxGauge
*arg1
= (wxGauge
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3757 (char *) "self",(char *) "range", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3763 arg2
= (int) SWIG_AsInt(obj1
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 (arg1
)->SetRange(arg2
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxGauge
*arg1
= (wxGauge
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3785 (char *) "self", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= SWIG_FromInt((int)result
);
3805 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxGauge
*arg1
= (wxGauge
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "pos", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 arg2
= (int) SWIG_AsInt(obj1
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 (arg1
)->SetValue(arg2
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 Py_INCREF(Py_None
); resultobj
= Py_None
;
3834 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxGauge
*arg1
= (wxGauge
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "self", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_FromInt((int)result
);
3860 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxGauge
*arg1
= (wxGauge
*) 0 ;
3864 PyObject
* obj0
= 0 ;
3866 (char *) "self", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3888 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxGauge
*arg1
= (wxGauge
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3895 (char *) "self",(char *) "w", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 arg2
= (int) SWIG_AsInt(obj1
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 (arg1
)->SetShadowWidth(arg2
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 Py_INCREF(Py_None
); resultobj
= Py_None
;
3917 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxGauge
*arg1
= (wxGauge
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3923 (char *) "self", NULL
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= SWIG_FromInt((int)result
);
3943 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxGauge
*arg1
= (wxGauge
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3950 (char *) "self",(char *) "w", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3956 arg2
= (int) SWIG_AsInt(obj1
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 (arg1
)->SetBezelFace(arg2
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxGauge
*arg1
= (wxGauge
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "self", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_FromInt((int)result
);
3998 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4001 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4003 return Py_BuildValue((char *)"");
4005 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4006 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4011 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4016 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4018 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4025 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4026 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4031 static PyObject
*_wrap_StaticBoxNameStr_get() {
4036 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4038 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4045 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4046 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4051 static PyObject
*_wrap_StaticTextNameStr_get() {
4056 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4058 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4065 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxWindow
*arg1
= (wxWindow
*) 0 ;
4069 wxString
*arg3
= 0 ;
4070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4074 long arg6
= (long) 0 ;
4075 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4077 wxStaticBox
*result
;
4078 bool temp3
= False
;
4081 bool temp7
= False
;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4084 PyObject
* obj2
= 0 ;
4085 PyObject
* obj3
= 0 ;
4086 PyObject
* obj4
= 0 ;
4087 PyObject
* obj5
= 0 ;
4088 PyObject
* obj6
= 0 ;
4090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4096 arg2
= (int) SWIG_AsInt(obj1
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 arg3
= wxString_in_helper(obj2
);
4100 if (arg3
== NULL
) SWIG_fail
;
4106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4116 arg6
= (long) SWIG_AsLong(obj5
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4121 arg7
= wxString_in_helper(obj6
);
4122 if (arg7
== NULL
) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= wxPyMake_wxObject(result
);
4158 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxStaticBox
*result
;
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxStaticBox
*)new wxStaticBox();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= wxPyMake_wxObject(result
);
4182 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4185 wxWindow
*arg2
= (wxWindow
*) 0 ;
4187 wxString
*arg4
= 0 ;
4188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4192 long arg7
= (long) 0 ;
4193 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4196 bool temp4
= False
;
4199 bool temp8
= False
;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4202 PyObject
* obj2
= 0 ;
4203 PyObject
* obj3
= 0 ;
4204 PyObject
* obj4
= 0 ;
4205 PyObject
* obj5
= 0 ;
4206 PyObject
* obj6
= 0 ;
4207 PyObject
* obj7
= 0 ;
4209 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 arg3
= (int) SWIG_AsInt(obj2
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 arg4
= wxString_in_helper(obj3
);
4221 if (arg4
== NULL
) SWIG_fail
;
4227 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4233 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4237 arg7
= (long) SWIG_AsLong(obj6
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4242 arg8
= wxString_in_helper(obj7
);
4243 if (arg8
== NULL
) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4279 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4282 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4284 return Py_BuildValue((char *)"");
4286 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxWindow
*arg1
= (wxWindow
*) 0 ;
4290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4294 long arg5
= (long) wxLI_HORIZONTAL
;
4295 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4297 wxStaticLine
*result
;
4300 bool temp6
= False
;
4301 PyObject
* obj0
= 0 ;
4302 PyObject
* obj1
= 0 ;
4303 PyObject
* obj2
= 0 ;
4304 PyObject
* obj3
= 0 ;
4305 PyObject
* obj4
= 0 ;
4306 PyObject
* obj5
= 0 ;
4308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 arg2
= (int) SWIG_AsInt(obj1
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4319 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4325 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4329 arg5
= (long) SWIG_AsLong(obj4
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4334 arg6
= wxString_in_helper(obj5
);
4335 if (arg6
== NULL
) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4361 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxStaticLine
*result
;
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (wxStaticLine
*)new wxStaticLine();
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4383 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4386 wxWindow
*arg2
= (wxWindow
*) 0 ;
4388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4392 long arg6
= (long) wxLI_HORIZONTAL
;
4393 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4398 bool temp7
= False
;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4401 PyObject
* obj2
= 0 ;
4402 PyObject
* obj3
= 0 ;
4403 PyObject
* obj4
= 0 ;
4404 PyObject
* obj5
= 0 ;
4405 PyObject
* obj6
= 0 ;
4407 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4415 arg3
= (int) SWIG_AsInt(obj2
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4420 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4426 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4430 arg6
= (long) SWIG_AsLong(obj5
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4435 arg7
= wxString_in_helper(obj6
);
4436 if (arg7
== NULL
) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4464 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4492 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (int)wxStaticLine::GetDefaultSize();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_FromInt((int)result
);
4514 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4517 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4519 return Py_BuildValue((char *)"");
4521 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxWindow
*arg1
= (wxWindow
*) 0 ;
4525 wxString
*arg3
= 0 ;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4533 wxStaticText
*result
;
4534 bool temp3
= False
;
4537 bool temp7
= False
;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4542 PyObject
* obj4
= 0 ;
4543 PyObject
* obj5
= 0 ;
4544 PyObject
* obj6
= 0 ;
4546 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4552 arg2
= (int) SWIG_AsInt(obj1
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 arg3
= wxString_in_helper(obj2
);
4556 if (arg3
== NULL
) SWIG_fail
;
4562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4572 arg6
= (long) SWIG_AsLong(obj5
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4577 arg7
= wxString_in_helper(obj6
);
4578 if (arg7
== NULL
) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4612 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxStaticText
*result
;
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxStaticText
*)new wxStaticText();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4634 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4637 wxWindow
*arg2
= (wxWindow
*) 0 ;
4639 wxString
*arg4
= 0 ;
4640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4642 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4643 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4644 long arg7
= (long) 0 ;
4645 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4646 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4648 bool temp4
= False
;
4651 bool temp8
= False
;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4654 PyObject
* obj2
= 0 ;
4655 PyObject
* obj3
= 0 ;
4656 PyObject
* obj4
= 0 ;
4657 PyObject
* obj5
= 0 ;
4658 PyObject
* obj6
= 0 ;
4659 PyObject
* obj7
= 0 ;
4661 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 arg3
= (int) SWIG_AsInt(obj2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 arg4
= wxString_in_helper(obj3
);
4673 if (arg4
== NULL
) SWIG_fail
;
4679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4685 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4689 arg7
= (long) SWIG_AsLong(obj6
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4694 arg8
= wxString_in_helper(obj7
);
4695 if (arg8
== NULL
) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4731 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4736 return Py_BuildValue((char *)"");
4738 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxWindow
*arg1
= (wxWindow
*) 0 ;
4742 wxBitmap
*arg3
= 0 ;
4743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4747 long arg6
= (long) 0 ;
4748 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4749 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4750 wxStaticBitmap
*result
;
4753 bool temp7
= False
;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4757 PyObject
* obj3
= 0 ;
4758 PyObject
* obj4
= 0 ;
4759 PyObject
* obj5
= 0 ;
4760 PyObject
* obj6
= 0 ;
4762 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4768 arg2
= (int) SWIG_AsInt(obj1
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4774 PyErr_SetString(PyExc_TypeError
,"null reference");
4780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4790 arg6
= (long) SWIG_AsLong(obj5
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4795 arg7
= wxString_in_helper(obj6
);
4796 if (arg7
== NULL
) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4822 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxStaticBitmap
*result
;
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4844 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4847 wxWindow
*arg2
= (wxWindow
*) 0 ;
4849 wxBitmap
*arg4
= 0 ;
4850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4852 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4853 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4854 long arg7
= (long) 0 ;
4855 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4856 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4860 bool temp8
= False
;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4863 PyObject
* obj2
= 0 ;
4864 PyObject
* obj3
= 0 ;
4865 PyObject
* obj4
= 0 ;
4866 PyObject
* obj5
= 0 ;
4867 PyObject
* obj6
= 0 ;
4868 PyObject
* obj7
= 0 ;
4870 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 arg3
= (int) SWIG_AsInt(obj2
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4880 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4884 PyErr_SetString(PyExc_TypeError
,"null reference");
4890 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4896 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4900 arg7
= (long) SWIG_AsLong(obj6
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4905 arg8
= wxString_in_helper(obj7
);
4906 if (arg8
== NULL
) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4934 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (arg1
)->GetBitmap();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4954 wxBitmap
* resultptr
;
4955 resultptr
= new wxBitmap((wxBitmap
&) result
);
4956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4964 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4967 wxBitmap
*arg2
= 0 ;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4971 (char *) "self",(char *) "bitmap", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4981 PyErr_SetString(PyExc_TypeError
,"null reference");
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
4998 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5005 (char *) "self",(char *) "icon", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5015 PyErr_SetString(PyExc_TypeError
,"null reference");
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 Py_INCREF(Py_None
); resultobj
= Py_None
;
5032 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5037 return Py_BuildValue((char *)"");
5039 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5040 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5045 static PyObject
*_wrap_ListBoxNameStr_get() {
5050 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5052 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5059 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxWindow
*arg1
= (wxWindow
*) 0 ;
5063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5067 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5068 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5069 long arg6
= (long) 0 ;
5070 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5071 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5072 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5073 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5077 bool temp5
= False
;
5078 bool temp8
= False
;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5082 PyObject
* obj3
= 0 ;
5083 PyObject
* obj4
= 0 ;
5084 PyObject
* obj5
= 0 ;
5085 PyObject
* obj6
= 0 ;
5086 PyObject
* obj7
= 0 ;
5088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int) SWIG_AsInt(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5110 if (! PySequence_Check(obj4
)) {
5111 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5114 arg5
= new wxArrayString
;
5116 int i
, len
=PySequence_Length(obj4
);
5117 for (i
=0; i
<len
; i
++) {
5118 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5120 PyObject
* str
= PyObject_Unicode(item
);
5122 PyObject
* str
= PyObject_Str(item
);
5124 arg5
->Add(Py2wxString(str
));
5131 arg6
= (long) SWIG_AsLong(obj5
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5139 PyErr_SetString(PyExc_TypeError
,"null reference");
5145 arg8
= wxString_in_helper(obj7
);
5146 if (arg8
== NULL
) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5159 if (temp5
) delete arg5
;
5168 if (temp5
) delete arg5
;
5178 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= (wxListBox
*)new wxListBox();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5200 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxListBox
*arg1
= (wxListBox
*) 0 ;
5203 wxWindow
*arg2
= (wxWindow
*) 0 ;
5205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5209 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5210 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5211 long arg7
= (long) 0 ;
5212 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5213 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5214 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5215 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5219 bool temp6
= False
;
5220 bool temp9
= False
;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 PyObject
* obj2
= 0 ;
5224 PyObject
* obj3
= 0 ;
5225 PyObject
* obj4
= 0 ;
5226 PyObject
* obj5
= 0 ;
5227 PyObject
* obj6
= 0 ;
5228 PyObject
* obj7
= 0 ;
5229 PyObject
* obj8
= 0 ;
5231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 arg3
= (int) SWIG_AsInt(obj2
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5255 if (! PySequence_Check(obj5
)) {
5256 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5259 arg6
= new wxArrayString
;
5261 int i
, len
=PySequence_Length(obj5
);
5262 for (i
=0; i
<len
; i
++) {
5263 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5265 PyObject
* str
= PyObject_Unicode(item
);
5267 PyObject
* str
= PyObject_Str(item
);
5269 arg6
->Add(Py2wxString(str
));
5276 arg7
= (long) SWIG_AsLong(obj6
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5284 PyErr_SetString(PyExc_TypeError
,"null reference");
5290 arg9
= wxString_in_helper(obj8
);
5291 if (arg9
== NULL
) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 if (temp6
) delete arg6
;
5315 if (temp6
) delete arg6
;
5325 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxListBox
*arg1
= (wxListBox
*) 0 ;
5328 wxString
*arg2
= 0 ;
5330 PyObject
*arg4
= (PyObject
*) NULL
;
5331 bool temp2
= False
;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 PyObject
* obj2
= 0 ;
5335 PyObject
* obj3
= 0 ;
5337 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5344 arg2
= wxString_in_helper(obj1
);
5345 if (arg2
== NULL
) SWIG_fail
;
5348 arg3
= (int) SWIG_AsInt(obj2
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 Py_INCREF(Py_None
); resultobj
= Py_None
;
5375 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxListBox
*arg1
= (wxListBox
*) 0 ;
5378 wxArrayString
*arg2
= 0 ;
5380 bool temp2
= False
;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5383 PyObject
* obj2
= 0 ;
5385 (char *) "self",(char *) "items",(char *) "pos", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5392 if (! PySequence_Check(obj1
)) {
5393 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5396 arg2
= new wxArrayString
;
5398 int i
, len
=PySequence_Length(obj1
);
5399 for (i
=0; i
<len
; i
++) {
5400 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5402 PyObject
* str
= PyObject_Unicode(item
);
5404 PyObject
* str
= PyObject_Str(item
);
5406 arg2
->Add(Py2wxString(str
));
5411 arg3
= (int) SWIG_AsInt(obj2
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5422 if (temp2
) delete arg2
;
5427 if (temp2
) delete arg2
;
5433 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxListBox
*arg1
= (wxListBox
*) 0 ;
5436 wxArrayString
*arg2
= 0 ;
5437 bool temp2
= False
;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "items", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 if (! PySequence_Check(obj1
)) {
5449 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5452 arg2
= new wxArrayString
;
5454 int i
, len
=PySequence_Length(obj1
);
5455 for (i
=0; i
<len
; i
++) {
5456 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5458 PyObject
* str
= PyObject_Unicode(item
);
5460 PyObject
* str
= PyObject_Str(item
);
5462 arg2
->Add(Py2wxString(str
));
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->Set((wxArrayString
const &)*arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 if (temp2
) delete arg2
;
5481 if (temp2
) delete arg2
;
5487 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxListBox
*arg1
= (wxListBox
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "n", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 arg2
= (int) SWIG_AsInt(obj1
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5519 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxListBox
*arg1
= (wxListBox
*) 0 ;
5523 bool arg3
= (bool) True
;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5526 PyObject
* obj2
= 0 ;
5528 (char *) "self",(char *) "n",(char *) "select", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 arg2
= (int) SWIG_AsInt(obj1
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 arg3
= (bool) SWIG_AsBool(obj2
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 (arg1
)->SetSelection(arg2
,arg3
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxListBox
*arg1
= (wxListBox
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "n", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 arg2
= (int) SWIG_AsInt(obj1
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 (arg1
)->Select(arg2
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 Py_INCREF(Py_None
); resultobj
= Py_None
;
5583 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxListBox
*arg1
= (wxListBox
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "n", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5596 arg2
= (int) SWIG_AsInt(obj1
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 (arg1
)->Deselect(arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxListBox
*arg1
= (wxListBox
*) 0 ;
5615 int arg2
= (int) -1 ;
5616 PyObject
* obj0
= 0 ;
5617 PyObject
* obj1
= 0 ;
5619 (char *) "self",(char *) "itemToLeaveSelected", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 arg2
= (int) SWIG_AsInt(obj1
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 (arg1
)->DeselectAll(arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 Py_INCREF(Py_None
); resultobj
= Py_None
;
5643 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxListBox
*arg1
= (wxListBox
*) 0 ;
5646 wxString
*arg2
= 0 ;
5647 bool arg3
= (bool) True
;
5649 bool temp2
= False
;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5652 PyObject
* obj2
= 0 ;
5654 (char *) "self",(char *) "s",(char *) "select", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 arg2
= wxString_in_helper(obj1
);
5662 if (arg2
== NULL
) SWIG_fail
;
5666 arg3
= (bool) SWIG_AsBool(obj2
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5693 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxListBox
*arg1
= (wxListBox
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5719 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxListBox
*arg1
= (wxListBox
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj1
= 0 ;
5726 (char *) "self",(char *) "n", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 arg2
= (int) SWIG_AsInt(obj1
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 (arg1
)->SetFirstItem(arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 Py_INCREF(Py_None
); resultobj
= Py_None
;
5748 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxListBox
*arg1
= (wxListBox
*) 0 ;
5751 wxString
*arg2
= 0 ;
5752 bool temp2
= False
;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5756 (char *) "self",(char *) "s", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5763 arg2
= wxString_in_helper(obj1
);
5764 if (arg2
== NULL
) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5789 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxListBox
*arg1
= (wxListBox
*) 0 ;
5793 PyObject
* obj0
= 0 ;
5794 PyObject
* obj1
= 0 ;
5796 (char *) "self",(char *) "n", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5802 arg2
= (int) SWIG_AsInt(obj1
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 (arg1
)->EnsureVisible(arg2
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxListBox
*arg1
= (wxListBox
*) 0 ;
5821 wxString
*arg2
= 0 ;
5822 bool temp2
= False
;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5826 (char *) "self",(char *) "s", NULL
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 arg2
= wxString_in_helper(obj1
);
5834 if (arg2
== NULL
) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxListBox
*arg1
= (wxListBox
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5865 (char *) "self", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5887 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxListBox
*arg1
= (wxListBox
*) 0 ;
5891 wxColour
*arg3
= 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5897 (char *) "self",(char *) "item",(char *) "c", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 arg2
= (int) SWIG_AsInt(obj1
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5907 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxListBox
*arg1
= (wxListBox
*) 0 ;
5927 wxColour
*arg3
= 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5933 (char *) "self",(char *) "item",(char *) "c", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 arg2
= (int) SWIG_AsInt(obj1
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 Py_INCREF(Py_None
); resultobj
= Py_None
;
5959 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxListBox
*arg1
= (wxListBox
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 PyObject
* obj2
= 0 ;
5968 (char *) "self",(char *) "item",(char *) "f", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg2
= (int) SWIG_AsInt(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5976 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5980 PyErr_SetString(PyExc_TypeError
,"null reference");
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 Py_INCREF(Py_None
); resultobj
= Py_None
;
5997 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6000 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6002 return Py_BuildValue((char *)"");
6004 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxWindow
*arg1
= (wxWindow
*) 0 ;
6008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6012 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6013 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6014 long arg6
= (long) 0 ;
6015 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6016 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6017 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6018 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6019 wxCheckListBox
*result
;
6022 bool temp5
= False
;
6023 bool temp8
= False
;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6026 PyObject
* obj2
= 0 ;
6027 PyObject
* obj3
= 0 ;
6028 PyObject
* obj4
= 0 ;
6029 PyObject
* obj5
= 0 ;
6030 PyObject
* obj6
= 0 ;
6031 PyObject
* obj7
= 0 ;
6033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 arg2
= (int) SWIG_AsInt(obj1
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6044 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6050 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6055 if (! PySequence_Check(obj4
)) {
6056 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6059 arg5
= new wxArrayString
;
6061 int i
, len
=PySequence_Length(obj4
);
6062 for (i
=0; i
<len
; i
++) {
6063 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6065 PyObject
* str
= PyObject_Unicode(item
);
6067 PyObject
* str
= PyObject_Str(item
);
6069 arg5
->Add(Py2wxString(str
));
6076 arg6
= (long) SWIG_AsLong(obj5
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6084 PyErr_SetString(PyExc_TypeError
,"null reference");
6090 arg8
= wxString_in_helper(obj7
);
6091 if (arg8
== NULL
) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6104 if (temp5
) delete arg5
;
6113 if (temp5
) delete arg5
;
6123 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxCheckListBox
*result
;
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (wxCheckListBox
*)new wxCheckListBox();
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6145 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6148 wxWindow
*arg2
= (wxWindow
*) 0 ;
6150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6154 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6155 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6156 long arg7
= (long) 0 ;
6157 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6158 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6159 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6160 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6164 bool temp6
= False
;
6165 bool temp9
= False
;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6168 PyObject
* obj2
= 0 ;
6169 PyObject
* obj3
= 0 ;
6170 PyObject
* obj4
= 0 ;
6171 PyObject
* obj5
= 0 ;
6172 PyObject
* obj6
= 0 ;
6173 PyObject
* obj7
= 0 ;
6174 PyObject
* obj8
= 0 ;
6176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 arg3
= (int) SWIG_AsInt(obj2
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6200 if (! PySequence_Check(obj5
)) {
6201 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6204 arg6
= new wxArrayString
;
6206 int i
, len
=PySequence_Length(obj5
);
6207 for (i
=0; i
<len
; i
++) {
6208 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6210 PyObject
* str
= PyObject_Unicode(item
);
6212 PyObject
* str
= PyObject_Str(item
);
6214 arg6
->Add(Py2wxString(str
));
6221 arg7
= (long) SWIG_AsLong(obj6
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6229 PyErr_SetString(PyExc_TypeError
,"null reference");
6235 arg9
= wxString_in_helper(obj8
);
6236 if (arg9
== NULL
) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6251 if (temp6
) delete arg6
;
6260 if (temp6
) delete arg6
;
6270 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "index", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (int) SWIG_AsInt(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (bool)(arg1
)->IsChecked(arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6302 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6306 int arg3
= (int) True
;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6309 PyObject
* obj2
= 0 ;
6311 (char *) "self",(char *) "index",(char *) "check", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6317 arg2
= (int) SWIG_AsInt(obj1
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 arg3
= (int) SWIG_AsInt(obj2
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 (arg1
)->Check(arg2
,arg3
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 Py_INCREF(Py_None
); resultobj
= Py_None
;
6337 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (int)(arg1
)->GetItemHeight();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_FromInt((int)result
);
6363 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "self",(char *) "pt", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_FromInt((int)result
);
6396 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6404 PyObject
* obj2
= 0 ;
6406 (char *) "self",(char *) "x",(char *) "y", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 arg2
= (int) SWIG_AsInt(obj1
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6414 arg3
= (int) SWIG_AsInt(obj2
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_FromInt((int)result
);
6430 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6435 return Py_BuildValue((char *)"");
6437 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6438 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6443 static PyObject
*_wrap_TextCtrlNameStr_get() {
6448 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6450 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6457 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6458 PyObject
*resultobj
;
6461 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (wxTextAttr
*)new wxTextAttr();
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6476 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6477 PyObject
*resultobj
;
6478 wxColour
*arg1
= 0 ;
6479 wxColour
const &arg2_defvalue
= wxNullColour
;
6480 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6481 wxFont
const &arg3_defvalue
= wxNullFont
;
6482 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6483 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6489 PyObject
* obj2
= 0 ;
6490 PyObject
* obj3
= 0 ;
6492 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6495 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6504 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6508 PyErr_SetString(PyExc_TypeError
,"null reference");
6513 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6530 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6535 argc
= PyObject_Length(args
);
6536 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6537 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6540 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6542 if ((argc
>= 1) && (argc
<= 4)) {
6545 _v
= wxColour_typecheck(argv
[0]);
6549 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6552 _v
= wxColour_typecheck(argv
[1]);
6556 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6560 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6569 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6571 _v
= SWIG_CheckInt(argv
[3]);
6573 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6580 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6585 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6588 PyObject
* obj0
= 0 ;
6590 (char *) "self", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6615 (char *) "self", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6638 wxColour
*arg2
= 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "colText", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6670 wxColour
*arg2
= 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6675 (char *) "self",(char *) "colBack", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 Py_INCREF(Py_None
); resultobj
= Py_None
;
6699 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6703 long arg3
= (long) wxTEXT_ATTR_FONT
;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6706 PyObject
* obj2
= 0 ;
6708 (char *) "self",(char *) "font",(char *) "flags", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6718 PyErr_SetString(PyExc_TypeError
,"null reference");
6722 arg3
= (long) SWIG_AsLong(obj2
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 Py_INCREF(Py_None
); resultobj
= Py_None
;
6739 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6746 (char *) "self",(char *) "alignment", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6752 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 Py_INCREF(Py_None
); resultobj
= Py_None
;
6768 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6771 wxArrayInt
*arg2
= 0 ;
6772 bool temp2
= False
;
6773 PyObject
* obj0
= 0 ;
6774 PyObject
* obj1
= 0 ;
6776 (char *) "self",(char *) "tabs", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 if (! PySequence_Check(obj1
)) {
6784 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6787 arg2
= new wxArrayInt
;
6789 int i
, len
=PySequence_Length(obj1
);
6790 for (i
=0; i
<len
; i
++) {
6791 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6792 PyObject
* number
= PyNumber_Int(item
);
6793 arg2
->Add(PyInt_AS_LONG(number
));
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6807 if (temp2
) delete arg2
;
6812 if (temp2
) delete arg2
;
6818 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6825 (char *) "self",(char *) "indent", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 arg2
= (int) SWIG_AsInt(obj1
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 (arg1
)->SetLeftIndent(arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "indent", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (int) SWIG_AsInt(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 (arg1
)->SetRightIndent(arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6883 (char *) "self",(char *) "flags", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 arg2
= (long) SWIG_AsLong(obj1
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 (arg1
)->SetFlags(arg2
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 Py_INCREF(Py_None
); resultobj
= Py_None
;
6905 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6909 PyObject
* obj0
= 0 ;
6911 (char *) "self", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6933 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6961 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6989 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "self", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7045 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7101 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7107 PyObject
* obj1
= 0 ;
7109 (char *) "self",(char *) "flag", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 arg2
= (long) SWIG_AsLong(obj1
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7133 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7149 result
= (wxColour
*) &_result_ref
;
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7162 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7168 (char *) "self", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7178 result
= (wxColour
*) &_result_ref
;
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7191 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "self", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7207 result
= (wxFont
*) &_result_ref
;
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 wxFont
* resultptr
= new wxFont(*result
);
7215 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7223 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_FromInt((int)result
);
7249 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7265 result
= (wxArrayInt
*) &_result_ref
;
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= PyList_New(0);
7274 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7275 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7276 PyList_Append(resultobj
, val
);
7286 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "self", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_FromLong((long)result
);
7312 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7318 (char *) "self", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_FromLong((long)result
);
7338 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7342 PyObject
* obj0
= 0 ;
7344 (char *) "self", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_FromLong((long)result
);
7364 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7368 PyObject
* obj0
= 0 ;
7370 (char *) "self", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7392 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxTextAttr
*arg1
= 0 ;
7395 wxTextAttr
*arg2
= 0 ;
7396 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7399 PyObject
* obj1
= 0 ;
7400 PyObject
* obj2
= 0 ;
7402 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7410 PyErr_SetString(PyExc_TypeError
,"null reference");
7413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7417 PyErr_SetString(PyExc_TypeError
,"null reference");
7420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7430 wxTextAttr
* resultptr
;
7431 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7440 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7443 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7445 return Py_BuildValue((char *)"");
7447 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxWindow
*arg1
= (wxWindow
*) 0 ;
7451 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7453 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7454 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7455 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7456 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7457 long arg6
= (long) 0 ;
7458 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7459 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7460 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7461 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7463 bool temp3
= False
;
7466 bool temp8
= False
;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7469 PyObject
* obj2
= 0 ;
7470 PyObject
* obj3
= 0 ;
7471 PyObject
* obj4
= 0 ;
7472 PyObject
* obj5
= 0 ;
7473 PyObject
* obj6
= 0 ;
7474 PyObject
* obj7
= 0 ;
7476 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 arg2
= (int) SWIG_AsInt(obj1
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 arg3
= wxString_in_helper(obj2
);
7487 if (arg3
== NULL
) SWIG_fail
;
7494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7504 arg6
= (long) SWIG_AsLong(obj5
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7508 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7512 PyErr_SetString(PyExc_TypeError
,"null reference");
7518 arg8
= wxString_in_helper(obj7
);
7519 if (arg8
== NULL
) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= wxPyMake_wxObject(result
);
7555 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (wxTextCtrl
*)new wxTextCtrl();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= wxPyMake_wxObject(result
);
7579 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7582 wxWindow
*arg2
= (wxWindow
*) 0 ;
7584 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7585 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7586 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7587 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7588 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7589 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7590 long arg7
= (long) 0 ;
7591 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7592 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7593 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7594 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7596 bool temp4
= False
;
7599 bool temp9
= False
;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7603 PyObject
* obj3
= 0 ;
7604 PyObject
* obj4
= 0 ;
7605 PyObject
* obj5
= 0 ;
7606 PyObject
* obj6
= 0 ;
7607 PyObject
* obj7
= 0 ;
7608 PyObject
* obj8
= 0 ;
7610 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 arg3
= (int) SWIG_AsInt(obj2
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7622 arg4
= wxString_in_helper(obj3
);
7623 if (arg4
== NULL
) SWIG_fail
;
7630 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7636 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7640 arg7
= (long) SWIG_AsLong(obj6
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7648 PyErr_SetString(PyExc_TypeError
,"null reference");
7654 arg9
= wxString_in_helper(obj8
);
7655 if (arg9
== NULL
) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7691 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7723 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7726 wxString
*arg2
= 0 ;
7727 bool temp2
= False
;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "self",(char *) "value", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 arg2
= wxString_in_helper(obj1
);
7739 if (arg2
== NULL
) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 (arg1
)->SetValue((wxString
const &)*arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 PyObject
* obj2
= 0 ;
7774 (char *) "self",(char *) "from",(char *) "to", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 arg2
= (long) SWIG_AsLong(obj1
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7782 arg3
= (long) SWIG_AsLong(obj2
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7804 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7812 (char *) "self",(char *) "lineNo", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 arg2
= (long) SWIG_AsLong(obj1
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_FromInt((int)result
);
7834 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7842 (char *) "self",(char *) "lineNo", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 arg2
= (long) SWIG_AsLong(obj1
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7870 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_FromInt((int)result
);
7896 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "self", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7924 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7930 (char *) "self", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7952 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7958 (char *) "self", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7986 (char *) "self", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8008 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8011 long *arg2
= (long *) 0 ;
8012 long *arg3
= (long *) 0 ;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8035 resultobj
= t_output_helper(resultobj
,o
);
8038 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8039 resultobj
= t_output_helper(resultobj
,o
);
8047 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8079 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8104 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8109 wxString
*arg4
= 0 ;
8110 bool temp4
= False
;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8113 PyObject
* obj2
= 0 ;
8114 PyObject
* obj3
= 0 ;
8116 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8122 arg2
= (long) SWIG_AsLong(obj1
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8124 arg3
= (long) SWIG_AsLong(obj2
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 arg4
= wxString_in_helper(obj3
);
8128 if (arg4
== NULL
) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 Py_INCREF(Py_None
); resultobj
= Py_None
;
8153 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8159 PyObject
* obj1
= 0 ;
8160 PyObject
* obj2
= 0 ;
8162 (char *) "self",(char *) "from",(char *) "to", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 arg2
= (long) SWIG_AsLong(obj1
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8170 arg3
= (long) SWIG_AsLong(obj2
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->Remove(arg2
,arg3
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8189 wxString
*arg2
= 0 ;
8191 bool temp2
= False
;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8195 (char *) "self",(char *) "file", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8202 arg2
= wxString_in_helper(obj1
);
8203 if (arg2
== NULL
) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8230 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8233 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8234 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8236 bool temp2
= False
;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "self",(char *) "file", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 arg2
= wxString_in_helper(obj1
);
8249 if (arg2
== NULL
) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8277 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8282 (char *) "self", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 (arg1
)->MarkDirty();
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 Py_INCREF(Py_None
); resultobj
= Py_None
;
8302 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
;
8304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "self", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->DiscardEdits();
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8330 unsigned long arg2
;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8334 (char *) "self",(char *) "len", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8340 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 (arg1
)->SetMaxLength(arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 Py_INCREF(Py_None
); resultobj
= Py_None
;
8356 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8359 wxString
*arg2
= 0 ;
8360 bool temp2
= False
;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8364 (char *) "self",(char *) "text", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8371 arg2
= wxString_in_helper(obj1
);
8372 if (arg2
== NULL
) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->WriteText((wxString
const &)*arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8397 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8400 wxString
*arg2
= 0 ;
8401 bool temp2
= False
;
8402 PyObject
* obj0
= 0 ;
8403 PyObject
* obj1
= 0 ;
8405 (char *) "self",(char *) "text", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 arg2
= wxString_in_helper(obj1
);
8413 if (arg2
== NULL
) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 (arg1
)->AppendText((wxString
const &)*arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8441 wxKeyEvent
*arg2
= 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "event", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8456 PyErr_SetString(PyExc_TypeError
,"null reference");
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8475 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8480 wxTextAttr
*arg4
= 0 ;
8482 PyObject
* obj0
= 0 ;
8483 PyObject
* obj1
= 0 ;
8484 PyObject
* obj2
= 0 ;
8485 PyObject
* obj3
= 0 ;
8487 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 arg2
= (long) SWIG_AsLong(obj1
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8495 arg3
= (long) SWIG_AsLong(obj2
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8497 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8501 PyErr_SetString(PyExc_TypeError
,"null reference");
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8524 wxTextAttr
*arg3
= 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 PyObject
* obj2
= 0 ;
8530 (char *) "self",(char *) "position",(char *) "style", NULL
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8536 arg2
= (long) SWIG_AsLong(obj1
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8538 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8542 PyErr_SetString(PyExc_TypeError
,"null reference");
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8561 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8564 wxTextAttr
*arg2
= 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8569 (char *) "self",(char *) "style", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8579 PyErr_SetString(PyExc_TypeError
,"null reference");
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8614 result
= (wxTextAttr
*) &_result_ref
;
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8627 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 PyObject
* obj2
= 0 ;
8637 (char *) "self",(char *) "x",(char *) "y", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 arg2
= (long) SWIG_AsLong(obj1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8645 arg3
= (long) SWIG_AsLong(obj2
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_FromLong((long)result
);
8661 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8665 long *arg3
= (long *) 0 ;
8666 long *arg4
= (long *) 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8672 (char *) "self",(char *) "pos", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 arg2
= (long) SWIG_AsLong(obj1
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8691 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8692 resultobj
= t_output_helper(resultobj
,o
);
8695 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8696 resultobj
= t_output_helper(resultobj
,o
);
8704 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8711 (char *) "self",(char *) "pos", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8717 arg2
= (long) SWIG_AsLong(obj1
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 (arg1
)->ShowPosition(arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8737 long *arg3
= (long *) 0 ;
8738 long *arg4
= (long *) 0 ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8746 (char *) "self",(char *) "pt", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= SWIG_FromInt((int)result
);
8767 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8768 resultobj
= t_output_helper(resultobj
,o
);
8771 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8772 resultobj
= t_output_helper(resultobj
,o
);
8780 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8861 (char *) "self", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8883 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "self", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8911 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "self", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8939 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8942 PyObject
* obj0
= 0 ;
8944 (char *) "self", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 Py_INCREF(Py_None
); resultobj
= Py_None
;
8964 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8969 (char *) "self", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9017 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "self", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9052 (char *) "self",(char *) "pos", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 arg2
= (long) SWIG_AsLong(obj1
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 (arg1
)->SetInsertionPoint(arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9074 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 (arg1
)->SetInsertionPointEnd();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "self", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_FromLong((long)result
);
9125 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_FromLong((long)result
);
9151 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9160 (char *) "self",(char *) "from",(char *) "to", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 arg2
= (long) SWIG_AsLong(obj1
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg3
= (long) SWIG_AsLong(obj2
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->SetSelection(arg2
,arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 (arg1
)->SelectAll();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9216 (char *) "self",(char *) "editable", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 arg2
= (bool) SWIG_AsBool(obj1
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 (arg1
)->SetEditable(arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 Py_INCREF(Py_None
); resultobj
= Py_None
;
9238 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9241 wxString
*arg2
= 0 ;
9242 bool temp2
= False
;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9246 (char *) "self",(char *) "text", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 arg2
= wxString_in_helper(obj1
);
9254 if (arg2
== NULL
) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9279 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 PyObject
* obj2
= 0 ;
9289 (char *) "self",(char *) "from",(char *) "to", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9295 arg2
= (long) SWIG_AsLong(obj1
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9297 arg3
= (long) SWIG_AsLong(obj2
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9319 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9322 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9324 return Py_BuildValue((char *)"");
9326 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9329 wxMouseEvent
*arg2
= 0 ;
9332 wxTextUrlEvent
*result
;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 PyObject
* obj2
= 0 ;
9336 PyObject
* obj3
= 0 ;
9338 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9342 arg1
= (int) SWIG_AsInt(obj0
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9348 PyErr_SetString(PyExc_TypeError
,"null reference");
9351 arg3
= (long) SWIG_AsLong(obj2
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9353 arg4
= (long) SWIG_AsLong(obj3
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9369 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9372 wxMouseEvent
*result
;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9385 result
= (wxMouseEvent
*) &_result_ref
;
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9398 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9404 (char *) "self", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_FromLong((long)result
);
9424 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "self", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_FromLong((long)result
);
9450 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9453 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9455 return Py_BuildValue((char *)"");
9457 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9458 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9463 static PyObject
*_wrap_ScrollBarNameStr_get() {
9468 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9470 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9477 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxWindow
*arg1
= (wxWindow
*) 0 ;
9480 int arg2
= (int) -1 ;
9481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9485 long arg5
= (long) wxSB_HORIZONTAL
;
9486 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9487 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9488 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9490 wxScrollBar
*result
;
9493 bool temp7
= False
;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9496 PyObject
* obj2
= 0 ;
9497 PyObject
* obj3
= 0 ;
9498 PyObject
* obj4
= 0 ;
9499 PyObject
* obj5
= 0 ;
9500 PyObject
* obj6
= 0 ;
9502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 arg2
= (int) SWIG_AsInt(obj1
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9525 arg5
= (long) SWIG_AsLong(obj4
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9533 PyErr_SetString(PyExc_TypeError
,"null reference");
9539 arg7
= wxString_in_helper(obj6
);
9540 if (arg7
== NULL
) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9566 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxScrollBar
*result
;
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (wxScrollBar
*)new wxScrollBar();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9588 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9591 wxWindow
*arg2
= (wxWindow
*) 0 ;
9592 int arg3
= (int) -1 ;
9593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9597 long arg6
= (long) wxSB_HORIZONTAL
;
9598 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9599 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9600 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9605 bool temp8
= False
;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 PyObject
* obj2
= 0 ;
9609 PyObject
* obj3
= 0 ;
9610 PyObject
* obj4
= 0 ;
9611 PyObject
* obj5
= 0 ;
9612 PyObject
* obj6
= 0 ;
9613 PyObject
* obj7
= 0 ;
9615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9624 arg3
= (int) SWIG_AsInt(obj2
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9640 arg6
= (long) SWIG_AsLong(obj5
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9648 PyErr_SetString(PyExc_TypeError
,"null reference");
9654 arg8
= wxString_in_helper(obj7
);
9655 if (arg8
== NULL
) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9683 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "self", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_FromInt((int)result
);
9709 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_FromInt((int)result
);
9735 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_FromInt((int)result
);
9761 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "self", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_FromInt((int)result
);
9787 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9815 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9822 (char *) "self",(char *) "viewStart", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9828 arg2
= (int) SWIG_AsInt(obj1
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->SetThumbPosition(arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9851 bool arg6
= (bool) True
;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 PyObject
* obj3
= 0 ;
9856 PyObject
* obj4
= 0 ;
9857 PyObject
* obj5
= 0 ;
9859 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 arg2
= (int) SWIG_AsInt(obj1
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9867 arg3
= (int) SWIG_AsInt(obj2
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9869 arg4
= (int) SWIG_AsInt(obj3
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9871 arg5
= (int) SWIG_AsInt(obj4
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 arg6
= (bool) SWIG_AsBool(obj5
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 Py_INCREF(Py_None
); resultobj
= Py_None
;
9891 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9894 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9896 return Py_BuildValue((char *)"");
9898 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9899 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9904 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9909 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9911 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9918 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9919 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9924 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9929 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9931 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9938 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxWindow
*arg1
= (wxWindow
*) 0 ;
9941 int arg2
= (int) -1 ;
9942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9946 long arg5
= (long) wxSP_HORIZONTAL
;
9947 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9948 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9949 wxSpinButton
*result
;
9952 bool temp6
= False
;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9955 PyObject
* obj2
= 0 ;
9956 PyObject
* obj3
= 0 ;
9957 PyObject
* obj4
= 0 ;
9958 PyObject
* obj5
= 0 ;
9960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 arg2
= (int) SWIG_AsInt(obj1
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9983 arg5
= (long) SWIG_AsLong(obj4
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9988 arg6
= wxString_in_helper(obj5
);
9989 if (arg6
== NULL
) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10015 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxSpinButton
*result
;
10018 char *kwnames
[] = {
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (wxSpinButton
*)new wxSpinButton();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10037 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10040 wxWindow
*arg2
= (wxWindow
*) 0 ;
10041 int arg3
= (int) -1 ;
10042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10046 long arg6
= (long) wxSP_HORIZONTAL
;
10047 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10052 bool temp7
= False
;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 PyObject
* obj2
= 0 ;
10056 PyObject
* obj3
= 0 ;
10057 PyObject
* obj4
= 0 ;
10058 PyObject
* obj5
= 0 ;
10059 PyObject
* obj6
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 arg3
= (int) SWIG_AsInt(obj2
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10086 arg6
= (long) SWIG_AsLong(obj5
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10091 arg7
= wxString_in_helper(obj6
);
10092 if (arg7
== NULL
) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10120 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_FromInt((int)result
);
10146 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_FromInt((int)result
);
10172 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_FromInt((int)result
);
10198 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "val", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 arg2
= (int) SWIG_AsInt(obj1
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 (arg1
)->SetValue(arg2
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 Py_INCREF(Py_None
); resultobj
= Py_None
;
10227 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "minVal", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 arg2
= (int) SWIG_AsInt(obj1
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->SetMin(arg2
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "maxVal", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 arg2
= (int) SWIG_AsInt(obj1
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 (arg1
)->SetMax(arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 PyObject
* obj2
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 arg2
= (int) SWIG_AsInt(obj1
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10302 arg3
= (int) SWIG_AsInt(obj2
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 (arg1
)->SetRange(arg2
,arg3
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10346 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10349 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10351 return Py_BuildValue((char *)"");
10353 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxWindow
*arg1
= (wxWindow
*) 0 ;
10356 int arg2
= (int) -1 ;
10357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10363 long arg6
= (long) wxSP_ARROW_KEYS
;
10364 int arg7
= (int) 0 ;
10365 int arg8
= (int) 100 ;
10366 int arg9
= (int) 0 ;
10367 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10368 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10369 wxSpinCtrl
*result
;
10370 bool temp3
= False
;
10373 bool temp10
= False
;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 PyObject
* obj3
= 0 ;
10378 PyObject
* obj4
= 0 ;
10379 PyObject
* obj5
= 0 ;
10380 PyObject
* obj6
= 0 ;
10381 PyObject
* obj7
= 0 ;
10382 PyObject
* obj8
= 0 ;
10383 PyObject
* obj9
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 arg2
= (int) SWIG_AsInt(obj1
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10397 arg3
= wxString_in_helper(obj2
);
10398 if (arg3
== NULL
) SWIG_fail
;
10405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10415 arg6
= (long) SWIG_AsLong(obj5
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10419 arg7
= (int) SWIG_AsInt(obj6
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 arg8
= (int) SWIG_AsInt(obj7
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 arg9
= (int) SWIG_AsInt(obj8
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10432 arg10
= wxString_in_helper(obj9
);
10433 if (arg10
== NULL
) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10467 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxSpinCtrl
*result
;
10470 char *kwnames
[] = {
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10489 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10492 wxWindow
*arg2
= (wxWindow
*) 0 ;
10493 int arg3
= (int) -1 ;
10494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10500 long arg7
= (long) wxSP_ARROW_KEYS
;
10501 int arg8
= (int) 0 ;
10502 int arg9
= (int) 100 ;
10503 int arg10
= (int) 0 ;
10504 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10505 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10507 bool temp4
= False
;
10510 bool temp11
= False
;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 PyObject
* obj3
= 0 ;
10515 PyObject
* obj4
= 0 ;
10516 PyObject
* obj5
= 0 ;
10517 PyObject
* obj6
= 0 ;
10518 PyObject
* obj7
= 0 ;
10519 PyObject
* obj8
= 0 ;
10520 PyObject
* obj9
= 0 ;
10521 PyObject
* obj10
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 arg3
= (int) SWIG_AsInt(obj2
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10537 arg4
= wxString_in_helper(obj3
);
10538 if (arg4
== NULL
) SWIG_fail
;
10545 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10551 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10555 arg7
= (long) SWIG_AsLong(obj6
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10559 arg8
= (int) SWIG_AsInt(obj7
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 arg9
= (int) SWIG_AsInt(obj8
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 arg10
= (int) SWIG_AsInt(obj9
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10572 arg11
= wxString_in_helper(obj10
);
10573 if (arg11
== NULL
) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10609 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_FromInt((int)result
);
10635 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "value", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 arg2
= (int) SWIG_AsInt(obj1
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetValue(arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10667 wxString
*arg2
= 0 ;
10668 bool temp2
= False
;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self",(char *) "text", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10679 arg2
= wxString_in_helper(obj1
);
10680 if (arg2
== NULL
) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 (arg1
)->SetValue((wxString
const &)*arg2
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 Py_INCREF(Py_None
); resultobj
= Py_None
;
10705 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 PyObject
* obj2
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 arg2
= (int) SWIG_AsInt(obj1
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10722 arg3
= (int) SWIG_AsInt(obj2
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->SetRange(arg2
,arg3
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_FromInt((int)result
);
10764 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_FromInt((int)result
);
10790 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 PyObject
* obj2
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "from",(char *) "to", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 arg2
= (long) SWIG_AsLong(obj1
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10807 arg3
= (long) SWIG_AsLong(obj2
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->SetSelection(arg2
,arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10828 return Py_BuildValue((char *)"");
10830 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10833 int arg2
= (int) 0 ;
10834 wxSpinEvent
*result
;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "commandType",(char *) "winid", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10843 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10847 arg2
= (int) SWIG_AsInt(obj1
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10864 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_FromInt((int)result
);
10890 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "pos", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 arg2
= (int) SWIG_AsInt(obj1
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 (arg1
)->SetPosition(arg2
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 Py_INCREF(Py_None
); resultobj
= Py_None
;
10919 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10922 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10924 return Py_BuildValue((char *)"");
10926 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10927 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10932 static PyObject
*_wrap_RadioBoxNameStr_get() {
10937 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10939 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10946 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10947 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10952 static PyObject
*_wrap_RadioButtonNameStr_get() {
10957 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10959 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10966 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxWindow
*arg1
= (wxWindow
*) 0 ;
10970 wxString
*arg3
= 0 ;
10971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10975 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10976 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10977 int arg7
= (int) 0 ;
10978 long arg8
= (long) wxRA_HORIZONTAL
;
10979 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10980 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10981 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10982 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10983 wxRadioBox
*result
;
10984 bool temp3
= False
;
10987 bool temp6
= False
;
10988 bool temp10
= False
;
10989 PyObject
* obj0
= 0 ;
10990 PyObject
* obj1
= 0 ;
10991 PyObject
* obj2
= 0 ;
10992 PyObject
* obj3
= 0 ;
10993 PyObject
* obj4
= 0 ;
10994 PyObject
* obj5
= 0 ;
10995 PyObject
* obj6
= 0 ;
10996 PyObject
* obj7
= 0 ;
10997 PyObject
* obj8
= 0 ;
10998 PyObject
* obj9
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11006 arg2
= (int) SWIG_AsInt(obj1
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 arg3
= wxString_in_helper(obj2
);
11010 if (arg3
== NULL
) SWIG_fail
;
11016 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11022 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11027 if (! PySequence_Check(obj5
)) {
11028 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11031 arg6
= new wxArrayString
;
11033 int i
, len
=PySequence_Length(obj5
);
11034 for (i
=0; i
<len
; i
++) {
11035 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11037 PyObject
* str
= PyObject_Unicode(item
);
11039 PyObject
* str
= PyObject_Str(item
);
11041 arg6
->Add(Py2wxString(str
));
11048 arg7
= (int) SWIG_AsInt(obj6
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 arg8
= (long) SWIG_AsLong(obj7
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11059 if (arg9
== NULL
) {
11060 PyErr_SetString(PyExc_TypeError
,"null reference");
11066 arg10
= wxString_in_helper(obj9
);
11067 if (arg10
== NULL
) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 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
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11084 if (temp6
) delete arg6
;
11097 if (temp6
) delete arg6
;
11107 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxRadioBox
*result
;
11110 char *kwnames
[] = {
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (wxRadioBox
*)new wxRadioBox();
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11129 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11132 wxWindow
*arg2
= (wxWindow
*) 0 ;
11134 wxString
*arg4
= 0 ;
11135 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11136 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11137 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11138 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11139 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11140 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11141 int arg8
= (int) 0 ;
11142 long arg9
= (long) wxRA_HORIZONTAL
;
11143 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11144 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11145 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11146 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11148 bool temp4
= False
;
11151 bool temp7
= False
;
11152 bool temp11
= False
;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 PyObject
* obj3
= 0 ;
11157 PyObject
* obj4
= 0 ;
11158 PyObject
* obj5
= 0 ;
11159 PyObject
* obj6
= 0 ;
11160 PyObject
* obj7
= 0 ;
11161 PyObject
* obj8
= 0 ;
11162 PyObject
* obj9
= 0 ;
11163 PyObject
* obj10
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11173 arg3
= (int) SWIG_AsInt(obj2
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 arg4
= wxString_in_helper(obj3
);
11177 if (arg4
== NULL
) SWIG_fail
;
11183 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11189 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11194 if (! PySequence_Check(obj6
)) {
11195 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11198 arg7
= new wxArrayString
;
11200 int i
, len
=PySequence_Length(obj6
);
11201 for (i
=0; i
<len
; i
++) {
11202 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11204 PyObject
* str
= PyObject_Unicode(item
);
11206 PyObject
* str
= PyObject_Str(item
);
11208 arg7
->Add(Py2wxString(str
));
11215 arg8
= (int) SWIG_AsInt(obj7
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 arg9
= (long) SWIG_AsLong(obj8
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11226 if (arg10
== NULL
) {
11227 PyErr_SetString(PyExc_TypeError
,"null reference");
11233 arg11
= wxString_in_helper(obj10
);
11234 if (arg11
== NULL
) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 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
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 if (temp7
) delete arg7
;
11266 if (temp7
) delete arg7
;
11276 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self",(char *) "n", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg2
= (int) SWIG_AsInt(obj1
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->SetSelection(arg2
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_FromInt((int)result
);
11331 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11363 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11366 wxString
*arg2
= 0 ;
11368 bool temp2
= False
;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "s", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 arg2
= wxString_in_helper(obj1
);
11380 if (arg2
== NULL
) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11407 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_FromInt((int)result
);
11433 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11436 wxString
*arg2
= 0 ;
11438 bool temp2
= False
;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self",(char *) "s", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 arg2
= wxString_in_helper(obj1
);
11450 if (arg2
== NULL
) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_FromInt((int)result
);
11475 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self",(char *) "n", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11489 arg2
= (int) SWIG_AsInt(obj1
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11511 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11515 wxString
*arg3
= 0 ;
11516 bool temp3
= False
;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "n",(char *) "label", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 arg2
= (int) SWIG_AsInt(obj1
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 arg3
= wxString_in_helper(obj2
);
11531 if (arg3
== NULL
) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11560 bool arg3
= (bool) True
;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self",(char *) "n",(char *) "enable", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11571 arg2
= (int) SWIG_AsInt(obj1
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 arg3
= (bool) SWIG_AsBool(obj2
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->Enable(arg2
,arg3
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 Py_INCREF(Py_None
); resultobj
= Py_None
;
11591 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11595 bool arg3
= (bool) True
;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 PyObject
* obj2
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self",(char *) "n",(char *) "show", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11606 arg2
= (int) SWIG_AsInt(obj1
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 arg3
= (bool) SWIG_AsBool(obj2
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->Show(arg2
,arg3
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 Py_INCREF(Py_None
); resultobj
= Py_None
;
11626 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_FromInt((int)result
);
11652 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_FromInt((int)result
);
11678 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11696 arg2
= (int) SWIG_AsInt(obj1
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11698 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11700 arg4
= (long) SWIG_AsLong(obj3
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_FromInt((int)result
);
11716 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11719 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11721 return Py_BuildValue((char *)"");
11723 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxWindow
*arg1
= (wxWindow
*) 0 ;
11727 wxString
*arg3
= 0 ;
11728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11732 long arg6
= (long) 0 ;
11733 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11734 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11735 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11736 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11737 wxRadioButton
*result
;
11738 bool temp3
= False
;
11741 bool temp8
= False
;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 PyObject
* obj2
= 0 ;
11745 PyObject
* obj3
= 0 ;
11746 PyObject
* obj4
= 0 ;
11747 PyObject
* obj5
= 0 ;
11748 PyObject
* obj6
= 0 ;
11749 PyObject
* obj7
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 arg2
= (int) SWIG_AsInt(obj1
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 arg3
= wxString_in_helper(obj2
);
11761 if (arg3
== NULL
) SWIG_fail
;
11767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11777 arg6
= (long) SWIG_AsLong(obj5
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11784 if (arg7
== NULL
) {
11785 PyErr_SetString(PyExc_TypeError
,"null reference");
11791 arg8
= wxString_in_helper(obj7
);
11792 if (arg8
== NULL
) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11826 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxRadioButton
*result
;
11829 char *kwnames
[] = {
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxRadioButton
*)new wxRadioButton();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11848 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11851 wxWindow
*arg2
= (wxWindow
*) 0 ;
11853 wxString
*arg4
= 0 ;
11854 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11855 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11856 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11857 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11858 long arg7
= (long) 0 ;
11859 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11860 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11861 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11862 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11864 bool temp4
= False
;
11867 bool temp9
= False
;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 PyObject
* obj2
= 0 ;
11871 PyObject
* obj3
= 0 ;
11872 PyObject
* obj4
= 0 ;
11873 PyObject
* obj5
= 0 ;
11874 PyObject
* obj6
= 0 ;
11875 PyObject
* obj7
= 0 ;
11876 PyObject
* obj8
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 arg3
= (int) SWIG_AsInt(obj2
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 arg4
= wxString_in_helper(obj3
);
11890 if (arg4
== NULL
) SWIG_fail
;
11896 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11902 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11906 arg7
= (long) SWIG_AsLong(obj6
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11913 if (arg8
== NULL
) {
11914 PyErr_SetString(PyExc_TypeError
,"null reference");
11920 arg9
= wxString_in_helper(obj8
);
11921 if (arg9
== NULL
) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11957 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (bool)(arg1
)->GetValue();
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11985 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self",(char *) "value", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 arg2
= (bool) SWIG_AsBool(obj1
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 (arg1
)->SetValue(arg2
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 Py_INCREF(Py_None
); resultobj
= Py_None
;
12014 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12017 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12019 return Py_BuildValue((char *)"");
12021 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12022 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12027 static PyObject
*_wrap_SliderNameStr_get() {
12032 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12034 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12041 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxWindow
*arg1
= (wxWindow
*) 0 ;
12048 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12049 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12050 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12051 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12052 long arg8
= (long) wxSL_HORIZONTAL
;
12053 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12054 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12055 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12056 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12060 bool temp10
= False
;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 PyObject
* obj2
= 0 ;
12064 PyObject
* obj3
= 0 ;
12065 PyObject
* obj4
= 0 ;
12066 PyObject
* obj5
= 0 ;
12067 PyObject
* obj6
= 0 ;
12068 PyObject
* obj7
= 0 ;
12069 PyObject
* obj8
= 0 ;
12070 PyObject
* obj9
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 arg2
= (int) SWIG_AsInt(obj1
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12080 arg3
= (int) SWIG_AsInt(obj2
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12082 arg4
= (int) SWIG_AsInt(obj3
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12084 arg5
= (int) SWIG_AsInt(obj4
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12089 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12095 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12099 arg8
= (long) SWIG_AsLong(obj7
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12103 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12106 if (arg9
== NULL
) {
12107 PyErr_SetString(PyExc_TypeError
,"null reference");
12113 arg10
= wxString_in_helper(obj9
);
12114 if (arg10
== NULL
) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12140 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12143 char *kwnames
[] = {
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (wxSlider
*)new wxSlider();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12162 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxSlider
*arg1
= (wxSlider
*) 0 ;
12165 wxWindow
*arg2
= (wxWindow
*) 0 ;
12170 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12171 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12172 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12173 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12174 long arg9
= (long) wxSL_HORIZONTAL
;
12175 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12176 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12177 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12178 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12182 bool temp11
= False
;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 PyObject
* obj3
= 0 ;
12187 PyObject
* obj4
= 0 ;
12188 PyObject
* obj5
= 0 ;
12189 PyObject
* obj6
= 0 ;
12190 PyObject
* obj7
= 0 ;
12191 PyObject
* obj8
= 0 ;
12192 PyObject
* obj9
= 0 ;
12193 PyObject
* obj10
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 arg3
= (int) SWIG_AsInt(obj2
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12205 arg4
= (int) SWIG_AsInt(obj3
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12207 arg5
= (int) SWIG_AsInt(obj4
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12209 arg6
= (int) SWIG_AsInt(obj5
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12214 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12220 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12224 arg9
= (long) SWIG_AsLong(obj8
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12231 if (arg10
== NULL
) {
12232 PyErr_SetString(PyExc_TypeError
,"null reference");
12238 arg11
= wxString_in_helper(obj10
);
12239 if (arg11
== NULL
) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12267 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxSlider
*arg1
= (wxSlider
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_FromInt((int)result
);
12293 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self",(char *) "value", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 arg2
= (int) SWIG_AsInt(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->SetValue(arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxSlider
*arg1
= (wxSlider
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 PyObject
* obj2
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12337 arg2
= (int) SWIG_AsInt(obj1
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12339 arg3
= (int) SWIG_AsInt(obj2
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->SetRange(arg2
,arg3
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxSlider
*arg1
= (wxSlider
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_FromInt((int)result
);
12381 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxSlider
*arg1
= (wxSlider
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_FromInt((int)result
);
12407 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxSlider
*arg1
= (wxSlider
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "minValue", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 arg2
= (int) SWIG_AsInt(obj1
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetMin(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 Py_INCREF(Py_None
); resultobj
= Py_None
;
12436 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxSlider
*arg1
= (wxSlider
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "maxValue", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 arg2
= (int) SWIG_AsInt(obj1
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 (arg1
)->SetMax(arg2
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxSlider
*arg1
= (wxSlider
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "lineSize", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 arg2
= (int) SWIG_AsInt(obj1
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->SetLineSize(arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12494 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxSlider
*arg1
= (wxSlider
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self",(char *) "pageSize", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 arg2
= (int) SWIG_AsInt(obj1
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetPageSize(arg2
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxSlider
*arg1
= (wxSlider
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_FromInt((int)result
);
12549 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxSlider
*arg1
= (wxSlider
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_FromInt((int)result
);
12575 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxSlider
*arg1
= (wxSlider
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "lenPixels", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12588 arg2
= (int) SWIG_AsInt(obj1
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetThumbLength(arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxSlider
*arg1
= (wxSlider
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_FromInt((int)result
);
12630 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxSlider
*arg1
= (wxSlider
*) 0 ;
12634 int arg3
= (int) 1 ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self",(char *) "n",(char *) "pos", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12645 arg2
= (int) SWIG_AsInt(obj1
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 arg3
= (int) SWIG_AsInt(obj2
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 (arg1
)->SetTickFreq(arg2
,arg3
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 Py_INCREF(Py_None
); resultobj
= Py_None
;
12665 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxSlider
*arg1
= (wxSlider
*) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_FromInt((int)result
);
12691 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxSlider
*arg1
= (wxSlider
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->ClearTicks();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 Py_INCREF(Py_None
); resultobj
= Py_None
;
12716 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxSlider
*arg1
= (wxSlider
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "tickPos", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 arg2
= (int) SWIG_AsInt(obj1
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->SetTick(arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 Py_INCREF(Py_None
); resultobj
= Py_None
;
12745 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxSlider
*arg1
= (wxSlider
*) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 (arg1
)->ClearSel();
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 Py_INCREF(Py_None
); resultobj
= Py_None
;
12770 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxSlider
*arg1
= (wxSlider
*) 0 ;
12774 PyObject
* obj0
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= SWIG_FromInt((int)result
);
12796 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxSlider
*arg1
= (wxSlider
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_FromInt((int)result
);
12822 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxSlider
*arg1
= (wxSlider
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 PyObject
* obj2
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self",(char *) "min",(char *) "max", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 arg2
= (int) SWIG_AsInt(obj1
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12839 arg3
= (int) SWIG_AsInt(obj2
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 (arg1
)->SetSelection(arg2
,arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12860 return Py_BuildValue((char *)"");
12862 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12863 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12868 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12873 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12875 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12882 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxWindow
*arg1
= (wxWindow
*) 0 ;
12886 wxString
*arg3
= 0 ;
12887 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12888 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12889 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12890 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12891 long arg6
= (long) 0 ;
12892 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12893 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12894 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12895 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12896 wxToggleButton
*result
;
12897 bool temp3
= False
;
12900 bool temp8
= False
;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 PyObject
* obj2
= 0 ;
12904 PyObject
* obj3
= 0 ;
12905 PyObject
* obj4
= 0 ;
12906 PyObject
* obj5
= 0 ;
12907 PyObject
* obj6
= 0 ;
12908 PyObject
* obj7
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 arg2
= (int) SWIG_AsInt(obj1
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 arg3
= wxString_in_helper(obj2
);
12920 if (arg3
== NULL
) SWIG_fail
;
12926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12936 arg6
= (long) SWIG_AsLong(obj5
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12943 if (arg7
== NULL
) {
12944 PyErr_SetString(PyExc_TypeError
,"null reference");
12950 arg8
= wxString_in_helper(obj7
);
12951 if (arg8
== NULL
) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12985 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxToggleButton
*result
;
12988 char *kwnames
[] = {
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (wxToggleButton
*)new wxToggleButton();
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13007 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13010 wxWindow
*arg2
= (wxWindow
*) 0 ;
13012 wxString
*arg4
= 0 ;
13013 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13014 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13015 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13016 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13017 long arg7
= (long) 0 ;
13018 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13019 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13020 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13021 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13023 bool temp4
= False
;
13026 bool temp9
= False
;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 PyObject
* obj2
= 0 ;
13030 PyObject
* obj3
= 0 ;
13031 PyObject
* obj4
= 0 ;
13032 PyObject
* obj5
= 0 ;
13033 PyObject
* obj6
= 0 ;
13034 PyObject
* obj7
= 0 ;
13035 PyObject
* obj8
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 arg3
= (int) SWIG_AsInt(obj2
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13048 arg4
= wxString_in_helper(obj3
);
13049 if (arg4
== NULL
) SWIG_fail
;
13055 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13061 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13065 arg7
= (long) SWIG_AsLong(obj6
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13069 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13072 if (arg8
== NULL
) {
13073 PyErr_SetString(PyExc_TypeError
,"null reference");
13079 arg9
= wxString_in_helper(obj8
);
13080 if (arg9
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13116 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self",(char *) "value", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13129 arg2
= (bool) SWIG_AsBool(obj1
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 (arg1
)->SetValue(arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 Py_INCREF(Py_None
); resultobj
= Py_None
;
13145 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13173 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13176 wxString
*arg2
= 0 ;
13177 bool temp2
= False
;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "label", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= wxString_in_helper(obj1
);
13189 if (arg2
== NULL
) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->SetLabel((wxString
const &)*arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13217 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13219 return Py_BuildValue((char *)"");
13221 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13222 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13227 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13232 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13234 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13241 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13267 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "n", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= wxPyMake_wxObject(result
);
13299 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_FromInt((int)result
);
13325 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13329 wxString
*arg3
= 0 ;
13331 bool temp3
= False
;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 PyObject
* obj2
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "n",(char *) "strText", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 arg3
= wxString_in_helper(obj2
);
13346 if (arg3
== NULL
) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13373 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "n", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13409 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13412 wxImageList
*arg2
= (wxImageList
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "imageList", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 (arg1
)->SetImageList(arg2
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13441 wxImageList
*arg2
= (wxImageList
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self",(char *) "imageList", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13452 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 (arg1
)->AssignImageList(arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 Py_INCREF(Py_None
); resultobj
= Py_None
;
13467 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13470 wxImageList
*result
;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= wxPyMake_wxObject(result
);
13495 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13500 PyObject
* obj0
= 0 ;
13501 PyObject
* obj1
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self",(char *) "n", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_FromInt((int)result
);
13525 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 PyObject
* obj2
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "n",(char *) "imageId", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13541 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13543 arg3
= (int) SWIG_AsInt(obj2
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13561 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self",(char *) "size", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "sizePage", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 wxSize
* resultptr
;
13621 resultptr
= new wxSize((wxSize
&) result
);
13622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13630 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self",(char *) "n", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)(arg1
)->DeletePage(arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13662 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self",(char *) "n", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13676 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (bool)(arg1
)->RemovePage(arg2
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13694 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (bool)(arg1
)->DeleteAllPages();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13722 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13725 wxWindow
*arg2
= (wxWindow
*) 0 ;
13726 wxString
*arg3
= 0 ;
13727 bool arg4
= (bool) False
;
13728 int arg5
= (int) -1 ;
13730 bool temp3
= False
;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 PyObject
* obj3
= 0 ;
13735 PyObject
* obj4
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13746 arg3
= wxString_in_helper(obj2
);
13747 if (arg3
== NULL
) SWIG_fail
;
13751 arg4
= (bool) SWIG_AsBool(obj3
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 arg5
= (int) SWIG_AsInt(obj4
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13782 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13786 wxWindow
*arg3
= (wxWindow
*) 0 ;
13787 wxString
*arg4
= 0 ;
13788 bool arg5
= (bool) False
;
13789 int arg6
= (int) -1 ;
13791 bool temp4
= False
;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 PyObject
* obj2
= 0 ;
13795 PyObject
* obj3
= 0 ;
13796 PyObject
* obj4
= 0 ;
13797 PyObject
* obj5
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13807 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 arg4
= wxString_in_helper(obj3
);
13811 if (arg4
== NULL
) SWIG_fail
;
13815 arg5
= (bool) SWIG_AsBool(obj4
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 arg6
= (int) SWIG_AsInt(obj5
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13846 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self",(char *) "n", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (int)(arg1
)->SetSelection(arg2
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_FromInt((int)result
);
13876 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13879 bool arg2
= (bool) True
;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "forward", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 arg2
= (bool) SWIG_AsBool(obj1
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 (arg1
)->AdvanceSelection(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 Py_INCREF(Py_None
); resultobj
= Py_None
;
13907 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13910 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13912 return Py_BuildValue((char *)"");
13914 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13917 int arg2
= (int) 0 ;
13918 int arg3
= (int) -1 ;
13919 int arg4
= (int) -1 ;
13920 wxBookCtrlEvent
*result
;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 PyObject
* obj2
= 0 ;
13924 PyObject
* obj3
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13931 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13935 arg2
= (int) SWIG_AsInt(obj1
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 arg3
= (int) SWIG_AsInt(obj2
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13943 arg4
= (int) SWIG_AsInt(obj3
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13960 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_FromInt((int)result
);
13986 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "nSel", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 arg2
= (int) SWIG_AsInt(obj1
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->SetSelection(arg2
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_FromInt((int)result
);
14041 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self",(char *) "nOldSel", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14054 arg2
= (int) SWIG_AsInt(obj1
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->SetOldSelection(arg2
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14073 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14075 return Py_BuildValue((char *)"");
14077 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxWindow
*arg1
= (wxWindow
*) 0 ;
14080 int arg2
= (int) -1 ;
14081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14085 long arg5
= (long) 0 ;
14086 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14087 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14088 wxNotebook
*result
;
14091 bool temp6
= False
;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 PyObject
* obj2
= 0 ;
14095 PyObject
* obj3
= 0 ;
14096 PyObject
* obj4
= 0 ;
14097 PyObject
* obj5
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14106 arg2
= (int) SWIG_AsInt(obj1
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14112 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14118 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14122 arg5
= (long) SWIG_AsLong(obj4
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14127 arg6
= wxString_in_helper(obj5
);
14128 if (arg6
== NULL
) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= wxPyMake_wxObject(result
);
14156 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxNotebook
*result
;
14159 char *kwnames
[] = {
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (wxNotebook
*)new wxNotebook();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= wxPyMake_wxObject(result
);
14180 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14183 wxWindow
*arg2
= (wxWindow
*) 0 ;
14185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14189 long arg6
= (long) 0 ;
14190 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14195 bool temp7
= False
;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 PyObject
* obj2
= 0 ;
14199 PyObject
* obj3
= 0 ;
14200 PyObject
* obj4
= 0 ;
14201 PyObject
* obj5
= 0 ;
14202 PyObject
* obj6
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 arg3
= (int) SWIG_AsInt(obj2
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14227 arg6
= (long) SWIG_AsLong(obj5
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14232 arg7
= wxString_in_helper(obj6
);
14233 if (arg7
== NULL
) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14261 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= SWIG_FromInt((int)result
);
14287 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "padding", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "sz", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14354 wxPoint
*arg2
= 0 ;
14355 long *arg3
= (long *) 0 ;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self",(char *) "pt", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_FromInt((int)result
);
14382 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14383 resultobj
= t_output_helper(resultobj
,o
);
14391 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "sizePage", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14418 wxSize
* resultptr
;
14419 resultptr
= new wxSize((wxSize
&) result
);
14420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14428 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14431 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14433 return Py_BuildValue((char *)"");
14435 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14438 int arg2
= (int) 0 ;
14439 int arg3
= (int) -1 ;
14440 int arg4
= (int) -1 ;
14441 wxNotebookEvent
*result
;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 PyObject
* obj3
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14452 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 arg2
= (int) SWIG_AsInt(obj1
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 arg3
= (int) SWIG_AsInt(obj2
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 arg4
= (int) SWIG_AsInt(obj3
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14481 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14484 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14486 return Py_BuildValue((char *)"");
14488 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxWindow
*arg1
= (wxWindow
*) 0 ;
14491 int arg2
= (int) -1 ;
14492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14496 long arg5
= (long) 0 ;
14497 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14498 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14499 wxListbook
*result
;
14502 bool temp6
= False
;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 PyObject
* obj2
= 0 ;
14506 PyObject
* obj3
= 0 ;
14507 PyObject
* obj4
= 0 ;
14508 PyObject
* obj5
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 arg2
= (int) SWIG_AsInt(obj1
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14533 arg5
= (long) SWIG_AsLong(obj4
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14538 arg6
= wxString_in_helper(obj5
);
14539 if (arg6
== NULL
) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14565 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxListbook
*result
;
14568 char *kwnames
[] = {
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (wxListbook
*)new wxListbook();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14587 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxListbook
*arg1
= (wxListbook
*) 0 ;
14590 wxWindow
*arg2
= (wxWindow
*) 0 ;
14592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14596 long arg6
= (long) 0 ;
14597 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14602 bool temp7
= False
;
14603 PyObject
* obj0
= 0 ;
14604 PyObject
* obj1
= 0 ;
14605 PyObject
* obj2
= 0 ;
14606 PyObject
* obj3
= 0 ;
14607 PyObject
* obj4
= 0 ;
14608 PyObject
* obj5
= 0 ;
14609 PyObject
* obj6
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 arg3
= (int) SWIG_AsInt(obj2
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14634 arg6
= (long) SWIG_AsLong(obj5
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14639 arg7
= wxString_in_helper(obj6
);
14640 if (arg7
== NULL
) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxListbook
*arg1
= (wxListbook
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14696 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14699 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14701 return Py_BuildValue((char *)"");
14703 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14706 int arg2
= (int) 0 ;
14707 int arg3
= (int) -1 ;
14708 int arg4
= (int) -1 ;
14709 wxListbookEvent
*result
;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 PyObject
* obj3
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14720 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14724 arg2
= (int) SWIG_AsInt(obj1
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 arg3
= (int) SWIG_AsInt(obj2
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 arg4
= (int) SWIG_AsInt(obj3
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14749 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14754 return Py_BuildValue((char *)"");
14756 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14759 wxBookCtrlSizer
*result
;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "nb", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14782 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->RecalcSizes();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (arg1
)->CalcMin();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 wxSize
* resultptr
;
14828 resultptr
= new wxSize((wxSize
&) result
);
14829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14837 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14840 wxBookCtrl
*result
;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14863 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14866 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14868 return Py_BuildValue((char *)"");
14870 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14873 wxNotebookSizer
*result
;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "nb", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14896 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 (arg1
)->RecalcSizes();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 Py_INCREF(Py_None
); resultobj
= Py_None
;
14921 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (arg1
)->CalcMin();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 wxSize
* resultptr
;
14942 resultptr
= new wxSize((wxSize
&) result
);
14943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14951 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14954 wxNotebook
*result
;
14955 PyObject
* obj0
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= wxPyMake_wxObject(result
);
14979 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14982 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14984 return Py_BuildValue((char *)"");
14986 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (int)(arg1
)->GetId();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_FromInt((int)result
);
15012 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15016 PyObject
* obj0
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (wxControl
*)(arg1
)->GetControl();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= wxPyMake_wxObject(result
);
15040 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15043 wxToolBarBase
*result
;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= wxPyMake_wxObject(result
);
15068 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (int)(arg1
)->IsButton();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_FromInt((int)result
);
15094 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)(arg1
)->IsControl();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_FromInt((int)result
);
15120 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (int)(arg1
)->IsSeparator();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_FromInt((int)result
);
15146 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (int)(arg1
)->GetStyle();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_FromInt((int)result
);
15172 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (int)(arg1
)->GetKind();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_FromInt((int)result
);
15198 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)(arg1
)->IsEnabled();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15226 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (bool)(arg1
)->IsToggled();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15254 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (bool)(arg1
)->CanBeToggled();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15298 result
= (wxBitmap
*) &_result_ref
;
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 wxBitmap
* resultptr
= new wxBitmap(*result
);
15306 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15314 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15330 result
= (wxBitmap
*) &_result_ref
;
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 wxBitmap
* resultptr
= new wxBitmap(*result
);
15338 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15346 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (arg1
)->GetBitmap();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 wxBitmap
* resultptr
;
15367 resultptr
= new wxBitmap((wxBitmap
&) result
);
15368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15376 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (arg1
)->GetLabel();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15408 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (arg1
)->GetShortHelp();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15440 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= (arg1
)->GetLongHelp();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15472 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "enable", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 arg2
= (bool) SWIG_AsBool(obj1
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (bool)(arg1
)->Enable(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15529 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "toggle", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15543 arg2
= (bool) SWIG_AsBool(obj1
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (bool)(arg1
)->SetToggle(arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15561 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15564 wxString
*arg2
= 0 ;
15566 bool temp2
= False
;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self",(char *) "help", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15577 arg2
= wxString_in_helper(obj1
);
15578 if (arg2
== NULL
) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15605 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15608 wxString
*arg2
= 0 ;
15610 bool temp2
= False
;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "help", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 arg2
= wxString_in_helper(obj1
);
15622 if (arg2
== NULL
) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15649 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15652 wxBitmap
*arg2
= 0 ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "bmp", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15665 if (arg2
== NULL
) {
15666 PyErr_SetString(PyExc_TypeError
,"null reference");
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 Py_INCREF(Py_None
); resultobj
= Py_None
;
15683 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15686 wxBitmap
*arg2
= 0 ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "bmp", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15699 if (arg2
== NULL
) {
15700 PyErr_SetString(PyExc_TypeError
,"null reference");
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 Py_INCREF(Py_None
); resultobj
= Py_None
;
15717 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15720 wxString
*arg2
= 0 ;
15721 bool temp2
= False
;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "label", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 arg2
= wxString_in_helper(obj1
);
15733 if (arg2
== NULL
) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->SetLabel((wxString
const &)*arg2
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 Py_INCREF(Py_None
); resultobj
= Py_None
;
15758 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 Py_INCREF(Py_None
); resultobj
= Py_None
;
15783 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15786 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self",(char *) "tbar", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 (arg1
)->Attach(arg2
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 Py_INCREF(Py_None
); resultobj
= Py_None
;
15812 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
;
15838 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15841 PyObject
*arg2
= (PyObject
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "clientData", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15877 wxString
*arg3
= 0 ;
15878 wxBitmap
*arg4
= 0 ;
15879 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15880 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15881 int arg6
= (int) wxITEM_NORMAL
;
15882 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15883 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15884 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15885 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15886 PyObject
*arg9
= (PyObject
*) NULL
;
15887 wxToolBarToolBase
*result
;
15888 bool temp3
= False
;
15889 bool temp7
= False
;
15890 bool temp8
= False
;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 PyObject
* obj2
= 0 ;
15894 PyObject
* obj3
= 0 ;
15895 PyObject
* obj4
= 0 ;
15896 PyObject
* obj5
= 0 ;
15897 PyObject
* obj6
= 0 ;
15898 PyObject
* obj7
= 0 ;
15899 PyObject
* obj8
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 arg2
= (int) SWIG_AsInt(obj1
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 arg3
= wxString_in_helper(obj2
);
15911 if (arg3
== NULL
) SWIG_fail
;
15914 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15917 if (arg4
== NULL
) {
15918 PyErr_SetString(PyExc_TypeError
,"null reference");
15922 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15925 if (arg5
== NULL
) {
15926 PyErr_SetString(PyExc_TypeError
,"null reference");
15931 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15936 arg7
= wxString_in_helper(obj6
);
15937 if (arg7
== NULL
) SWIG_fail
;
15943 arg8
= wxString_in_helper(obj7
);
15944 if (arg8
== NULL
) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= wxPyMake_wxObject(result
);
15991 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15996 wxString
*arg4
= 0 ;
15997 wxBitmap
*arg5
= 0 ;
15998 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15999 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16000 int arg7
= (int) wxITEM_NORMAL
;
16001 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16002 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16003 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16004 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16005 PyObject
*arg10
= (PyObject
*) NULL
;
16006 wxToolBarToolBase
*result
;
16007 bool temp4
= False
;
16008 bool temp8
= False
;
16009 bool temp9
= False
;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 PyObject
* obj2
= 0 ;
16013 PyObject
* obj3
= 0 ;
16014 PyObject
* obj4
= 0 ;
16015 PyObject
* obj5
= 0 ;
16016 PyObject
* obj6
= 0 ;
16017 PyObject
* obj7
= 0 ;
16018 PyObject
* obj8
= 0 ;
16019 PyObject
* obj9
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16029 arg3
= (int) SWIG_AsInt(obj2
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 arg4
= wxString_in_helper(obj3
);
16033 if (arg4
== NULL
) SWIG_fail
;
16036 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16039 if (arg5
== NULL
) {
16040 PyErr_SetString(PyExc_TypeError
,"null reference");
16044 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16047 if (arg6
== NULL
) {
16048 PyErr_SetString(PyExc_TypeError
,"null reference");
16053 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16058 arg8
= wxString_in_helper(obj7
);
16059 if (arg8
== NULL
) SWIG_fail
;
16065 arg9
= wxString_in_helper(obj8
);
16066 if (arg9
== NULL
) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 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
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= wxPyMake_wxObject(result
);
16113 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16116 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16117 wxToolBarToolBase
*result
;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "tool", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= wxPyMake_wxObject(result
);
16145 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16149 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16150 wxToolBarToolBase
*result
;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 PyObject
* obj2
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "pos",(char *) "tool", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16163 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= wxPyMake_wxObject(result
);
16181 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16184 wxControl
*arg2
= (wxControl
*) 0 ;
16185 wxToolBarToolBase
*result
;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self",(char *) "control", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= wxPyMake_wxObject(result
);
16213 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16217 wxControl
*arg3
= (wxControl
*) 0 ;
16218 wxToolBarToolBase
*result
;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 PyObject
* obj2
= 0 ;
16222 char *kwnames
[] = {
16223 (char *) "self",(char *) "pos",(char *) "control", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16229 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16231 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= wxPyMake_wxObject(result
);
16249 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self",(char *) "id", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 arg2
= (int) SWIG_AsInt(obj1
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= wxPyMake_wxObject(result
);
16281 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16284 wxToolBarToolBase
*result
;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= wxPyMake_wxObject(result
);
16309 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16313 wxToolBarToolBase
*result
;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "pos", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= wxPyMake_wxObject(result
);
16341 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16345 wxToolBarToolBase
*result
;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "id", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 arg2
= (int) SWIG_AsInt(obj1
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= wxPyMake_wxObject(result
);
16373 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "pos", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16387 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16405 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self",(char *) "id", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16419 arg2
= (int) SWIG_AsInt(obj1
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (bool)(arg1
)->DeleteTool(arg2
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16437 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 (arg1
)->ClearTools();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (bool)(arg1
)->Realize();
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "id",(char *) "enable", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 arg2
= (int) SWIG_AsInt(obj1
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16507 arg3
= (bool) SWIG_AsBool(obj2
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->EnableTool(arg2
,arg3
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 Py_INCREF(Py_None
); resultobj
= Py_None
;
16523 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 PyObject
* obj2
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "id",(char *) "toggle", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 arg2
= (int) SWIG_AsInt(obj1
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16540 arg3
= (bool) SWIG_AsBool(obj2
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 (arg1
)->ToggleTool(arg2
,arg3
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 Py_INCREF(Py_None
); resultobj
= Py_None
;
16556 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 PyObject
* obj2
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self",(char *) "id",(char *) "toggle", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 arg2
= (int) SWIG_AsInt(obj1
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16573 arg3
= (bool) SWIG_AsBool(obj2
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 (arg1
)->SetToggle(arg2
,arg3
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 Py_INCREF(Py_None
); resultobj
= Py_None
;
16589 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "self",(char *) "id", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16603 arg2
= (int) SWIG_AsInt(obj1
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= result
;
16619 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16623 PyObject
*arg3
= (PyObject
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 PyObject
* obj1
= 0 ;
16626 PyObject
* obj2
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "id",(char *) "clientData", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16634 arg2
= (int) SWIG_AsInt(obj1
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 Py_INCREF(Py_None
); resultobj
= Py_None
;
16651 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "id", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 arg2
= (int) SWIG_AsInt(obj1
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_FromInt((int)result
);
16681 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self",(char *) "id", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 arg2
= (int) SWIG_AsInt(obj1
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (bool)(arg1
)->GetToolState(arg2
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16713 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "id", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16727 arg2
= (int) SWIG_AsInt(obj1
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16749 wxString
*arg3
= 0 ;
16750 bool temp3
= False
;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 PyObject
* obj2
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "id",(char *) "helpString", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 arg2
= (int) SWIG_AsInt(obj1
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 arg3
= wxString_in_helper(obj2
);
16765 if (arg3
== NULL
) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 Py_INCREF(Py_None
); resultobj
= Py_None
;
16790 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "id", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 arg2
= (int) SWIG_AsInt(obj1
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (arg1
)->GetToolShortHelp(arg2
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16826 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16830 wxString
*arg3
= 0 ;
16831 bool temp3
= False
;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 PyObject
* obj2
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self",(char *) "id",(char *) "helpString", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 arg2
= (int) SWIG_AsInt(obj1
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 arg3
= wxString_in_helper(obj2
);
16846 if (arg3
== NULL
) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 Py_INCREF(Py_None
); resultobj
= Py_None
;
16871 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "id", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 arg2
= (int) SWIG_AsInt(obj1
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (arg1
)->GetToolLongHelp(arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16907 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 PyObject
* obj2
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "self",(char *) "x",(char *) "y", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 arg2
= (int) SWIG_AsInt(obj1
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16924 arg3
= (int) SWIG_AsInt(obj2
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 (arg1
)->SetMargins(arg2
,arg3
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 Py_INCREF(Py_None
); resultobj
= Py_None
;
16940 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self",(char *) "size", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 Py_INCREF(Py_None
); resultobj
= Py_None
;
16972 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "packing", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 arg2
= (int) SWIG_AsInt(obj1
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->SetToolPacking(arg2
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "separation", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17014 arg2
= (int) SWIG_AsInt(obj1
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 (arg1
)->SetToolSeparation(arg2
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 Py_INCREF(Py_None
); resultobj
= Py_None
;
17030 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (arg1
)->GetToolMargins();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 wxSize
* resultptr
;
17051 resultptr
= new wxSize((wxSize
&) result
);
17052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17060 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (arg1
)->GetMargins();
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 wxSize
* resultptr
;
17081 resultptr
= new wxSize((wxSize
&) result
);
17082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17090 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17094 PyObject
* obj0
= 0 ;
17095 char *kwnames
[] = {
17096 (char *) "self", NULL
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (int)(arg1
)->GetToolPacking();
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_FromInt((int)result
);
17116 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (int)(arg1
)->GetToolSeparation();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_FromInt((int)result
);
17142 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "nRows", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 arg2
= (int) SWIG_AsInt(obj1
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 (arg1
)->SetRows(arg2
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 Py_INCREF(Py_None
); resultobj
= Py_None
;
17171 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 PyObject
* obj2
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self",(char *) "rows",(char *) "cols", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 arg2
= (int) SWIG_AsInt(obj1
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17188 arg3
= (int) SWIG_AsInt(obj2
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 Py_INCREF(Py_None
); resultobj
= Py_None
;
17204 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17208 PyObject
* obj0
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (int)(arg1
)->GetMaxRows();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= SWIG_FromInt((int)result
);
17230 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (int)(arg1
)->GetMaxCols();
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= SWIG_FromInt((int)result
);
17256 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "size", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 Py_INCREF(Py_None
); resultobj
= Py_None
;
17288 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17292 PyObject
* obj0
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (arg1
)->GetToolBitmapSize();
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 wxSize
* resultptr
;
17309 resultptr
= new wxSize((wxSize
&) result
);
17310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17318 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17322 PyObject
* obj0
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (arg1
)->GetToolSize();
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 wxSize
* resultptr
;
17339 resultptr
= new wxSize((wxSize
&) result
);
17340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17348 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17353 wxToolBarToolBase
*result
;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 PyObject
* obj2
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "x",(char *) "y", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 arg2
= (int) SWIG_AsInt(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17366 arg3
= (int) SWIG_AsInt(obj2
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= wxPyMake_wxObject(result
);
17384 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17388 wxToolBarToolBase
*result
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self",(char *) "toolid", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 arg2
= (int) SWIG_AsInt(obj1
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= wxPyMake_wxObject(result
);
17416 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (bool)(arg1
)->IsVertical();
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17444 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17447 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17449 return Py_BuildValue((char *)"");
17451 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxWindow
*arg1
= (wxWindow
*) 0 ;
17455 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17456 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17457 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17458 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17459 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17460 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17461 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17465 bool temp6
= False
;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 PyObject
* obj2
= 0 ;
17469 PyObject
* obj3
= 0 ;
17470 PyObject
* obj4
= 0 ;
17471 PyObject
* obj5
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 arg2
= (int) SWIG_AsInt(obj1
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17494 arg5
= (long) SWIG_AsLong(obj4
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17499 arg6
= wxString_in_helper(obj5
);
17500 if (arg6
== NULL
) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= wxPyMake_wxObject(result
);
17528 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17531 char *kwnames
[] = {
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (wxToolBar
*)new wxToolBar();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= wxPyMake_wxObject(result
);
17552 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17555 wxWindow
*arg2
= (wxWindow
*) 0 ;
17557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17561 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17562 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17567 bool temp7
= False
;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 PyObject
* obj3
= 0 ;
17572 PyObject
* obj4
= 0 ;
17573 PyObject
* obj5
= 0 ;
17574 PyObject
* obj6
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 arg3
= (int) SWIG_AsInt(obj2
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17599 arg6
= (long) SWIG_AsLong(obj5
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17604 arg7
= wxString_in_helper(obj6
);
17605 if (arg7
== NULL
) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17633 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17638 wxToolBarToolBase
*result
;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 PyObject
* obj2
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self",(char *) "x",(char *) "y", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 arg2
= (int) SWIG_AsInt(obj1
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17651 arg3
= (int) SWIG_AsInt(obj2
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= wxPyMake_wxObject(result
);
17669 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17672 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17674 return Py_BuildValue((char *)"");
17676 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17677 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17682 static PyObject
*_wrap_ListCtrlNameStr_get() {
17687 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17689 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17696 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxColour
const &arg1_defvalue
= wxNullColour
;
17699 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17700 wxColour
const &arg2_defvalue
= wxNullColour
;
17701 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17702 wxFont
const &arg3_defvalue
= wxNullFont
;
17703 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17704 wxListItemAttr
*result
;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17718 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17724 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17728 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17731 if (arg3
== NULL
) {
17732 PyErr_SetString(PyExc_TypeError
,"null reference");
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17750 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17753 wxColour
*arg2
= 0 ;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "colText", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17766 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 Py_INCREF(Py_None
); resultobj
= Py_None
;
17782 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17785 wxColour
*arg2
= 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "colBack", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "font", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17830 if (arg2
== NULL
) {
17831 PyErr_SetString(PyExc_TypeError
,"null reference");
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 (arg1
)->SetFont((wxFont
const &)*arg2
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)(arg1
)->HasTextColour();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17876 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)(arg1
)->HasBackgroundColour();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)(arg1
)->HasFont();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (arg1
)->GetTextColour();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 wxColour
* resultptr
;
17953 resultptr
= new wxColour((wxColour
&) result
);
17954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17962 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (arg1
)->GetBackgroundColour();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17982 wxColour
* resultptr
;
17983 resultptr
= new wxColour((wxColour
&) result
);
17984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17992 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 result
= (arg1
)->GetFont();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 wxFont
* resultptr
;
18013 resultptr
= new wxFont((wxFont
&) result
);
18014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18022 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 wxListItemAttr_Destroy(arg1
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18050 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18052 return Py_BuildValue((char *)"");
18054 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxListItem
*result
;
18057 char *kwnames
[] = {
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (wxListItem
*)new wxListItem();
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= wxPyMake_wxObject(result
);
18078 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxListItem
*arg1
= (wxListItem
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 Py_INCREF(Py_None
); resultobj
= Py_None
;
18103 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxListItem
*arg1
= (wxListItem
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 Py_INCREF(Py_None
); resultobj
= Py_None
;
18128 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxListItem
*arg1
= (wxListItem
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 (arg1
)->ClearAttributes();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 Py_INCREF(Py_None
); resultobj
= Py_None
;
18153 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxListItem
*arg1
= (wxListItem
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "mask", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 arg2
= (long) SWIG_AsLong(obj1
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetMask(arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxListItem
*arg1
= (wxListItem
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "id", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 arg2
= (long) SWIG_AsLong(obj1
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 (arg1
)->SetId(arg2
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 Py_INCREF(Py_None
); resultobj
= Py_None
;
18211 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxListItem
*arg1
= (wxListItem
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "col", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18224 arg2
= (int) SWIG_AsInt(obj1
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->SetColumn(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxListItem
*arg1
= (wxListItem
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "state", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 arg2
= (long) SWIG_AsLong(obj1
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetState(arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxListItem
*arg1
= (wxListItem
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "stateMask", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18282 arg2
= (long) SWIG_AsLong(obj1
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->SetStateMask(arg2
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18298 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxListItem
*arg1
= (wxListItem
*) 0 ;
18301 wxString
*arg2
= 0 ;
18302 bool temp2
= False
;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "text", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18313 arg2
= wxString_in_helper(obj1
);
18314 if (arg2
== NULL
) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->SetText((wxString
const &)*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18339 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxListItem
*arg1
= (wxListItem
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "image", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 arg2
= (int) SWIG_AsInt(obj1
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->SetImage(arg2
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 Py_INCREF(Py_None
); resultobj
= Py_None
;
18368 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxListItem
*arg1
= (wxListItem
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "data", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 arg2
= (long) SWIG_AsLong(obj1
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->SetData(arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxListItem
*arg1
= (wxListItem
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "width", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 arg2
= (int) SWIG_AsInt(obj1
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->SetWidth(arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18426 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxListItem
*arg1
= (wxListItem
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "align", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 Py_INCREF(Py_None
); resultobj
= Py_None
;
18455 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxListItem
*arg1
= (wxListItem
*) 0 ;
18458 wxColour
*arg2
= 0 ;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "colText", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxListItem
*arg1
= (wxListItem
*) 0 ;
18490 wxColour
*arg2
= 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "colBack", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 Py_INCREF(Py_None
); resultobj
= Py_None
;
18519 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxListItem
*arg1
= (wxListItem
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self",(char *) "font", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18535 if (arg2
== NULL
) {
18536 PyErr_SetString(PyExc_TypeError
,"null reference");
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 (arg1
)->SetFont((wxFont
const &)*arg2
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 Py_INCREF(Py_None
); resultobj
= Py_None
;
18553 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxListItem
*arg1
= (wxListItem
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (long)(arg1
)->GetMask();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_FromLong((long)result
);
18579 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxListItem
*arg1
= (wxListItem
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (long)(arg1
)->GetId();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_FromLong((long)result
);
18605 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxListItem
*arg1
= (wxListItem
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (int)(arg1
)->GetColumn();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_FromInt((int)result
);
18631 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxListItem
*arg1
= (wxListItem
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (long)(arg1
)->GetState();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_FromLong((long)result
);
18657 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxListItem
*arg1
= (wxListItem
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 wxString
const &_result_ref
= (arg1
)->GetText();
18673 result
= (wxString
*) &_result_ref
;
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18683 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18692 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxListItem
*arg1
= (wxListItem
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (int)(arg1
)->GetImage();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_FromInt((int)result
);
18718 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxListItem
*arg1
= (wxListItem
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 result
= (long)(arg1
)->GetData();
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= SWIG_FromLong((long)result
);
18744 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxListItem
*arg1
= (wxListItem
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (int)(arg1
)->GetWidth();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_FromInt((int)result
);
18770 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxListItem
*arg1
= (wxListItem
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (int)(arg1
)->GetAlign();
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_FromInt((int)result
);
18796 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxListItem
*arg1
= (wxListItem
*) 0 ;
18799 wxListItemAttr
*result
;
18800 PyObject
* obj0
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18822 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxListItem
*arg1
= (wxListItem
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (bool)(arg1
)->HasAttributes();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18850 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxListItem
*arg1
= (wxListItem
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 wxColour
* resultptr
;
18871 resultptr
= new wxColour((wxColour
&) result
);
18872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18880 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxListItem
*arg1
= (wxListItem
*) 0 ;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18900 wxColour
* resultptr
;
18901 resultptr
= new wxColour((wxColour
&) result
);
18902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18910 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxListItem
*arg1
= (wxListItem
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= ((wxListItem
const *)arg1
)->GetFont();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 wxFont
* resultptr
;
18931 resultptr
= new wxFont((wxFont
&) result
);
18932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18940 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18941 PyObject
*resultobj
;
18942 wxListItem
*arg1
= (wxListItem
*) 0 ;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self",(char *) "m_mask", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18953 arg2
= (long) SWIG_AsLong(obj1
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18955 if (arg1
) (arg1
)->m_mask
= arg2
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxListItem
*arg1
= (wxListItem
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18976 result
= (long) ((arg1
)->m_mask
);
18978 resultobj
= SWIG_FromLong((long)result
);
18985 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxListItem
*arg1
= (wxListItem
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "m_itemId", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 arg2
= (long) SWIG_AsLong(obj1
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19000 if (arg1
) (arg1
)->m_itemId
= arg2
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxListItem
*arg1
= (wxListItem
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 result
= (long) ((arg1
)->m_itemId
);
19023 resultobj
= SWIG_FromLong((long)result
);
19030 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxListItem
*arg1
= (wxListItem
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "m_col", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 arg2
= (int) SWIG_AsInt(obj1
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19045 if (arg1
) (arg1
)->m_col
= arg2
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxListItem
*arg1
= (wxListItem
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 result
= (int) ((arg1
)->m_col
);
19068 resultobj
= SWIG_FromInt((int)result
);
19075 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxListItem
*arg1
= (wxListItem
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 PyObject
* obj1
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "m_state", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 arg2
= (long) SWIG_AsLong(obj1
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19090 if (arg1
) (arg1
)->m_state
= arg2
;
19092 Py_INCREF(Py_None
); resultobj
= Py_None
;
19099 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxListItem
*arg1
= (wxListItem
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 result
= (long) ((arg1
)->m_state
);
19113 resultobj
= SWIG_FromLong((long)result
);
19120 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxListItem
*arg1
= (wxListItem
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self",(char *) "m_stateMask", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19133 arg2
= (long) SWIG_AsLong(obj1
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19135 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19137 Py_INCREF(Py_None
); resultobj
= Py_None
;
19144 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxListItem
*arg1
= (wxListItem
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 result
= (long) ((arg1
)->m_stateMask
);
19158 resultobj
= SWIG_FromLong((long)result
);
19165 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxListItem
*arg1
= (wxListItem
*) 0 ;
19168 wxString
*arg2
= (wxString
*) 0 ;
19169 bool temp2
= False
;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "m_text", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19180 arg2
= wxString_in_helper(obj1
);
19181 if (arg2
== NULL
) SWIG_fail
;
19184 if (arg1
) (arg1
)->m_text
= *arg2
;
19186 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxListItem
*arg1
= (wxListItem
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 result
= (wxString
*)& ((arg1
)->m_text
);
19217 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19219 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19228 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxListItem
*arg1
= (wxListItem
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "m_image", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= (int) SWIG_AsInt(obj1
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19243 if (arg1
) (arg1
)->m_image
= arg2
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxListItem
*arg1
= (wxListItem
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19264 result
= (int) ((arg1
)->m_image
);
19266 resultobj
= SWIG_FromInt((int)result
);
19273 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxListItem
*arg1
= (wxListItem
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self",(char *) "m_data", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19286 arg2
= (long) SWIG_AsLong(obj1
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19288 if (arg1
) (arg1
)->m_data
= arg2
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxListItem
*arg1
= (wxListItem
*) 0 ;
19301 PyObject
* obj0
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19309 result
= (long) ((arg1
)->m_data
);
19311 resultobj
= SWIG_FromLong((long)result
);
19318 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxListItem
*arg1
= (wxListItem
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "m_format", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 arg2
= (int) SWIG_AsInt(obj1
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19333 if (arg1
) (arg1
)->m_format
= arg2
;
19335 Py_INCREF(Py_None
); resultobj
= Py_None
;
19342 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxListItem
*arg1
= (wxListItem
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19354 result
= (int) ((arg1
)->m_format
);
19356 resultobj
= SWIG_FromInt((int)result
);
19363 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxListItem
*arg1
= (wxListItem
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self",(char *) "m_width", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 arg2
= (int) SWIG_AsInt(obj1
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19378 if (arg1
) (arg1
)->m_width
= arg2
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxListItem
*arg1
= (wxListItem
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 result
= (int) ((arg1
)->m_width
);
19401 resultobj
= SWIG_FromInt((int)result
);
19408 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19411 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19413 return Py_BuildValue((char *)"");
19415 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19418 int arg2
= (int) 0 ;
19419 wxListEvent
*result
;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "commandType",(char *) "id", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19432 arg2
= (int) SWIG_AsInt(obj1
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19449 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "m_code", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 arg2
= (int) SWIG_AsInt(obj1
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19464 if (arg1
) (arg1
)->m_code
= arg2
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 result
= (int) ((arg1
)->m_code
);
19487 resultobj
= SWIG_FromInt((int)result
);
19494 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "m_oldItemIndex", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 arg2
= (long) SWIG_AsLong(obj1
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19509 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19511 Py_INCREF(Py_None
); resultobj
= Py_None
;
19518 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19530 result
= (long) ((arg1
)->m_oldItemIndex
);
19532 resultobj
= SWIG_FromLong((long)result
);
19539 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self",(char *) "m_itemIndex", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 arg2
= (long) SWIG_AsLong(obj1
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19554 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19563 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "self", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 result
= (long) ((arg1
)->m_itemIndex
);
19577 resultobj
= SWIG_FromLong((long)result
);
19584 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self",(char *) "m_col", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19597 arg2
= (int) SWIG_AsInt(obj1
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19599 if (arg1
) (arg1
)->m_col
= arg2
;
19601 Py_INCREF(Py_None
); resultobj
= Py_None
;
19608 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19612 PyObject
* obj0
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 result
= (int) ((arg1
)->m_col
);
19622 resultobj
= SWIG_FromInt((int)result
);
19629 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19632 wxPoint
*arg2
= (wxPoint
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "m_pointDrag", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19674 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19677 wxListItem
*result
;
19678 PyObject
* obj0
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19686 result
= (wxListItem
*)& ((arg1
)->m_item
);
19689 resultobj
= wxPyMake_wxObject(result
);
19697 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (int)(arg1
)->GetKeyCode();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_FromInt((int)result
);
19723 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (long)(arg1
)->GetIndex();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_FromLong((long)result
);
19749 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (int)(arg1
)->GetColumn();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= SWIG_FromInt((int)result
);
19775 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (arg1
)->GetPoint();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 wxPoint
* resultptr
;
19796 resultptr
= new wxPoint((wxPoint
&) result
);
19797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19805 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxString
const &_result_ref
= (arg1
)->GetLabel();
19821 result
= (wxString
*) &_result_ref
;
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19831 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19840 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 wxString
const &_result_ref
= (arg1
)->GetText();
19856 result
= (wxString
*) &_result_ref
;
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19875 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (int)(arg1
)->GetImage();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_FromInt((int)result
);
19901 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (long)(arg1
)->GetData();
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_FromLong((long)result
);
19927 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19931 PyObject
* obj0
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= (long)(arg1
)->GetMask();
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= SWIG_FromLong((long)result
);
19953 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19956 wxListItem
*result
;
19957 PyObject
* obj0
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19969 result
= (wxListItem
*) &_result_ref
;
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19982 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 result
= (long)(arg1
)->GetCacheFrom();
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= SWIG_FromLong((long)result
);
20008 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
;
20010 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20012 PyObject
* obj0
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (long)(arg1
)->GetCacheTo();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= SWIG_FromLong((long)result
);
20034 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20062 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "editCancelled", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 arg2
= (bool) SWIG_AsBool(obj1
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 (arg1
)->SetEditCanceled(arg2
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 Py_INCREF(Py_None
); resultobj
= Py_None
;
20091 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20094 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20096 return Py_BuildValue((char *)"");
20098 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxWindow
*arg1
= (wxWindow
*) 0 ;
20101 int arg2
= (int) -1 ;
20102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20106 long arg5
= (long) wxLC_ICON
;
20107 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20108 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20109 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20110 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20111 wxPyListCtrl
*result
;
20114 bool temp7
= False
;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 PyObject
* obj2
= 0 ;
20118 PyObject
* obj3
= 0 ;
20119 PyObject
* obj4
= 0 ;
20120 PyObject
* obj5
= 0 ;
20121 PyObject
* obj6
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 arg2
= (int) SWIG_AsInt(obj1
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20146 arg5
= (long) SWIG_AsLong(obj4
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20153 if (arg6
== NULL
) {
20154 PyErr_SetString(PyExc_TypeError
,"null reference");
20160 arg7
= wxString_in_helper(obj6
);
20161 if (arg7
== NULL
) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20187 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxPyListCtrl
*result
;
20190 char *kwnames
[] = {
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20209 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20212 wxWindow
*arg2
= (wxWindow
*) 0 ;
20213 int arg3
= (int) -1 ;
20214 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20215 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20216 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20217 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20218 long arg6
= (long) wxLC_ICON
;
20219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20221 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20226 bool temp8
= False
;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 PyObject
* obj2
= 0 ;
20230 PyObject
* obj3
= 0 ;
20231 PyObject
* obj4
= 0 ;
20232 PyObject
* obj5
= 0 ;
20233 PyObject
* obj6
= 0 ;
20234 PyObject
* obj7
= 0 ;
20235 char *kwnames
[] = {
20236 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 arg3
= (int) SWIG_AsInt(obj2
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20261 arg6
= (long) SWIG_AsLong(obj5
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20265 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20268 if (arg7
== NULL
) {
20269 PyErr_SetString(PyExc_TypeError
,"null reference");
20275 arg8
= wxString_in_helper(obj7
);
20276 if (arg8
== NULL
) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20304 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20307 PyObject
*arg2
= (PyObject
*) 0 ;
20308 PyObject
*arg3
= (PyObject
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 PyObject
* obj2
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self",(char *) "self",(char *) "_class", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 Py_INCREF(Py_None
); resultobj
= Py_None
;
20335 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20338 wxColour
*arg2
= 0 ;
20341 PyObject
* obj0
= 0 ;
20342 PyObject
* obj1
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self",(char *) "col", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20370 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20373 wxColour
*arg2
= 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "col", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20405 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20409 wxListItem
*result
;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self",(char *) "col", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 arg2
= (int) SWIG_AsInt(obj1
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= wxPyMake_wxObject(result
);
20437 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20441 wxListItem
*arg3
= 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 PyObject
* obj2
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self",(char *) "col",(char *) "item", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 arg2
= (int) SWIG_AsInt(obj1
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20455 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20458 if (arg3
== NULL
) {
20459 PyErr_SetString(PyExc_TypeError
,"null reference");
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20478 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 PyObject
* obj1
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self",(char *) "col", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 arg2
= (int) SWIG_AsInt(obj1
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_FromInt((int)result
);
20508 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 PyObject
* obj2
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self",(char *) "col",(char *) "width", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 arg2
= (int) SWIG_AsInt(obj1
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20526 arg3
= (int) SWIG_AsInt(obj2
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20544 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20545 PyObject
*resultobj
;
20546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= SWIG_FromInt((int)result
);
20570 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 wxRect
* resultptr
;
20591 resultptr
= new wxRect((wxRect
&) result
);
20592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20600 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20604 int arg3
= (int) 0 ;
20605 wxListItem
*result
;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 PyObject
* obj2
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self",(char *) "itemId",(char *) "col", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 arg2
= (long) SWIG_AsLong(obj1
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 arg3
= (int) SWIG_AsInt(obj2
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= wxPyMake_wxObject(result
);
20638 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20641 wxListItem
*arg2
= 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self",(char *) "info", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20655 if (arg2
== NULL
) {
20656 PyErr_SetString(PyExc_TypeError
,"null reference");
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)(arg1
)->SetItem(*arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20675 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20680 wxString
*arg4
= 0 ;
20681 int arg5
= (int) -1 ;
20683 bool temp4
= False
;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 PyObject
* obj2
= 0 ;
20687 PyObject
* obj3
= 0 ;
20688 PyObject
* obj4
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 arg2
= (long) SWIG_AsLong(obj1
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20698 arg3
= (int) SWIG_AsInt(obj2
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 arg4
= wxString_in_helper(obj3
);
20702 if (arg4
== NULL
) SWIG_fail
;
20706 arg5
= (int) SWIG_AsInt(obj4
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_FromLong((long)result
);
20731 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20737 PyObject
* obj0
= 0 ;
20738 PyObject
* obj1
= 0 ;
20739 PyObject
* obj2
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20747 arg2
= (long) SWIG_AsLong(obj1
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20749 arg3
= (long) SWIG_AsLong(obj2
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= SWIG_FromInt((int)result
);
20765 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 PyObject
* obj2
= 0 ;
20775 PyObject
* obj3
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20783 arg2
= (long) SWIG_AsLong(obj1
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20785 arg3
= (long) SWIG_AsLong(obj2
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20787 arg4
= (long) SWIG_AsLong(obj3
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20805 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 PyObject
* obj2
= 0 ;
20815 PyObject
* obj3
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 arg2
= (long) SWIG_AsLong(obj1
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20825 arg3
= (int) SWIG_AsInt(obj2
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20827 arg4
= (int) SWIG_AsInt(obj3
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20845 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "item", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 arg2
= (long) SWIG_AsLong(obj1
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20881 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20885 wxString
*arg3
= 0 ;
20886 bool temp3
= False
;
20887 PyObject
* obj0
= 0 ;
20888 PyObject
* obj1
= 0 ;
20889 PyObject
* obj2
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "item",(char *) "str", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 arg2
= (long) SWIG_AsLong(obj1
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 arg3
= wxString_in_helper(obj2
);
20901 if (arg3
== NULL
) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 Py_INCREF(Py_None
); resultobj
= Py_None
;
20926 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
;
20928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 PyObject
* obj1
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self",(char *) "item", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 arg2
= (long) SWIG_AsLong(obj1
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_FromLong((long)result
);
20956 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 PyObject
* obj2
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self",(char *) "item",(char *) "data", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20972 arg2
= (long) SWIG_AsLong(obj1
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20974 arg3
= (long) SWIG_AsLong(obj2
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20992 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20997 PyObject
* obj0
= 0 ;
20998 PyObject
* obj1
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self",(char *) "item", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21006 arg2
= (long) SWIG_AsLong(obj1
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21016 wxPoint
* resultptr
;
21017 resultptr
= new wxPoint((wxPoint
&) result
);
21018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21026 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21030 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 PyObject
* obj2
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "item",(char *) "code", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 arg2
= (long) SWIG_AsLong(obj1
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 arg3
= (int) SWIG_AsInt(obj2
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21056 wxRect
* resultptr
;
21057 resultptr
= new wxRect((wxRect
&) result
);
21058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21066 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21070 wxPoint
*arg3
= 0 ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 PyObject
* obj2
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "item",(char *) "pos", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21083 arg2
= (long) SWIG_AsLong(obj1
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21105 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_FromInt((int)result
);
21131 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_FromInt((int)result
);
21157 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 wxSize
* resultptr
;
21178 resultptr
= new wxSize((wxSize
&) result
);
21179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21187 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21191 bool arg3
= (bool) False
;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 PyObject
* obj2
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 arg2
= (int) SWIG_AsInt(obj1
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 arg3
= (bool) SWIG_AsBool(obj2
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 (arg1
)->SetItemSpacing(arg2
,arg3
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 Py_INCREF(Py_None
); resultobj
= Py_None
;
21222 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_FromInt((int)result
);
21248 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21268 wxColour
* resultptr
;
21269 resultptr
= new wxColour((wxColour
&) result
);
21270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21278 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21281 wxColour
*arg2
= 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "col", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_FromLong((long)result
);
21336 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21340 bool arg3
= (bool) True
;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 PyObject
* obj2
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self",(char *) "style",(char *) "add", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 arg2
= (long) SWIG_AsLong(obj1
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 arg3
= (bool) SWIG_AsBool(obj2
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 (arg1
)->SetSingleStyle(arg2
,arg3
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 Py_INCREF(Py_None
); resultobj
= Py_None
;
21371 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "style", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 arg2
= (long) SWIG_AsLong(obj1
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 (arg1
)->SetWindowStyleFlag(arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 Py_INCREF(Py_None
); resultobj
= Py_None
;
21400 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21404 int arg3
= (int) wxLIST_NEXT_ALL
;
21405 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 PyObject
* obj2
= 0 ;
21410 PyObject
* obj3
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 arg2
= (long) SWIG_AsLong(obj1
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 arg3
= (int) SWIG_AsInt(obj2
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 arg4
= (int) SWIG_AsInt(obj3
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_FromLong((long)result
);
21442 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21446 wxImageList
*result
;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self",(char *) "which", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 arg2
= (int) SWIG_AsInt(obj1
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= wxPyMake_wxObject(result
);
21474 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21477 wxImageList
*arg2
= (wxImageList
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 PyObject
* obj2
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "imageList",(char *) "which", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 arg3
= (int) SWIG_AsInt(obj2
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->SetImageList(arg2
,arg3
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21510 wxImageList
*arg2
= (wxImageList
*) 0 ;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 PyObject
* obj2
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "imageList",(char *) "which", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21523 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21524 arg3
= (int) SWIG_AsInt(obj2
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 (arg1
)->AssignImageList(arg2
,arg3
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 Py_INCREF(Py_None
); resultobj
= Py_None
;
21540 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21568 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21572 PyObject
* obj0
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21596 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self",(char *) "item", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 arg2
= (long) SWIG_AsLong(obj1
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 (arg1
)->RefreshItem(arg2
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 Py_INCREF(Py_None
); resultobj
= Py_None
;
21625 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 arg2
= (long) SWIG_AsLong(obj1
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21642 arg3
= (long) SWIG_AsLong(obj2
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->RefreshItems(arg2
,arg3
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21661 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "flag", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 arg2
= (int) SWIG_AsInt(obj1
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (bool)(arg1
)->Arrange(arg2
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21692 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self",(char *) "item", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21706 arg2
= (long) SWIG_AsLong(obj1
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (bool)(arg1
)->DeleteItem(arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21724 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (bool)(arg1
)->DeleteAllItems();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21752 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self",(char *) "col", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21766 arg2
= (int) SWIG_AsInt(obj1
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (bool)(arg1
)->DeleteAllColumns();
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21812 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->ClearAll();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 Py_INCREF(Py_None
); resultobj
= Py_None
;
21837 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "item", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21850 arg2
= (long) SWIG_AsLong(obj1
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 (arg1
)->EditLabel(arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 Py_INCREF(Py_None
); resultobj
= Py_None
;
21866 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "item", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 arg2
= (long) SWIG_AsLong(obj1
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21902 wxString
*arg3
= 0 ;
21903 bool arg4
= (bool) False
;
21905 bool temp3
= False
;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 PyObject
* obj2
= 0 ;
21909 PyObject
* obj3
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 arg2
= (long) SWIG_AsLong(obj1
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 arg3
= wxString_in_helper(obj2
);
21921 if (arg3
== NULL
) SWIG_fail
;
21925 arg4
= (bool) SWIG_AsBool(obj3
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_FromLong((long)result
);
21950 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 PyObject
* obj2
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "start",(char *) "data", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 arg2
= (long) SWIG_AsLong(obj1
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21968 arg3
= (long) SWIG_AsLong(obj2
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_FromLong((long)result
);
21984 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21988 wxPoint
*arg3
= 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 PyObject
* obj3
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22003 arg2
= (long) SWIG_AsLong(obj1
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22009 arg4
= (int) SWIG_AsInt(obj3
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= SWIG_FromLong((long)result
);
22025 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22028 wxPoint
*arg2
= 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "point", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_FromLong((long)result
);
22056 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22057 resultobj
= t_output_helper(resultobj
,o
);
22065 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22068 wxListItem
*arg2
= 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "info", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22082 if (arg2
== NULL
) {
22083 PyErr_SetString(PyExc_TypeError
,"null reference");
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (long)(arg1
)->InsertItem(*arg2
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_FromLong((long)result
);
22100 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22104 wxString
*arg3
= 0 ;
22106 bool temp3
= False
;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "index",(char *) "label", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 arg2
= (long) SWIG_AsLong(obj1
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 arg3
= wxString_in_helper(obj2
);
22121 if (arg3
== NULL
) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_FromLong((long)result
);
22146 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 PyObject
* obj2
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 arg2
= (long) SWIG_AsLong(obj1
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22164 arg3
= (int) SWIG_AsInt(obj2
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_FromLong((long)result
);
22180 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22184 wxString
*arg3
= 0 ;
22187 bool temp3
= False
;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 PyObject
* obj2
= 0 ;
22191 PyObject
* obj3
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 arg2
= (long) SWIG_AsLong(obj1
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 arg3
= wxString_in_helper(obj2
);
22203 if (arg3
== NULL
) SWIG_fail
;
22206 arg4
= (int) SWIG_AsInt(obj3
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_FromLong((long)result
);
22230 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22234 wxListItem
*arg3
= 0 ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 PyObject
* obj2
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "col",(char *) "info", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22246 arg2
= (long) SWIG_AsLong(obj1
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22251 if (arg3
== NULL
) {
22252 PyErr_SetString(PyExc_TypeError
,"null reference");
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_FromLong((long)result
);
22269 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22273 wxString
*arg3
= 0 ;
22274 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22275 int arg5
= (int) -1 ;
22277 bool temp3
= False
;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 PyObject
* obj2
= 0 ;
22281 PyObject
* obj3
= 0 ;
22282 PyObject
* obj4
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22290 arg2
= (long) SWIG_AsLong(obj1
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 arg3
= wxString_in_helper(obj2
);
22294 if (arg3
== NULL
) SWIG_fail
;
22298 arg4
= (int) SWIG_AsInt(obj3
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22302 arg5
= (int) SWIG_AsInt(obj4
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_FromLong((long)result
);
22327 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "count", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 arg2
= (long) SWIG_AsLong(obj1
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetItemCount(arg2
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 PyObject
* obj2
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "dx",(char *) "dy", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 arg2
= (int) SWIG_AsInt(obj1
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22374 arg3
= (int) SWIG_AsInt(obj2
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22392 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 wxColour
*arg3
= 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self",(char *) "item",(char *) "col", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 arg2
= (long) SWIG_AsLong(obj1
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "item", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 arg2
= (long) SWIG_AsLong(obj1
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22452 wxColour
* resultptr
;
22453 resultptr
= new wxColour((wxColour
&) result
);
22454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22462 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22466 wxColour
*arg3
= 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 PyObject
* obj2
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self",(char *) "item",(char *) "col", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 arg2
= (long) SWIG_AsLong(obj1
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 Py_INCREF(Py_None
); resultobj
= Py_None
;
22498 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self",(char *) "item", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 arg2
= (long) SWIG_AsLong(obj1
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 wxColour
* resultptr
;
22523 resultptr
= new wxColour((wxColour
&) result
);
22524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22532 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22535 PyObject
*arg2
= (PyObject
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "func", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22563 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22567 PyObject
* obj0
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "self", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= wxPyMake_wxObject(result
);
22591 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22594 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22596 return Py_BuildValue((char *)"");
22598 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxWindow
*arg1
= (wxWindow
*) 0 ;
22601 int arg2
= (int) -1 ;
22602 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22603 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22604 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22605 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22606 long arg5
= (long) wxLC_REPORT
;
22607 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22608 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22609 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22610 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22611 wxListView
*result
;
22614 bool temp7
= False
;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 PyObject
* obj2
= 0 ;
22618 PyObject
* obj3
= 0 ;
22619 PyObject
* obj4
= 0 ;
22620 PyObject
* obj5
= 0 ;
22621 PyObject
* obj6
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22630 arg2
= (int) SWIG_AsInt(obj1
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22636 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22642 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22646 arg5
= (long) SWIG_AsLong(obj4
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22653 if (arg6
== NULL
) {
22654 PyErr_SetString(PyExc_TypeError
,"null reference");
22660 arg7
= wxString_in_helper(obj6
);
22661 if (arg7
== NULL
) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22687 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxListView
*result
;
22690 char *kwnames
[] = {
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (wxListView
*)new wxListView();
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22709 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxListView
*arg1
= (wxListView
*) 0 ;
22712 wxWindow
*arg2
= (wxWindow
*) 0 ;
22713 int arg3
= (int) -1 ;
22714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22718 long arg6
= (long) wxLC_REPORT
;
22719 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22720 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22721 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22722 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22726 bool temp8
= False
;
22727 PyObject
* obj0
= 0 ;
22728 PyObject
* obj1
= 0 ;
22729 PyObject
* obj2
= 0 ;
22730 PyObject
* obj3
= 0 ;
22731 PyObject
* obj4
= 0 ;
22732 PyObject
* obj5
= 0 ;
22733 PyObject
* obj6
= 0 ;
22734 PyObject
* obj7
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 arg3
= (int) SWIG_AsInt(obj2
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22761 arg6
= (long) SWIG_AsLong(obj5
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22765 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22768 if (arg7
== NULL
) {
22769 PyErr_SetString(PyExc_TypeError
,"null reference");
22775 arg8
= wxString_in_helper(obj7
);
22776 if (arg8
== NULL
) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22804 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
;
22806 wxListView
*arg1
= (wxListView
*) 0 ;
22808 bool arg3
= (bool) True
;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 PyObject
* obj2
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "n",(char *) "on", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 arg2
= (long) SWIG_AsLong(obj1
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 arg3
= (bool) SWIG_AsBool(obj2
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 (arg1
)->Select(arg2
,arg3
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 Py_INCREF(Py_None
); resultobj
= Py_None
;
22839 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxListView
*arg1
= (wxListView
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "index", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 arg2
= (long) SWIG_AsLong(obj1
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 (arg1
)->Focus(arg2
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 Py_INCREF(Py_None
); resultobj
= Py_None
;
22868 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxListView
*arg1
= (wxListView
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_FromLong((long)result
);
22894 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxListView
*arg1
= (wxListView
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "item", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 arg2
= (long) SWIG_AsLong(obj1
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_FromLong((long)result
);
22924 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxListView
*arg1
= (wxListView
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_FromLong((long)result
);
22950 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxListView
*arg1
= (wxListView
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self",(char *) "index", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 arg2
= (long) SWIG_AsLong(obj1
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= (bool)(arg1
)->IsSelected(arg2
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22982 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxListView
*arg1
= (wxListView
*) 0 ;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 PyObject
* obj2
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "col",(char *) "image", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 arg2
= (int) SWIG_AsInt(obj1
);
22998 if (PyErr_Occurred()) SWIG_fail
;
22999 arg3
= (int) SWIG_AsInt(obj2
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 (arg1
)->SetColumnImage(arg2
,arg3
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 Py_INCREF(Py_None
); resultobj
= Py_None
;
23015 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxListView
*arg1
= (wxListView
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self",(char *) "col", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23028 arg2
= (int) SWIG_AsInt(obj1
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 (arg1
)->ClearColumnImage(arg2
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 Py_INCREF(Py_None
); resultobj
= Py_None
;
23044 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23047 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23049 return Py_BuildValue((char *)"");
23051 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23052 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23057 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23062 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23064 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23071 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxTreeItemId
*result
;
23074 char *kwnames
[] = {
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (wxTreeItemId
*)new wxTreeItemId();
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23093 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23146 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23149 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 PyObject
* obj1
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self",(char *) "other", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23178 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23181 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self",(char *) "other", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23210 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23213 void *arg2
= (void *) 0 ;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self",(char *) "m_pItem", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23223 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23224 if (arg1
) (arg1
)->m_pItem
= arg2
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 result
= (void *) ((arg1
)->m_pItem
);
23247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23254 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23257 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23259 return Py_BuildValue((char *)"");
23261 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 PyObject
*arg1
= (PyObject
*) NULL
;
23264 wxPyTreeItemData
*result
;
23265 PyObject
* obj0
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "obj", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23288 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (PyObject
*)(arg1
)->GetData();
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
;
23314 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23317 PyObject
*arg2
= (PyObject
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "obj", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 (arg1
)->SetData(arg2
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 Py_INCREF(Py_None
); resultobj
= Py_None
;
23342 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23345 wxTreeItemId
*result
;
23346 PyObject
* obj0
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23358 result
= (wxTreeItemId
*) &_result_ref
;
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23371 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23374 wxTreeItemId
*arg2
= 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "id", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23387 if (arg2
== NULL
) {
23388 PyErr_SetString(PyExc_TypeError
,"null reference");
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 Py_INCREF(Py_None
); resultobj
= Py_None
;
23405 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxPyTreeItemData_Destroy(arg1
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 Py_INCREF(Py_None
); resultobj
= Py_None
;
23430 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23433 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23435 return Py_BuildValue((char *)"");
23437 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23440 int arg2
= (int) 0 ;
23441 wxTreeEvent
*result
;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "commandType",(char *) "id", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 arg2
= (int) SWIG_AsInt(obj1
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23471 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23474 wxTreeItemId result
;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 wxTreeItemId
* resultptr
;
23492 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23501 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23504 wxTreeItemId
*arg2
= 0 ;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 char *kwnames
[] = {
23508 (char *) "self",(char *) "item", NULL
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23517 if (arg2
== NULL
) {
23518 PyErr_SetString(PyExc_TypeError
,"null reference");
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 Py_INCREF(Py_None
); resultobj
= Py_None
;
23535 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23538 wxTreeItemId result
;
23539 PyObject
* obj0
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23555 wxTreeItemId
* resultptr
;
23556 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23565 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23568 wxTreeItemId
*arg2
= 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "item", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23581 if (arg2
== NULL
) {
23582 PyErr_SetString(PyExc_TypeError
,"null reference");
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 Py_INCREF(Py_None
); resultobj
= Py_None
;
23599 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 wxPoint
* resultptr
;
23620 resultptr
= new wxPoint((wxPoint
&) result
);
23621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23629 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23632 wxPoint
*arg2
= 0 ;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self",(char *) "pt", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 Py_INCREF(Py_None
); resultobj
= Py_None
;
23661 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23664 wxKeyEvent
*result
;
23665 PyObject
* obj0
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23677 result
= (wxKeyEvent
*) &_result_ref
;
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23690 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_FromInt((int)result
);
23716 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23719 wxKeyEvent
*arg2
= 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "evt", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23732 if (arg2
== NULL
) {
23733 PyErr_SetString(PyExc_TypeError
,"null reference");
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23766 result
= (wxString
*) &_result_ref
;
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23776 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23785 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23788 wxString
*arg2
= 0 ;
23789 bool temp2
= False
;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self",(char *) "label", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 arg2
= wxString_in_helper(obj1
);
23801 if (arg2
== NULL
) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->SetLabel((wxString
const &)*arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 Py_INCREF(Py_None
); resultobj
= Py_None
;
23826 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23830 PyObject
* obj0
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "self", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23854 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 PyObject
* obj1
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "self",(char *) "editCancelled", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 arg2
= (bool) SWIG_AsBool(obj1
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 (arg1
)->SetEditCanceled(arg2
);
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 Py_INCREF(Py_None
); resultobj
= Py_None
;
23883 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23886 wxString
*arg2
= 0 ;
23887 bool temp2
= False
;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self",(char *) "toolTip", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23898 arg2
= wxString_in_helper(obj1
);
23899 if (arg2
== NULL
) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 Py_INCREF(Py_None
); resultobj
= Py_None
;
23924 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23927 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23929 return Py_BuildValue((char *)"");
23931 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxWindow
*arg1
= (wxWindow
*) 0 ;
23934 int arg2
= (int) -1 ;
23935 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23936 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23937 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23938 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23939 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23940 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23941 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23942 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23943 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23944 wxPyTreeCtrl
*result
;
23947 bool temp7
= False
;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23950 PyObject
* obj2
= 0 ;
23951 PyObject
* obj3
= 0 ;
23952 PyObject
* obj4
= 0 ;
23953 PyObject
* obj5
= 0 ;
23954 PyObject
* obj6
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23963 arg2
= (int) SWIG_AsInt(obj1
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23975 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23979 arg5
= (long) SWIG_AsLong(obj4
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23983 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23986 if (arg6
== NULL
) {
23987 PyErr_SetString(PyExc_TypeError
,"null reference");
23993 arg7
= wxString_in_helper(obj6
);
23994 if (arg7
== NULL
) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= wxPyMake_wxObject(result
);
24022 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPyTreeCtrl
*result
;
24025 char *kwnames
[] = {
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= wxPyMake_wxObject(result
);
24046 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24049 wxWindow
*arg2
= (wxWindow
*) 0 ;
24050 int arg3
= (int) -1 ;
24051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24055 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24056 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24057 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24058 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24059 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24063 bool temp8
= False
;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 PyObject
* obj2
= 0 ;
24067 PyObject
* obj3
= 0 ;
24068 PyObject
* obj4
= 0 ;
24069 PyObject
* obj5
= 0 ;
24070 PyObject
* obj6
= 0 ;
24071 PyObject
* obj7
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 arg3
= (int) SWIG_AsInt(obj2
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24098 arg6
= (long) SWIG_AsLong(obj5
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24102 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24105 if (arg7
== NULL
) {
24106 PyErr_SetString(PyExc_TypeError
,"null reference");
24112 arg8
= wxString_in_helper(obj7
);
24113 if (arg8
== NULL
) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24141 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24144 PyObject
*arg2
= (PyObject
*) 0 ;
24145 PyObject
*arg3
= (PyObject
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 PyObject
* obj2
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self",(char *) "self",(char *) "_class", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 Py_INCREF(Py_None
); resultobj
= Py_None
;
24172 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24198 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24201 unsigned int result
;
24202 PyObject
* obj0
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24224 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24227 unsigned int arg2
;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self",(char *) "indent", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24237 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 (arg1
)->SetIndent(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 Py_INCREF(Py_None
); resultobj
= Py_None
;
24253 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24256 unsigned int result
;
24257 PyObject
* obj0
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24279 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24282 unsigned int arg2
;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self",(char *) "spacing", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 (arg1
)->SetSpacing(arg2
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 Py_INCREF(Py_None
); resultobj
= Py_None
;
24308 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24311 wxImageList
*result
;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= wxPyMake_wxObject(result
);
24336 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24339 wxImageList
*result
;
24340 PyObject
* obj0
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= wxPyMake_wxObject(result
);
24364 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24367 wxImageList
*arg2
= (wxImageList
*) 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "imageList", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 (arg1
)->SetImageList(arg2
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 Py_INCREF(Py_None
); resultobj
= Py_None
;
24393 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24396 wxImageList
*arg2
= (wxImageList
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 char *kwnames
[] = {
24400 (char *) "self",(char *) "imageList", NULL
24403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 (arg1
)->SetStateImageList(arg2
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 Py_INCREF(Py_None
); resultobj
= Py_None
;
24422 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24425 wxImageList
*arg2
= (wxImageList
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "imageList", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24436 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->AssignImageList(arg2
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 Py_INCREF(Py_None
); resultobj
= Py_None
;
24451 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24454 wxImageList
*arg2
= (wxImageList
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "imageList", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24465 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 (arg1
)->AssignStateImageList(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 Py_INCREF(Py_None
); resultobj
= Py_None
;
24480 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24483 wxTreeItemId
*arg2
= 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "item", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24497 if (arg2
== NULL
) {
24498 PyErr_SetString(PyExc_TypeError
,"null reference");
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24521 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24524 wxTreeItemId
*arg2
= 0 ;
24525 int arg3
= (int) wxTreeItemIcon_Normal
;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 PyObject
* obj2
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "item",(char *) "which", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24540 if (arg2
== NULL
) {
24541 PyErr_SetString(PyExc_TypeError
,"null reference");
24545 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_FromInt((int)result
);
24562 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24565 wxTreeItemId
*arg2
= 0 ;
24566 wxPyTreeItemData
*result
;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "item", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24579 if (arg2
== NULL
) {
24580 PyErr_SetString(PyExc_TypeError
,"null reference");
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24597 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24600 wxTreeItemId
*arg2
= 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "item", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24614 if (arg2
== NULL
) {
24615 PyErr_SetString(PyExc_TypeError
,"null reference");
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= result
;
24632 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24635 wxTreeItemId
*arg2
= 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "item", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24649 if (arg2
== NULL
) {
24650 PyErr_SetString(PyExc_TypeError
,"null reference");
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 wxColour
* resultptr
;
24662 resultptr
= new wxColour((wxColour
&) result
);
24663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24671 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24674 wxTreeItemId
*arg2
= 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "item", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24688 if (arg2
== NULL
) {
24689 PyErr_SetString(PyExc_TypeError
,"null reference");
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 wxColour
* resultptr
;
24701 resultptr
= new wxColour((wxColour
&) result
);
24702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24710 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24713 wxTreeItemId
*arg2
= 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "item", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24727 if (arg2
== NULL
) {
24728 PyErr_SetString(PyExc_TypeError
,"null reference");
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 wxFont
* resultptr
;
24740 resultptr
= new wxFont((wxFont
&) result
);
24741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24749 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24752 wxTreeItemId
*arg2
= 0 ;
24753 wxString
*arg3
= 0 ;
24754 bool temp3
= False
;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 PyObject
* obj2
= 0 ;
24758 char *kwnames
[] = {
24759 (char *) "self",(char *) "item",(char *) "text", NULL
24762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24768 if (arg2
== NULL
) {
24769 PyErr_SetString(PyExc_TypeError
,"null reference");
24773 arg3
= wxString_in_helper(obj2
);
24774 if (arg3
== NULL
) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 Py_INCREF(Py_None
); resultobj
= Py_None
;
24799 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24802 wxTreeItemId
*arg2
= 0 ;
24804 int arg4
= (int) wxTreeItemIcon_Normal
;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 PyObject
* obj2
= 0 ;
24808 PyObject
* obj3
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24819 if (arg2
== NULL
) {
24820 PyErr_SetString(PyExc_TypeError
,"null reference");
24823 arg3
= (int) SWIG_AsInt(obj2
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 Py_INCREF(Py_None
); resultobj
= Py_None
;
24843 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24846 wxTreeItemId
*arg2
= 0 ;
24847 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 PyObject
* obj2
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "item",(char *) "data", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24861 if (arg2
== NULL
) {
24862 PyErr_SetString(PyExc_TypeError
,"null reference");
24865 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24884 wxTreeItemId
*arg2
= 0 ;
24885 PyObject
*arg3
= (PyObject
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "item",(char *) "obj", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24899 if (arg2
== NULL
) {
24900 PyErr_SetString(PyExc_TypeError
,"null reference");
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24921 wxTreeItemId
*arg2
= 0 ;
24922 bool arg3
= (bool) True
;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 PyObject
* obj2
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self",(char *) "item",(char *) "has", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24936 if (arg2
== NULL
) {
24937 PyErr_SetString(PyExc_TypeError
,"null reference");
24941 arg3
= (bool) SWIG_AsBool(obj2
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 Py_INCREF(Py_None
); resultobj
= Py_None
;
24958 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24961 wxTreeItemId
*arg2
= 0 ;
24962 bool arg3
= (bool) True
;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 PyObject
* obj2
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self",(char *) "item",(char *) "bold", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24976 if (arg2
== NULL
) {
24977 PyErr_SetString(PyExc_TypeError
,"null reference");
24981 arg3
= (bool) SWIG_AsBool(obj2
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 Py_INCREF(Py_None
); resultobj
= Py_None
;
24998 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25001 wxTreeItemId
*arg2
= 0 ;
25002 wxColour
*arg3
= 0 ;
25004 PyObject
* obj0
= 0 ;
25005 PyObject
* obj1
= 0 ;
25006 PyObject
* obj2
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "item",(char *) "col", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25017 if (arg2
== NULL
) {
25018 PyErr_SetString(PyExc_TypeError
,"null reference");
25023 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 Py_INCREF(Py_None
); resultobj
= Py_None
;
25039 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25042 wxTreeItemId
*arg2
= 0 ;
25043 wxColour
*arg3
= 0 ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 PyObject
* obj2
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self",(char *) "item",(char *) "col", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25058 if (arg2
== NULL
) {
25059 PyErr_SetString(PyExc_TypeError
,"null reference");
25064 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 Py_INCREF(Py_None
); resultobj
= Py_None
;
25080 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25083 wxTreeItemId
*arg2
= 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 PyObject
* obj2
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "item",(char *) "font", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25098 if (arg2
== NULL
) {
25099 PyErr_SetString(PyExc_TypeError
,"null reference");
25102 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25105 if (arg3
== NULL
) {
25106 PyErr_SetString(PyExc_TypeError
,"null reference");
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25126 wxTreeItemId
*arg2
= 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self",(char *) "item", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25140 if (arg2
== NULL
) {
25141 PyErr_SetString(PyExc_TypeError
,"null reference");
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25160 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25163 wxTreeItemId
*arg2
= 0 ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "item", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25177 if (arg2
== NULL
) {
25178 PyErr_SetString(PyExc_TypeError
,"null reference");
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25197 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25200 wxTreeItemId
*arg2
= 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "item", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25214 if (arg2
== NULL
) {
25215 PyErr_SetString(PyExc_TypeError
,"null reference");
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25237 wxTreeItemId
*arg2
= 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "item", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25251 if (arg2
== NULL
) {
25252 PyErr_SetString(PyExc_TypeError
,"null reference");
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25271 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25274 wxTreeItemId
*arg2
= 0 ;
25276 PyObject
* obj0
= 0 ;
25277 PyObject
* obj1
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self",(char *) "item", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25288 if (arg2
== NULL
) {
25289 PyErr_SetString(PyExc_TypeError
,"null reference");
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25308 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25311 wxTreeItemId
*arg2
= 0 ;
25312 bool arg3
= (bool) True
;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 PyObject
* obj2
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self",(char *) "item",(char *) "recursively", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25327 if (arg2
== NULL
) {
25328 PyErr_SetString(PyExc_TypeError
,"null reference");
25332 arg3
= (bool) SWIG_AsBool(obj2
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25349 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25352 wxTreeItemId result
;
25353 PyObject
* obj0
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25369 wxTreeItemId
* resultptr
;
25370 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25379 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25382 wxTreeItemId result
;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25399 wxTreeItemId
* resultptr
;
25400 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25409 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= result
;
25435 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25438 wxTreeItemId
*arg2
= 0 ;
25439 wxTreeItemId result
;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "item", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25452 if (arg2
== NULL
) {
25453 PyErr_SetString(PyExc_TypeError
,"null reference");
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25464 wxTreeItemId
* resultptr
;
25465 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25474 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25477 wxTreeItemId
*arg2
= 0 ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self",(char *) "item", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25491 if (arg2
== NULL
) {
25492 PyErr_SetString(PyExc_TypeError
,"null reference");
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= result
;
25509 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
;
25511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25512 wxTreeItemId
*arg2
= 0 ;
25513 void *arg3
= (void *) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 PyObject
* obj2
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "item",(char *) "cookie", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25528 if (arg2
== NULL
) {
25529 PyErr_SetString(PyExc_TypeError
,"null reference");
25532 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= result
;
25547 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25550 wxTreeItemId
*arg2
= 0 ;
25551 wxTreeItemId result
;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "item", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25564 if (arg2
== NULL
) {
25565 PyErr_SetString(PyExc_TypeError
,"null reference");
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 wxTreeItemId
* resultptr
;
25577 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25586 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25589 wxTreeItemId
*arg2
= 0 ;
25590 wxTreeItemId result
;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "item", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25603 if (arg2
== NULL
) {
25604 PyErr_SetString(PyExc_TypeError
,"null reference");
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25615 wxTreeItemId
* resultptr
;
25616 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25625 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25628 wxTreeItemId
*arg2
= 0 ;
25629 wxTreeItemId result
;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "item", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25642 if (arg2
== NULL
) {
25643 PyErr_SetString(PyExc_TypeError
,"null reference");
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 wxTreeItemId
* resultptr
;
25655 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25664 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25667 wxTreeItemId result
;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25684 wxTreeItemId
* resultptr
;
25685 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25694 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25697 wxTreeItemId
*arg2
= 0 ;
25698 wxTreeItemId result
;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "item", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25711 if (arg2
== NULL
) {
25712 PyErr_SetString(PyExc_TypeError
,"null reference");
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25723 wxTreeItemId
* resultptr
;
25724 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25733 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25736 wxTreeItemId
*arg2
= 0 ;
25737 wxTreeItemId result
;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "item", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25750 if (arg2
== NULL
) {
25751 PyErr_SetString(PyExc_TypeError
,"null reference");
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25762 wxTreeItemId
* resultptr
;
25763 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25772 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25775 wxString
*arg2
= 0 ;
25776 int arg3
= (int) -1 ;
25777 int arg4
= (int) -1 ;
25778 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25779 wxTreeItemId result
;
25780 bool temp2
= False
;
25781 PyObject
* obj0
= 0 ;
25782 PyObject
* obj1
= 0 ;
25783 PyObject
* obj2
= 0 ;
25784 PyObject
* obj3
= 0 ;
25785 PyObject
* obj4
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25794 arg2
= wxString_in_helper(obj1
);
25795 if (arg2
== NULL
) SWIG_fail
;
25799 arg3
= (int) SWIG_AsInt(obj2
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25803 arg4
= (int) SWIG_AsInt(obj3
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 wxTreeItemId
* resultptr
;
25819 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25836 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25839 wxTreeItemId
*arg2
= 0 ;
25840 wxString
*arg3
= 0 ;
25841 int arg4
= (int) -1 ;
25842 int arg5
= (int) -1 ;
25843 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25844 wxTreeItemId result
;
25845 bool temp3
= False
;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 PyObject
* obj2
= 0 ;
25849 PyObject
* obj3
= 0 ;
25850 PyObject
* obj4
= 0 ;
25851 PyObject
* obj5
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25862 if (arg2
== NULL
) {
25863 PyErr_SetString(PyExc_TypeError
,"null reference");
25867 arg3
= wxString_in_helper(obj2
);
25868 if (arg3
== NULL
) SWIG_fail
;
25872 arg4
= (int) SWIG_AsInt(obj3
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 arg5
= (int) SWIG_AsInt(obj4
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25880 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 wxTreeItemId
* resultptr
;
25892 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25909 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25912 wxTreeItemId
*arg2
= 0 ;
25913 wxTreeItemId
*arg3
= 0 ;
25914 wxString
*arg4
= 0 ;
25915 int arg5
= (int) -1 ;
25916 int arg6
= (int) -1 ;
25917 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25918 wxTreeItemId result
;
25919 bool temp4
= False
;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 PyObject
* obj2
= 0 ;
25923 PyObject
* obj3
= 0 ;
25924 PyObject
* obj4
= 0 ;
25925 PyObject
* obj5
= 0 ;
25926 PyObject
* obj6
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25937 if (arg2
== NULL
) {
25938 PyErr_SetString(PyExc_TypeError
,"null reference");
25941 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25944 if (arg3
== NULL
) {
25945 PyErr_SetString(PyExc_TypeError
,"null reference");
25949 arg4
= wxString_in_helper(obj3
);
25950 if (arg4
== NULL
) SWIG_fail
;
25954 arg5
= (int) SWIG_AsInt(obj4
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 arg6
= (int) SWIG_AsInt(obj5
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25962 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25973 wxTreeItemId
* resultptr
;
25974 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25991 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25994 wxTreeItemId
*arg2
= 0 ;
25996 wxString
*arg4
= 0 ;
25997 int arg5
= (int) -1 ;
25998 int arg6
= (int) -1 ;
25999 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26000 wxTreeItemId result
;
26001 bool temp4
= False
;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 PyObject
* obj3
= 0 ;
26006 PyObject
* obj4
= 0 ;
26007 PyObject
* obj5
= 0 ;
26008 PyObject
* obj6
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26019 if (arg2
== NULL
) {
26020 PyErr_SetString(PyExc_TypeError
,"null reference");
26023 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 arg4
= wxString_in_helper(obj3
);
26027 if (arg4
== NULL
) SWIG_fail
;
26031 arg5
= (int) SWIG_AsInt(obj4
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26035 arg6
= (int) SWIG_AsInt(obj5
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 wxTreeItemId
* resultptr
;
26051 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26068 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26071 wxTreeItemId
*arg2
= 0 ;
26072 wxString
*arg3
= 0 ;
26073 int arg4
= (int) -1 ;
26074 int arg5
= (int) -1 ;
26075 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26076 wxTreeItemId result
;
26077 bool temp3
= False
;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 PyObject
* obj3
= 0 ;
26082 PyObject
* obj4
= 0 ;
26083 PyObject
* obj5
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26094 if (arg2
== NULL
) {
26095 PyErr_SetString(PyExc_TypeError
,"null reference");
26099 arg3
= wxString_in_helper(obj2
);
26100 if (arg3
== NULL
) SWIG_fail
;
26104 arg4
= (int) SWIG_AsInt(obj3
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 arg5
= (int) SWIG_AsInt(obj4
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26112 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 wxTreeItemId
* resultptr
;
26124 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26141 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26144 wxTreeItemId
*arg2
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "item", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26157 if (arg2
== NULL
) {
26158 PyErr_SetString(PyExc_TypeError
,"null reference");
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 Py_INCREF(Py_None
); resultobj
= Py_None
;
26175 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26178 wxTreeItemId
*arg2
= 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self",(char *) "item", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26191 if (arg2
== NULL
) {
26192 PyErr_SetString(PyExc_TypeError
,"null reference");
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 char *kwnames
[] = {
26214 (char *) "self", NULL
26217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 (arg1
)->DeleteAllItems();
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 Py_INCREF(Py_None
); resultobj
= Py_None
;
26234 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26237 wxTreeItemId
*arg2
= 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self",(char *) "item", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26250 if (arg2
== NULL
) {
26251 PyErr_SetString(PyExc_TypeError
,"null reference");
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 Py_INCREF(Py_None
); resultobj
= Py_None
;
26268 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26271 wxTreeItemId
*arg2
= 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "item", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26284 if (arg2
== NULL
) {
26285 PyErr_SetString(PyExc_TypeError
,"null reference");
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 Py_INCREF(Py_None
); resultobj
= Py_None
;
26302 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26305 wxTreeItemId
*arg2
= 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "item", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26318 if (arg2
== NULL
) {
26319 PyErr_SetString(PyExc_TypeError
,"null reference");
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26339 wxTreeItemId
*arg2
= 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "item", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26352 if (arg2
== NULL
) {
26353 PyErr_SetString(PyExc_TypeError
,"null reference");
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 (arg1
)->Unselect();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 Py_INCREF(Py_None
); resultobj
= Py_None
;
26395 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26398 wxTreeItemId
*arg2
= 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self",(char *) "item", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26411 if (arg2
== NULL
) {
26412 PyErr_SetString(PyExc_TypeError
,"null reference");
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 Py_INCREF(Py_None
); resultobj
= Py_None
;
26429 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26430 PyObject
*resultobj
;
26431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26432 PyObject
* obj0
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 (arg1
)->UnselectAll();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 Py_INCREF(Py_None
); resultobj
= Py_None
;
26454 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26457 wxTreeItemId
*arg2
= 0 ;
26458 bool arg3
= (bool) True
;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 PyObject
* obj2
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "item",(char *) "select", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26472 if (arg2
== NULL
) {
26473 PyErr_SetString(PyExc_TypeError
,"null reference");
26477 arg3
= (bool) SWIG_AsBool(obj2
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 Py_INCREF(Py_None
); resultobj
= Py_None
;
26494 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26497 wxTreeItemId
*arg2
= 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "item", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26510 if (arg2
== NULL
) {
26511 PyErr_SetString(PyExc_TypeError
,"null reference");
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 Py_INCREF(Py_None
); resultobj
= Py_None
;
26528 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26531 wxTreeItemId
*arg2
= 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self",(char *) "item", NULL
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26544 if (arg2
== NULL
) {
26545 PyErr_SetString(PyExc_TypeError
,"null reference");
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 Py_INCREF(Py_None
); resultobj
= Py_None
;
26562 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26565 wxTreeItemId
*arg2
= 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self",(char *) "item", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26578 if (arg2
== NULL
) {
26579 PyErr_SetString(PyExc_TypeError
,"null reference");
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 Py_INCREF(Py_None
); resultobj
= Py_None
;
26596 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26599 wxTreeItemId
*arg2
= 0 ;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 char *kwnames
[] = {
26603 (char *) "self",(char *) "item", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26612 if (arg2
== NULL
) {
26613 PyErr_SetString(PyExc_TypeError
,"null reference");
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 Py_INCREF(Py_None
); resultobj
= Py_None
;
26630 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
;
26632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26633 wxTextCtrl
*result
;
26634 PyObject
* obj0
= 0 ;
26635 char *kwnames
[] = {
26636 (char *) "self", NULL
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= wxPyMake_wxObject(result
);
26658 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
;
26660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26661 wxTreeItemId
*arg2
= 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self",(char *) "item", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26674 if (arg2
== NULL
) {
26675 PyErr_SetString(PyExc_TypeError
,"null reference");
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 Py_INCREF(Py_None
); resultobj
= Py_None
;
26692 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
;
26694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26695 wxPoint
*arg2
= 0 ;
26697 wxTreeItemId result
;
26700 PyObject
* obj0
= 0 ;
26701 PyObject
* obj1
= 0 ;
26702 char *kwnames
[] = {
26703 (char *) "self",(char *) "point", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26722 wxTreeItemId
* resultptr
;
26723 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26727 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26728 resultobj
= t_output_helper(resultobj
,o
);
26736 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26739 wxTreeItemId
*arg2
= 0 ;
26740 bool arg3
= (bool) False
;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 PyObject
* obj2
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26755 if (arg2
== NULL
) {
26756 PyErr_SetString(PyExc_TypeError
,"null reference");
26760 arg3
= (bool) SWIG_AsBool(obj2
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= result
;
26777 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26780 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26782 return Py_BuildValue((char *)"");
26784 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26785 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26790 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26795 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26797 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26804 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26807 int arg2
= (int) (int)-1 ;
26808 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26809 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26814 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26815 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26817 int arg8
= (int) 0 ;
26818 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26819 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26820 wxGenericDirCtrl
*result
;
26821 bool temp3
= False
;
26824 bool temp7
= False
;
26825 bool temp9
= False
;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 PyObject
* obj3
= 0 ;
26830 PyObject
* obj4
= 0 ;
26831 PyObject
* obj5
= 0 ;
26832 PyObject
* obj6
= 0 ;
26833 PyObject
* obj7
= 0 ;
26834 PyObject
* obj8
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 arg2
= (int const) SWIG_AsInt(obj1
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26848 arg3
= wxString_in_helper(obj2
);
26849 if (arg3
== NULL
) SWIG_fail
;
26856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26866 arg6
= (long) SWIG_AsLong(obj5
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26871 arg7
= wxString_in_helper(obj6
);
26872 if (arg7
== NULL
) SWIG_fail
;
26877 arg8
= (int) SWIG_AsInt(obj7
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26882 arg9
= wxString_in_helper(obj8
);
26883 if (arg9
== NULL
) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26925 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxGenericDirCtrl
*result
;
26928 char *kwnames
[] = {
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26947 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26950 wxWindow
*arg2
= (wxWindow
*) 0 ;
26951 int arg3
= (int) (int)-1 ;
26952 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26953 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26954 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26955 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26956 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26957 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26958 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26959 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26960 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26961 int arg9
= (int) 0 ;
26962 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26963 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26965 bool temp4
= False
;
26968 bool temp8
= False
;
26969 bool temp10
= False
;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 PyObject
* obj2
= 0 ;
26973 PyObject
* obj3
= 0 ;
26974 PyObject
* obj4
= 0 ;
26975 PyObject
* obj5
= 0 ;
26976 PyObject
* obj6
= 0 ;
26977 PyObject
* obj7
= 0 ;
26978 PyObject
* obj8
= 0 ;
26979 PyObject
* obj9
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 arg3
= (int const) SWIG_AsInt(obj2
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26995 arg4
= wxString_in_helper(obj3
);
26996 if (arg4
== NULL
) SWIG_fail
;
27003 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27009 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27013 arg7
= (long) SWIG_AsLong(obj6
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27018 arg8
= wxString_in_helper(obj7
);
27019 if (arg8
== NULL
) SWIG_fail
;
27024 arg9
= (int) SWIG_AsInt(obj8
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27029 arg10
= wxString_in_helper(obj9
);
27030 if (arg10
== NULL
) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27074 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27077 wxString
*arg2
= 0 ;
27079 bool temp2
= False
;
27080 PyObject
* obj0
= 0 ;
27081 PyObject
* obj1
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self",(char *) "path", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27090 arg2
= wxString_in_helper(obj1
);
27091 if (arg2
== NULL
) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27118 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27122 PyObject
* obj0
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27150 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27153 wxString
*arg2
= 0 ;
27154 bool temp2
= False
;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self",(char *) "path", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 arg2
= wxString_in_helper(obj1
);
27166 if (arg2
== NULL
) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 Py_INCREF(Py_None
); resultobj
= Py_None
;
27191 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
;
27193 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27195 PyObject
* obj0
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "self", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27223 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27227 PyObject
* obj0
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27255 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27258 wxString
*arg2
= 0 ;
27259 bool temp2
= False
;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 char *kwnames
[] = {
27263 (char *) "self",(char *) "path", NULL
27266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 arg2
= wxString_in_helper(obj1
);
27271 if (arg2
== NULL
) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 (arg1
)->SetPath((wxString
const &)*arg2
);
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 Py_INCREF(Py_None
); resultobj
= Py_None
;
27296 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27300 PyObject
* obj0
= 0 ;
27301 PyObject
* obj1
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "self",(char *) "show", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27309 arg2
= (bool) SWIG_AsBool(obj1
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 (arg1
)->ShowHidden(arg2
);
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 Py_INCREF(Py_None
); resultobj
= Py_None
;
27325 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= (bool)(arg1
)->GetShowHidden();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27353 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27385 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27388 wxString
*arg2
= 0 ;
27389 bool temp2
= False
;
27390 PyObject
* obj0
= 0 ;
27391 PyObject
* obj1
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self",(char *) "filter", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27400 arg2
= wxString_in_helper(obj1
);
27401 if (arg2
== NULL
) SWIG_fail
;
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 (arg1
)->SetFilter((wxString
const &)*arg2
);
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 Py_INCREF(Py_None
); resultobj
= Py_None
;
27426 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_FromInt((int)result
);
27452 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 PyObject
* obj1
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self",(char *) "n", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 arg2
= (int) SWIG_AsInt(obj1
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 (arg1
)->SetFilterIndex(arg2
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 Py_INCREF(Py_None
); resultobj
= Py_None
;
27481 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27484 wxTreeItemId result
;
27485 PyObject
* obj0
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= (arg1
)->GetRootId();
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27501 wxTreeItemId
* resultptr
;
27502 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27511 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27514 wxPyTreeCtrl
*result
;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= wxPyMake_wxObject(result
);
27539 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27542 wxDirFilterListCtrl
*result
;
27543 PyObject
* obj0
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27565 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27568 wxTreeItemId arg2
;
27569 wxString
*arg3
= 0 ;
27571 wxTreeItemId result
;
27572 wxTreeItemId
*argp2
;
27573 bool temp3
= False
;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 PyObject
* obj2
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "parentId",(char *) "path", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27587 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27590 arg3
= wxString_in_helper(obj2
);
27591 if (arg3
== NULL
) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27602 wxTreeItemId
* resultptr
;
27603 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27607 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27608 resultobj
= t_output_helper(resultobj
,o
);
27624 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 (arg1
)->DoResize();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 Py_INCREF(Py_None
); resultobj
= Py_None
;
27649 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 (arg1
)->ReCreateTree();
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 Py_INCREF(Py_None
); resultobj
= Py_None
;
27674 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27677 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27679 return Py_BuildValue((char *)"");
27681 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27684 int arg2
= (int) (int)-1 ;
27685 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27686 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27687 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27688 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27689 long arg5
= (long) 0 ;
27690 wxDirFilterListCtrl
*result
;
27693 PyObject
* obj0
= 0 ;
27694 PyObject
* obj1
= 0 ;
27695 PyObject
* obj2
= 0 ;
27696 PyObject
* obj3
= 0 ;
27697 PyObject
* obj4
= 0 ;
27698 char *kwnames
[] = {
27699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27706 arg2
= (int const) SWIG_AsInt(obj1
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27718 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27722 arg5
= (long) SWIG_AsLong(obj4
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27739 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxDirFilterListCtrl
*result
;
27742 char *kwnames
[] = {
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27761 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27764 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27765 int arg3
= (int) (int)-1 ;
27766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27770 long arg6
= (long) 0 ;
27774 PyObject
* obj0
= 0 ;
27775 PyObject
* obj1
= 0 ;
27776 PyObject
* obj2
= 0 ;
27777 PyObject
* obj3
= 0 ;
27778 PyObject
* obj4
= 0 ;
27779 PyObject
* obj5
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27790 arg3
= (int const) SWIG_AsInt(obj2
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27796 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27802 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27806 arg6
= (long) SWIG_AsLong(obj5
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27825 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27828 wxString
*arg2
= 0 ;
27830 bool temp2
= False
;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 PyObject
* obj2
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27842 arg2
= wxString_in_helper(obj1
);
27843 if (arg2
== NULL
) SWIG_fail
;
27846 arg3
= (int) SWIG_AsInt(obj2
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27873 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27875 return Py_BuildValue((char *)"");
27877 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxWindow
*arg1
= (wxWindow
*) 0 ;
27881 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27882 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27883 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27884 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27885 long arg5
= (long) 0 ;
27886 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27887 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27888 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27889 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27890 wxPyControl
*result
;
27893 bool temp7
= False
;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27896 PyObject
* obj2
= 0 ;
27897 PyObject
* obj3
= 0 ;
27898 PyObject
* obj4
= 0 ;
27899 PyObject
* obj5
= 0 ;
27900 PyObject
* obj6
= 0 ;
27901 char *kwnames
[] = {
27902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 arg2
= (int const) SWIG_AsInt(obj1
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27919 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27923 arg5
= (long) SWIG_AsLong(obj4
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27930 if (arg6
== NULL
) {
27931 PyErr_SetString(PyExc_TypeError
,"null reference");
27937 arg7
= wxString_in_helper(obj6
);
27938 if (arg7
== NULL
) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27964 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27967 PyObject
*arg2
= (PyObject
*) 0 ;
27968 PyObject
*arg3
= (PyObject
*) 0 ;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 PyObject
* obj2
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self",(char *) "self",(char *) "_class", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 Py_INCREF(Py_None
); resultobj
= Py_None
;
27995 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 PyObject
* obj2
= 0 ;
28005 PyObject
* obj3
= 0 ;
28006 PyObject
* obj4
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 arg2
= (int) SWIG_AsInt(obj1
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28016 arg3
= (int) SWIG_AsInt(obj2
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28018 arg4
= (int) SWIG_AsInt(obj3
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28020 arg5
= (int) SWIG_AsInt(obj4
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 Py_INCREF(Py_None
); resultobj
= Py_None
;
28036 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28043 int arg6
= (int) wxSIZE_AUTO
;
28044 PyObject
* obj0
= 0 ;
28045 PyObject
* obj1
= 0 ;
28046 PyObject
* obj2
= 0 ;
28047 PyObject
* obj3
= 0 ;
28048 PyObject
* obj4
= 0 ;
28049 PyObject
* obj5
= 0 ;
28050 char *kwnames
[] = {
28051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28057 arg2
= (int) SWIG_AsInt(obj1
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28059 arg3
= (int) SWIG_AsInt(obj2
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28061 arg4
= (int) SWIG_AsInt(obj3
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28063 arg5
= (int) SWIG_AsInt(obj4
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 arg6
= (int) SWIG_AsInt(obj5
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 Py_INCREF(Py_None
); resultobj
= Py_None
;
28083 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 PyObject
* obj2
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "width",(char *) "height", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 arg2
= (int) SWIG_AsInt(obj1
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28100 arg3
= (int) SWIG_AsInt(obj2
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 Py_INCREF(Py_None
); resultobj
= Py_None
;
28116 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
;
28118 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28121 PyObject
* obj0
= 0 ;
28122 PyObject
* obj1
= 0 ;
28123 PyObject
* obj2
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self",(char *) "x",(char *) "y", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 arg2
= (int) SWIG_AsInt(obj1
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28133 arg3
= (int) SWIG_AsInt(obj2
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 Py_INCREF(Py_None
); resultobj
= Py_None
;
28149 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28152 int *arg2
= (int *) 0 ;
28153 int *arg3
= (int *) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 Py_INCREF(Py_None
); resultobj
= Py_None
;
28175 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28176 resultobj
= t_output_helper(resultobj
,o
);
28179 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28180 resultobj
= t_output_helper(resultobj
,o
);
28188 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28191 int *arg2
= (int *) 0 ;
28192 int *arg3
= (int *) 0 ;
28195 PyObject
* obj0
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 Py_INCREF(Py_None
); resultobj
= Py_None
;
28214 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28215 resultobj
= t_output_helper(resultobj
,o
);
28218 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28219 resultobj
= t_output_helper(resultobj
,o
);
28227 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
;
28229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28230 int *arg2
= (int *) 0 ;
28231 int *arg3
= (int *) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 Py_INCREF(Py_None
); resultobj
= Py_None
;
28253 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28254 resultobj
= t_output_helper(resultobj
,o
);
28257 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28258 resultobj
= t_output_helper(resultobj
,o
);
28266 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28286 wxSize
* resultptr
;
28287 resultptr
= new wxSize((wxSize
&) result
);
28288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28296 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 wxSize
* resultptr
;
28317 resultptr
= new wxSize((wxSize
&) result
);
28318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28326 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 char *kwnames
[] = {
28331 (char *) "self", NULL
28334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 (arg1
)->base_InitDialog();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 Py_INCREF(Py_None
); resultobj
= Py_None
;
28351 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
;
28353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "self", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 result
= (bool)(arg1
)->base_TransferDataToWindow();
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28379 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
;
28381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28407 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= (bool)(arg1
)->base_Validate();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28435 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28439 PyObject
* obj0
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28463 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28491 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28511 wxSize
* resultptr
;
28512 resultptr
= new wxSize((wxSize
&) result
);
28513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28521 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28524 wxWindow
*arg2
= (wxWindow
*) 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "child", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 (arg1
)->base_AddChild(arg2
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 Py_INCREF(Py_None
); resultobj
= Py_None
;
28550 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
;
28552 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28553 wxWindow
*arg2
= (wxWindow
*) 0 ;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "child", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 (arg1
)->base_RemoveChild(arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 Py_INCREF(Py_None
); resultobj
= Py_None
;
28579 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28582 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28584 return Py_BuildValue((char *)"");
28586 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28589 int arg2
= (int) 0 ;
28590 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28591 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28592 wxHelpEvent
*result
;
28594 PyObject
* obj0
= 0 ;
28595 PyObject
* obj1
= 0 ;
28596 PyObject
* obj2
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "type",(char *) "winid",(char *) "pt", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28603 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 arg2
= (int) SWIG_AsInt(obj1
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28630 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28634 PyObject
* obj0
= 0 ;
28635 char *kwnames
[] = {
28636 (char *) "self", NULL
28639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28650 wxPoint
* resultptr
;
28651 resultptr
= new wxPoint((wxPoint
&) result
);
28652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28660 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28663 wxPoint
*arg2
= 0 ;
28665 PyObject
* obj0
= 0 ;
28666 PyObject
* obj1
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self",(char *) "pos", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 Py_INCREF(Py_None
); resultobj
= Py_None
;
28692 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28696 PyObject
* obj0
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "self", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28708 result
= (wxString
*) &_result_ref
;
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28718 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28727 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28730 wxString
*arg2
= 0 ;
28731 bool temp2
= False
;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "link", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28742 arg2
= wxString_in_helper(obj1
);
28743 if (arg2
== NULL
) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 (arg1
)->SetLink((wxString
const &)*arg2
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 Py_INCREF(Py_None
); resultobj
= Py_None
;
28768 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
;
28770 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28772 PyObject
* obj0
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28784 result
= (wxString
*) &_result_ref
;
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28803 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
;
28805 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28806 wxString
*arg2
= 0 ;
28807 bool temp2
= False
;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self",(char *) "target", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28818 arg2
= wxString_in_helper(obj1
);
28819 if (arg2
== NULL
) SWIG_fail
;
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 (arg1
)->SetTarget((wxString
const &)*arg2
);
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 Py_INCREF(Py_None
); resultobj
= Py_None
;
28844 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28847 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28849 return Py_BuildValue((char *)"");
28851 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxWindow
*arg1
= (wxWindow
*) NULL
;
28854 bool arg2
= (bool) True
;
28855 wxContextHelp
*result
;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "window",(char *) "doNow", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28868 arg2
= (bool) SWIG_AsBool(obj1
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28885 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28888 PyObject
* obj0
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 Py_INCREF(Py_None
); resultobj
= Py_None
;
28910 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28913 wxWindow
*arg2
= (wxWindow
*) NULL
;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "window", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28944 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28948 PyObject
* obj0
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (bool)(arg1
)->EndContextHelp();
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28972 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28975 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28977 return Py_BuildValue((char *)"");
28979 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxWindow
*arg1
= (wxWindow
*) 0 ;
28982 int arg2
= (int) wxID_CONTEXT_HELP
;
28983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28987 long arg5
= (long) wxBU_AUTODRAW
;
28988 wxContextHelpButton
*result
;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 PyObject
* obj2
= 0 ;
28994 PyObject
* obj3
= 0 ;
28995 PyObject
* obj4
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29004 arg2
= (int) SWIG_AsInt(obj1
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29016 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29020 arg5
= (long) SWIG_AsLong(obj4
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29037 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29040 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29042 return Py_BuildValue((char *)"");
29044 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29047 wxHelpProvider
*result
;
29048 PyObject
* obj0
= 0 ;
29049 char *kwnames
[] = {
29050 (char *) "helpProvider", NULL
29053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29070 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
;
29072 wxHelpProvider
*result
;
29073 char *kwnames
[] = {
29077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29092 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29095 wxWindow
*arg2
= (wxWindow
*) 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 char *kwnames
[] = {
29100 (char *) "self",(char *) "window", NULL
29103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29128 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29131 wxWindow
*arg2
= (wxWindow
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self",(char *) "window", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (bool)(arg1
)->ShowHelp(arg2
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29160 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29163 wxWindow
*arg2
= (wxWindow
*) 0 ;
29164 wxString
*arg3
= 0 ;
29165 bool temp3
= False
;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 PyObject
* obj2
= 0 ;
29169 char *kwnames
[] = {
29170 (char *) "self",(char *) "window",(char *) "text", NULL
29173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29179 arg3
= wxString_in_helper(obj2
);
29180 if (arg3
== NULL
) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29209 wxString
*arg3
= 0 ;
29210 bool temp3
= False
;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 PyObject
* obj2
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "self",(char *) "id",(char *) "text", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29221 arg2
= (int) SWIG_AsInt(obj1
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 arg3
= wxString_in_helper(obj2
);
29225 if (arg3
== NULL
) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 Py_INCREF(Py_None
); resultobj
= Py_None
;
29250 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
;
29252 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29253 wxWindow
*arg2
= (wxWindow
*) 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self",(char *) "window", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 (arg1
)->RemoveHelp(arg2
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 Py_INCREF(Py_None
); resultobj
= Py_None
;
29279 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29280 PyObject
*resultobj
;
29281 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 wxHelpProvider_Destroy(arg1
);
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 Py_INCREF(Py_None
); resultobj
= Py_None
;
29304 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29307 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29309 return Py_BuildValue((char *)"");
29311 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
;
29313 wxSimpleHelpProvider
*result
;
29314 char *kwnames
[] = {
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29333 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29336 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29338 return Py_BuildValue((char *)"");
29340 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxBitmap
*arg1
= 0 ;
29343 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29344 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29345 wxGenericDragImage
*result
;
29346 PyObject
* obj0
= 0 ;
29347 PyObject
* obj1
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "image",(char *) "cursor", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29356 if (arg1
== NULL
) {
29357 PyErr_SetString(PyExc_TypeError
,"null reference");
29361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29364 if (arg2
== NULL
) {
29365 PyErr_SetString(PyExc_TypeError
,"null reference");
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29383 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29386 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29387 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29388 wxGenericDragImage
*result
;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "image",(char *) "cursor", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29399 if (arg1
== NULL
) {
29400 PyErr_SetString(PyExc_TypeError
,"null reference");
29404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29407 if (arg2
== NULL
) {
29408 PyErr_SetString(PyExc_TypeError
,"null reference");
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29426 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
;
29428 wxString
*arg1
= 0 ;
29429 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29430 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29431 wxGenericDragImage
*result
;
29432 bool temp1
= False
;
29433 PyObject
* obj0
= 0 ;
29434 PyObject
* obj1
= 0 ;
29435 char *kwnames
[] = {
29436 (char *) "str",(char *) "cursor", NULL
29439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29441 arg1
= wxString_in_helper(obj0
);
29442 if (arg1
== NULL
) SWIG_fail
;
29446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29449 if (arg2
== NULL
) {
29450 PyErr_SetString(PyExc_TypeError
,"null reference");
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29476 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxPyTreeCtrl
*arg1
= 0 ;
29479 wxTreeItemId
*arg2
= 0 ;
29480 wxGenericDragImage
*result
;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "treeCtrl",(char *) "id", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29491 if (arg1
== NULL
) {
29492 PyErr_SetString(PyExc_TypeError
,"null reference");
29495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29498 if (arg2
== NULL
) {
29499 PyErr_SetString(PyExc_TypeError
,"null reference");
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29516 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
;
29518 wxPyListCtrl
*arg1
= 0 ;
29520 wxGenericDragImage
*result
;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char *kwnames
[] = {
29524 (char *) "listCtrl",(char *) "id", NULL
29527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29531 if (arg1
== NULL
) {
29532 PyErr_SetString(PyExc_TypeError
,"null reference");
29535 arg2
= (long) SWIG_AsLong(obj1
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29551 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29554 PyObject
* obj0
= 0 ;
29555 char *kwnames
[] = {
29556 (char *) "self", NULL
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 Py_INCREF(Py_None
); resultobj
= Py_None
;
29576 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29579 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29580 PyObject
* obj0
= 0 ;
29581 PyObject
* obj1
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "self",(char *) "bitmap", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 (arg1
)->SetBackingBitmap(arg2
);
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29598 Py_INCREF(Py_None
); resultobj
= Py_None
;
29605 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29608 wxPoint
*arg2
= 0 ;
29609 wxWindow
*arg3
= (wxWindow
*) 0 ;
29610 bool arg4
= (bool) False
;
29611 wxRect
*arg5
= (wxRect
*) NULL
;
29614 PyObject
* obj0
= 0 ;
29615 PyObject
* obj1
= 0 ;
29616 PyObject
* obj2
= 0 ;
29617 PyObject
* obj3
= 0 ;
29618 PyObject
* obj4
= 0 ;
29619 char *kwnames
[] = {
29620 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29630 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29633 arg4
= (bool) SWIG_AsBool(obj3
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29637 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29656 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29659 wxPoint
*arg2
= 0 ;
29660 wxWindow
*arg3
= (wxWindow
*) 0 ;
29661 wxWindow
*arg4
= (wxWindow
*) 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 PyObject
* obj2
= 0 ;
29667 PyObject
* obj3
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29679 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29681 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29699 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29703 PyObject
* obj0
= 0 ;
29704 char *kwnames
[] = {
29705 (char *) "self", NULL
29708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (bool)(arg1
)->EndDrag();
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29727 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
;
29729 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29730 wxPoint
*arg2
= 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self",(char *) "pt", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29744 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29762 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29766 PyObject
* obj0
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (bool)(arg1
)->Show();
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29790 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
;
29792 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29794 PyObject
* obj0
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (bool)(arg1
)->Hide();
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29818 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29819 PyObject
*resultobj
;
29820 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29821 wxPoint
*arg2
= 0 ;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self",(char *) "pos", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29845 wxRect
* resultptr
;
29846 resultptr
= new wxRect((wxRect
&) result
);
29847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29855 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
;
29857 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29859 wxPoint
*arg3
= 0 ;
29862 PyObject
* obj0
= 0 ;
29863 PyObject
* obj1
= 0 ;
29864 PyObject
* obj2
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self",(char *) "dc",(char *) "pos", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29875 if (arg2
== NULL
) {
29876 PyErr_SetString(PyExc_TypeError
,"null reference");
29881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29899 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29903 wxMemoryDC
*arg3
= 0 ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 PyObject
* obj2
= 0 ;
29912 PyObject
* obj3
= 0 ;
29913 PyObject
* obj4
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29924 if (arg2
== NULL
) {
29925 PyErr_SetString(PyExc_TypeError
,"null reference");
29928 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29931 if (arg3
== NULL
) {
29932 PyErr_SetString(PyExc_TypeError
,"null reference");
29937 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29941 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29959 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29962 wxPoint
*arg2
= 0 ;
29963 wxPoint
*arg3
= 0 ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 PyObject
* obj2
= 0 ;
29972 PyObject
* obj3
= 0 ;
29973 PyObject
* obj4
= 0 ;
29974 char *kwnames
[] = {
29975 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29989 arg4
= (bool) SWIG_AsBool(obj3
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29991 arg5
= (bool) SWIG_AsBool(obj4
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30009 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30012 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30014 return Py_BuildValue((char *)"");
30016 static PyMethodDef SwigMethods
[] = {
30017 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30023 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30038 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30049 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30056 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30074 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30087 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30091 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30097 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30101 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30108 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30130 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30139 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30140 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30169 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30223 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30228 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30239 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30251 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30262 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30266 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30283 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30289 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30314 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30321 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30341 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30347 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30356 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30358 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30363 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30365 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30370 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30375 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30405 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30450 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30455 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30467 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30519 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30546 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30616 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30628 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30636 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30643 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30659 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30733 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30755 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30760 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30781 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30789 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30794 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30796 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30805 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30807 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30829 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30831 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30832 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30834 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30835 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30837 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30838 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30840 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30841 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30843 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30844 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30846 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30847 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30849 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30850 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30852 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30853 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30855 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30856 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30858 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30859 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30861 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30862 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30864 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30865 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30867 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30868 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30870 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30871 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30873 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30874 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30876 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30877 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30879 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30880 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30882 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30883 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30885 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30886 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30888 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30889 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30891 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30892 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30894 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30895 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30897 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30898 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30900 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30901 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30903 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30904 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30906 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30907 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30909 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30910 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30912 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30913 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30915 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30916 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30918 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30919 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30921 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30922 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30924 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30925 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30927 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30928 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30930 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30931 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30933 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30934 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30936 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30937 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30939 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30940 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30942 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30943 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30945 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30946 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30948 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30949 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30951 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30952 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30954 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30955 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30957 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30958 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30960 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30961 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30963 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30964 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30966 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30967 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30969 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30970 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30972 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30973 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30975 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30978 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30979 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30981 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30982 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30984 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30985 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30987 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30988 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30990 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30991 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30993 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30994 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30996 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30997 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30999 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31000 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31002 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31003 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31005 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31006 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31008 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31009 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31011 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31012 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31014 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31015 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31017 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31018 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31020 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31021 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31023 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31024 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31026 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31027 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31029 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31030 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31032 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31033 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31035 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31036 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31038 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31039 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31041 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31042 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31044 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31045 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31047 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31048 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31050 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31051 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31053 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31054 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31056 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31057 return (void *)((wxControl
*) ((wxGauge
*) x
));
31059 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31060 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31062 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31063 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31065 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31066 return (void *)((wxControl
*) ((wxButton
*) x
));
31068 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31069 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31071 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31072 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31074 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31075 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31077 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31078 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31080 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31081 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31083 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31084 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31086 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31087 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31089 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31090 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31092 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31093 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31095 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31096 return (void *)((wxControl
*) ((wxSlider
*) x
));
31098 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31099 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31101 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31102 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31104 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31105 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31107 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31108 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31110 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31111 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31113 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31114 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31116 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31117 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31119 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31120 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31122 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31123 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31125 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31126 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31128 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31129 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31131 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31132 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31134 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31137 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31138 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31140 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31141 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31143 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31144 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31146 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31149 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31150 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31152 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31155 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31158 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31159 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31161 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31164 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31167 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31170 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31173 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31176 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31180 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31182 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31185 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31188 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31191 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31194 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31197 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31200 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31203 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31206 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31209 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31212 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31215 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31218 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31221 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31224 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31227 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31230 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31233 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31236 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31239 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31242 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31245 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31248 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31251 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31254 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31255 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31257 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31258 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31260 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31261 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31263 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31264 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31266 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31267 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31269 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31270 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31272 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31273 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31275 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31276 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31278 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31279 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31281 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31282 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31284 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31287 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31288 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31290 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31293 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31296 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31297 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31299 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31300 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31302 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31303 return (void *)((wxObject
*) ((wxSizer
*) x
));
31305 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31306 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31308 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31311 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31314 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31317 static void *_p_wxEventTo_p_wxObject(void *x
) {
31318 return (void *)((wxObject
*) ((wxEvent
*) x
));
31320 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31321 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31323 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31324 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31326 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31327 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31329 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31332 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31335 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31338 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31339 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31341 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31342 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31344 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31345 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31347 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31348 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31350 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31351 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31353 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31354 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31356 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31359 static void *_p_wxControlTo_p_wxObject(void *x
) {
31360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31362 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31365 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31368 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31371 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31374 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31377 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31378 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31380 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31383 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31384 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31386 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31387 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31389 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31392 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31395 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31398 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31399 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31401 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31404 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31407 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31408 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31410 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31413 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31416 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31417 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31419 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31420 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31422 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31423 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31425 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31426 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31428 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31429 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31431 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31432 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31434 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31435 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31437 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31438 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31440 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31441 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31443 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31446 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31447 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31449 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31452 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31455 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31458 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31461 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31464 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31467 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31468 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31470 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31471 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31473 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31474 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31476 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31479 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31480 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31482 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31485 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31486 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31488 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31491 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31494 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31497 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31500 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31503 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31506 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31509 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31512 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31515 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31518 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31521 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31524 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31527 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) ((wxListItem
*) x
));
31530 static void *_p_wxImageTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) ((wxImage
*) x
));
31533 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31536 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31539 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31542 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31545 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31548 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31551 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31554 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31557 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31560 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31563 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31566 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31569 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31572 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31575 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31578 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31581 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31584 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31587 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31590 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31593 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31596 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31599 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31602 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31605 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31608 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31611 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31614 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31617 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31620 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31623 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31626 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31629 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31632 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31633 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31635 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31636 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31638 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31639 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31641 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31642 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31644 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31645 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31647 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31648 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31650 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31651 return (void *)((wxWindow
*) ((wxControl
*) x
));
31653 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31654 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31656 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31657 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31659 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31660 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31662 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31663 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31665 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31666 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31668 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31669 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31671 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31672 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31674 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31675 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31677 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31678 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31680 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31681 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31683 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31684 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31686 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31687 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31689 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31690 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31692 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31693 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31695 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31696 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31698 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31699 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31701 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31702 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31704 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31705 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31707 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31708 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31710 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31711 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31713 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31714 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31716 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31717 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31719 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31720 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31722 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31723 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31725 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31726 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31728 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31729 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31731 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31732 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31734 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31735 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31737 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31738 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31740 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31741 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31743 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31744 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31746 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31747 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31749 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31750 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31752 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31753 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31755 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31756 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31758 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31759 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31761 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31762 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31764 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31765 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31767 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31768 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31770 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31771 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31773 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31774 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31776 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31777 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31779 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31780 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31782 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31783 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31785 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31786 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31788 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31789 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31791 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31792 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31794 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31795 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31797 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31798 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31800 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}};
31801 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}};
31802 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}};
31803 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}};
31804 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}};
31805 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}};
31806 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}};
31807 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}};
31808 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}};
31809 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}};
31810 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}};
31811 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}};
31812 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}};
31813 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}};
31814 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}};
31815 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}};
31816 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}};
31817 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}};
31818 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}};
31819 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}};
31820 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}};
31821 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}};
31822 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}};
31823 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}};
31824 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}};
31825 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}};
31826 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}};
31827 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}};
31828 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}};
31829 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}};
31830 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}};
31831 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}};
31832 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}};
31833 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}};
31834 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}};
31835 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}};
31836 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}};
31837 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}};
31838 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}};
31839 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}};
31840 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}};
31841 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}};
31842 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}};
31843 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}};
31844 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}};
31845 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}};
31846 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}};
31847 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}};
31848 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}};
31849 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}};
31850 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}};
31851 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}};
31852 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}};
31853 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}};
31854 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}};
31855 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}};
31856 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}};
31857 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}};
31858 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}};
31859 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}};
31860 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}};
31861 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}};
31862 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}};
31863 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}};
31864 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}};
31865 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}};
31866 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}};
31867 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}};
31868 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}};
31869 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}};
31870 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}};
31871 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}};
31872 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}};
31873 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}};
31874 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}};
31875 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}};
31876 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}};
31877 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}};
31878 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}};
31879 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}};
31880 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}};
31881 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}};
31882 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}};
31883 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}};
31885 static swig_type_info
*swig_types_initial
[] = {
31886 _swigt__p_wxTextUrlEvent
,
31887 _swigt__p_wxBookCtrlEvent
,
31889 _swigt__p_wxCheckBox
,
31890 _swigt__p_wxPyTreeCtrl
,
31892 _swigt__p_wxGenericDirCtrl
,
31894 _swigt__p_wxPyTreeItemData
,
31895 _swigt__p_wxItemContainer
,
31896 _swigt__p_wxDirFilterListCtrl
,
31897 _swigt__p_wxPyListCtrl
,
31898 _swigt__p_wxStaticLine
,
31899 _swigt__p_wxControl
,
31900 _swigt__p_wxPyControl
,
31902 _swigt__p_wxToolBarBase
,
31904 _swigt__p_wxToggleButton
,
31905 _swigt__p_wxRadioButton
,
31906 _swigt__p_wxChoice
,
31907 _swigt__p_wxMemoryDC
,
31908 _swigt__p_wxListItemAttr
,
31913 _swigt__p_wxListView
,
31915 _swigt__p_wxTextCtrl
,
31916 _swigt__p_wxNotebook
,
31917 _swigt__p_wxNotifyEvent
,
31918 _swigt__p_wxArrayString
,
31919 _swigt__p_wxListbook
,
31920 _swigt__p_wxStaticBitmap
,
31921 _swigt__p_wxSlider
,
31922 _swigt__p_wxStaticBox
,
31923 _swigt__p_wxArrayInt
,
31924 _swigt__p_wxContextHelp
,
31926 _swigt__p_wxEvtHandler
,
31927 _swigt__p_wxListEvent
,
31928 _swigt__p_wxListBox
,
31929 _swigt__p_wxCheckListBox
,
31930 _swigt__p_wxBookCtrl
,
31931 _swigt__p_wxSpinButton
,
31932 _swigt__p_wxButton
,
31933 _swigt__p_wxBitmapButton
,
31935 _swigt__p_wxContextHelpButton
,
31936 _swigt__p_wxRadioBox
,
31937 _swigt__p_wxScrollBar
,
31939 _swigt__p_wxTreeItemId
,
31940 _swigt__p_wxComboBox
,
31941 _swigt__p_wxHelpEvent
,
31942 _swigt__p_wxListItem
,
31943 _swigt__p_wxNotebookSizer
,
31944 _swigt__p_wxSpinEvent
,
31945 _swigt__p_wxGenericDragImage
,
31946 _swigt__p_wxSpinCtrl
,
31947 _swigt__p_wxImageList
,
31948 _swigt__p_wxHelpProvider
,
31949 _swigt__p_wxTextAttr
,
31950 _swigt__p_wxSimpleHelpProvider
,
31952 _swigt__p_wxListbookEvent
,
31953 _swigt__p_wxNotebookEvent
,
31954 _swigt__p_wxObject
,
31955 _swigt__p_wxCursor
,
31956 _swigt__p_wxKeyEvent
,
31957 _swigt__p_wxWindow
,
31958 _swigt__p_wxString
,
31959 _swigt__p_wxBitmap
,
31960 _swigt__p_wxTreeEvent
,
31961 _swigt__p_wxMouseEvent
,
31962 _swigt__p_wxCommandEvent
,
31963 _swigt__p_wxStaticText
,
31964 _swigt__p_wxControlWithItems
,
31965 _swigt__p_wxToolBarToolBase
,
31966 _swigt__p_wxColour
,
31967 _swigt__p_wxToolBar
,
31968 _swigt__p_wxBookCtrlSizer
,
31969 _swigt__p_wxValidator
,
31974 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31976 static swig_const_info swig_const_table
[] = {
31986 SWIGEXPORT(void) SWIG_init(void) {
31987 static PyObject
*SWIG_globals
= 0;
31988 static int typeinit
= 0;
31991 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31992 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31993 d
= PyModule_GetDict(m
);
31996 for (i
= 0; swig_types_initial
[i
]; i
++) {
31997 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32001 SWIG_InstallConstants(d
,swig_const_table
);
32003 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32004 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32005 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32006 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32007 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32008 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32009 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32010 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32011 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32012 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32013 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32014 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32015 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32016 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32017 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32018 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32019 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32020 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32021 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32022 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32023 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32024 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32025 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32026 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32027 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32028 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32029 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32030 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32031 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32032 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32033 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32034 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32035 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32036 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32037 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32038 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32039 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32040 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32041 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32042 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32043 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32044 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32045 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32046 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32047 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32048 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32049 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32050 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32051 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32052 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32053 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32054 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32055 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32056 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32057 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32058 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32059 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32060 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32061 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32062 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32063 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32064 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32065 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32066 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32067 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32068 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32069 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32070 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32074 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32075 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32076 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32077 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32078 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32079 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32080 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32081 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32082 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32083 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32084 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32085 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32086 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32087 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32088 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32089 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32090 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32091 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32092 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32093 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32094 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32095 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32096 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32097 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32098 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32099 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32100 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32101 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32102 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32103 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32104 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32105 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32106 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32107 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32108 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32109 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32110 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32111 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32112 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32113 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32114 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32115 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32116 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32117 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32118 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32119 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32120 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32121 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32122 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32123 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32124 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32125 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32126 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32127 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32128 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32129 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32130 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32131 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32132 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32133 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32134 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32135 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32136 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32137 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32138 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32139 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32140 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32141 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32142 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32143 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32144 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32145 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32146 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32147 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32148 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32149 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32150 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32151 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32152 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32153 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32154 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32155 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32156 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32157 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32158 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32159 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32160 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32161 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32162 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32163 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32164 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32165 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32166 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32167 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32168 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32169 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32170 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32171 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32172 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32173 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32174 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32175 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32176 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32177 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32178 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32179 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32180 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32181 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32182 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32183 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32184 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32185 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32186 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32187 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32188 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32189 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32190 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32191 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32192 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32193 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32194 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32195 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32196 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32197 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32198 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32199 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32202 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32204 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32205 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32209 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32211 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32212 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32213 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32215 // Map renamed classes back to their common name for OOR
32216 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32218 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32219 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32220 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32221 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32222 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32223 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32224 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32225 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32226 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32227 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32228 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32229 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32230 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32231 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32232 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32233 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32234 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32235 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32236 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32237 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32238 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32239 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32240 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32241 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32242 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32243 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32244 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32245 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32246 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32247 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32248 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32249 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32250 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32251 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32252 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32253 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32254 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32255 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32256 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32257 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32258 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32261 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32267 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32268 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32269 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32270 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32271 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32272 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32275 // Map renamed classes back to their common name for OOR
32276 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32277 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32279 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32280 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32281 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32282 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32283 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32284 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32285 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32286 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32287 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32288 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32290 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");