1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
564 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
565 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
566 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
568 #include <wx/slider.h>
571 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
572 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
575 // implement dummy items for platforms that don't have this class
577 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
579 class wxToggleButton
: public wxControl
582 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
583 const wxPoint
&, const wxSize
&, long,
584 const wxValidator
&, const wxString
&)
585 { wxPyRaiseNotImplemented(); }
588 { wxPyRaiseNotImplemented(); }
592 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
594 SWIGSTATICINLINE(PyObject
* )
595 SWIG_FromUnsignedLong(unsigned long value
)
597 return (value
> LONG_MAX
) ?
598 PyLong_FromUnsignedLong(value
)
599 : PyInt_FromLong(swig_numeric_cast(long,value
));
602 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
603 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
604 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
606 Py_INCREF(udata
->m_obj
);
613 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
614 self
->SetClientData(new wxPyUserData(clientData
));
616 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
617 wxPyUserData
* udata
= NULL
;
618 if (clientData
&& clientData
!= Py_None
)
619 udata
= new wxPyUserData(clientData
);
620 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
621 shortHelp
, longHelp
, udata
);
623 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
624 wxPyUserData
* udata
= NULL
;
625 if (clientData
&& clientData
!= Py_None
)
626 udata
= new wxPyUserData(clientData
);
627 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
628 shortHelp
, longHelp
, udata
);
630 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
631 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
633 Py_INCREF(udata
->m_obj
);
640 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
641 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
644 #include <wx/listctrl.h>
647 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
648 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
649 // Python aware sorting function for wxPyListCtrl
650 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
652 PyObject
* func
= (PyObject
*)funcPtr
;
653 wxPyBeginBlockThreads();
655 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
656 PyObject
* result
= PyEval_CallObject(func
, args
);
659 retval
= PyInt_AsLong(result
);
663 wxPyEndBlockThreads();
667 // C++ Version of a Python aware class
668 class wxPyListCtrl
: public wxListCtrl
{
669 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
671 wxPyListCtrl() : wxListCtrl() {}
672 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
676 const wxValidator
& validator
,
677 const wxString
& name
) :
678 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
680 bool Create(wxWindow
* parent
, wxWindowID id
,
684 const wxValidator
& validator
,
685 const wxString
& name
) {
686 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
689 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
690 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
691 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
696 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
698 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
699 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
700 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
702 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
704 item
.SetMask( wxLIST_MASK_STATE
|
712 if (self
->GetColumn(col
, item
))
713 return new wxListItem(item
);
717 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
718 wxListItem
* info
= new wxListItem
;
719 info
->m_itemId
= itemId
;
721 info
->m_mask
= 0xFFFF;
722 self
->GetItem(*info
);
725 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
727 self
->GetItemPosition(item
, pos
);
730 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
732 self
->GetItemRect(item
, rect
, code
);
735 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
736 if (!PyCallable_Check(func
))
738 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
740 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
744 return (wxWindow
*)self
->m_mainWin
;
748 #include <wx/treectrl.h>
749 #include "wx/wxPython/pytree.h"
751 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
752 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
753 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
754 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
755 // C++ version of Python aware wxTreeCtrl
756 class wxPyTreeCtrl
: public wxTreeCtrl
{
757 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
759 wxPyTreeCtrl() : wxTreeCtrl() {}
760 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
764 const wxValidator
& validator
,
765 const wxString
& name
) :
766 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
768 bool Create(wxWindow
*parent
, wxWindowID id
,
772 const wxValidator
& validator
,
773 const wxString
& name
) {
774 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
778 int OnCompareItems(const wxTreeItemId
& item1
,
779 const wxTreeItemId
& item2
) {
782 wxPyBeginBlockThreads();
783 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
784 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
785 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
786 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
790 wxPyEndBlockThreads();
792 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
798 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
802 #if UINT_MAX < LONG_MAX
803 #define SWIG_FromUnsignedInt SWIG_FromLong
805 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
809 SWIGSTATICINLINE(unsigned long)
810 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
811 unsigned long max_value
)
813 if (!PyErr_Occurred()) {
814 if (value
> max_value
) {
816 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
817 value
, type
, max_value
);
818 PyErr_SetObject(PyExc_OverflowError
, err
);
826 #if UINT_MAX != ULONG_MAX
827 SWIGSTATICINLINE(unsigned int)
828 SWIG_AsUnsignedInt(PyObject
*obj
)
830 return swig_numeric_cast(unsigned int,
831 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
832 "unsigned int", UINT_MAX
));
835 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
839 SWIGSTATICINLINE(int)
840 SWIG_CheckUnsignedInt(PyObject
* obj
)
842 SWIG_AsUnsignedInt(obj
);
843 if (PyErr_Occurred()) {
851 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
852 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
854 data
= new wxPyTreeItemData();
855 data
->SetId(item
); // set the id
856 self
->SetItemData(item
, data
);
860 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
861 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
863 data
= new wxPyTreeItemData();
864 data
->SetId(item
); // set the id
865 self
->SetItemData(item
, data
);
867 return data
->GetData();
869 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
874 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
876 data
= new wxPyTreeItemData(obj
);
877 data
->SetId(item
); // set the id
878 self
->SetItemData(item
, data
);
882 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
883 wxPyBeginBlockThreads();
884 PyObject
* rval
= PyList_New(0);
885 wxArrayTreeItemIds array
;
887 num
= self
->GetSelections(array
);
888 for (x
=0; x
< num
; x
++) {
889 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
890 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
891 PyList_Append(rval
, item
);
893 wxPyEndBlockThreads();
896 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
898 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
899 wxPyBeginBlockThreads();
900 PyObject
* tup
= PyTuple_New(2);
901 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
902 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
903 wxPyEndBlockThreads();
906 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
908 wxPyBeginBlockThreads();
909 PyObject
* tup
= PyTuple_New(2);
910 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
911 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
912 wxPyEndBlockThreads();
915 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
917 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
918 wxPyBeginBlockThreads();
919 wxRect
* r
= new wxRect(rect
);
920 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
921 wxPyEndBlockThreads();
927 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
928 // C++ version of Python aware wxControl
929 class wxPyControl
: public wxControl
931 DECLARE_DYNAMIC_CLASS(wxPyControl
)
933 wxPyControl() : wxControl() {}
934 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
935 const wxPoint
& pos
= wxDefaultPosition
,
936 const wxSize
& size
= wxDefaultSize
,
938 const wxValidator
& validator
=wxDefaultValidator
,
939 const wxString
& name
= wxPyControlNameStr
)
940 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
943 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
944 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
946 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
950 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
952 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
953 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
955 DEC_PYCALLBACK__(InitDialog
);
956 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
957 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
958 DEC_PYCALLBACK_BOOL_(Validate
);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
961 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
962 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
964 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
965 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
970 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
972 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
973 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
982 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
984 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
987 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
990 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
999 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1001 #include <wx/generic/dragimgg.h>
1006 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1012 static PyObject
*_wrap_ButtonNameStr_get() {
1017 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1019 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1026 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxWindow
*arg1
= (wxWindow
*) 0 ;
1030 wxString
*arg3
= 0 ;
1031 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1032 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1033 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1034 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1035 long arg6
= (long) 0 ;
1036 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1037 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1038 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1041 bool temp3
= False
;
1044 bool temp8
= False
;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1047 PyObject
* obj2
= 0 ;
1048 PyObject
* obj3
= 0 ;
1049 PyObject
* obj4
= 0 ;
1050 PyObject
* obj5
= 0 ;
1051 PyObject
* obj6
= 0 ;
1052 PyObject
* obj7
= 0 ;
1054 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1060 arg2
= (int) SWIG_AsInt(obj1
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1063 arg3
= wxString_in_helper(obj2
);
1064 if (arg3
== NULL
) SWIG_fail
;
1070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1080 arg6
= (long) SWIG_AsLong(obj5
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1084 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1088 PyErr_SetString(PyExc_TypeError
,"null reference");
1094 arg8
= wxString_in_helper(obj7
);
1095 if (arg8
== NULL
) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1107 resultobj
= wxPyMake_wxObject(result
);
1131 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxButton
*)new wxButton();
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= wxPyMake_wxObject(result
);
1155 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
*resultobj
;
1157 wxButton
*arg1
= (wxButton
*) 0 ;
1158 wxWindow
*arg2
= (wxWindow
*) 0 ;
1160 wxString
*arg4
= 0 ;
1161 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1162 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1163 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1164 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1165 long arg7
= (long) 0 ;
1166 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1167 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1168 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1171 bool temp4
= False
;
1174 bool temp9
= False
;
1175 PyObject
* obj0
= 0 ;
1176 PyObject
* obj1
= 0 ;
1177 PyObject
* obj2
= 0 ;
1178 PyObject
* obj3
= 0 ;
1179 PyObject
* obj4
= 0 ;
1180 PyObject
* obj5
= 0 ;
1181 PyObject
* obj6
= 0 ;
1182 PyObject
* obj7
= 0 ;
1183 PyObject
* obj8
= 0 ;
1185 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 arg3
= (int) SWIG_AsInt(obj2
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 arg4
= wxString_in_helper(obj3
);
1197 if (arg4
== NULL
) SWIG_fail
;
1203 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1209 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1213 arg7
= (long) SWIG_AsLong(obj6
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1217 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1221 PyErr_SetString(PyExc_TypeError
,"null reference");
1227 arg9
= wxString_in_helper(obj8
);
1228 if (arg9
== NULL
) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1262 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1264 wxButton
*arg1
= (wxButton
*) 0 ;
1265 PyObject
* obj0
= 0 ;
1267 (char *) "self", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 (arg1
)->SetDefault();
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) SWIG_fail
;
1280 Py_INCREF(Py_None
); resultobj
= Py_None
;
1287 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 result
= wxButton::GetDefaultSize();
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1304 resultptr
= new wxSize((wxSize
&) result
);
1305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1313 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1316 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1318 return Py_BuildValue((char *)"");
1320 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxWindow
*arg1
= (wxWindow
*) 0 ;
1324 wxBitmap
*arg3
= 0 ;
1325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1329 long arg6
= (long) wxBU_AUTODRAW
;
1330 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1331 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1332 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1333 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1334 wxBitmapButton
*result
;
1337 bool temp8
= False
;
1338 PyObject
* obj0
= 0 ;
1339 PyObject
* obj1
= 0 ;
1340 PyObject
* obj2
= 0 ;
1341 PyObject
* obj3
= 0 ;
1342 PyObject
* obj4
= 0 ;
1343 PyObject
* obj5
= 0 ;
1344 PyObject
* obj6
= 0 ;
1345 PyObject
* obj7
= 0 ;
1347 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg2
= (int) SWIG_AsInt(obj1
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1355 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1359 PyErr_SetString(PyExc_TypeError
,"null reference");
1365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1375 arg6
= (long) SWIG_AsLong(obj5
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1379 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1383 PyErr_SetString(PyExc_TypeError
,"null reference");
1389 arg8
= wxString_in_helper(obj7
);
1390 if (arg8
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= wxPyMake_wxObject(result
);
1418 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxBitmapButton
*result
;
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (wxBitmapButton
*)new wxBitmapButton();
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1434 resultobj
= wxPyMake_wxObject(result
);
1442 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1445 wxWindow
*arg2
= (wxWindow
*) 0 ;
1447 wxBitmap
*arg4
= 0 ;
1448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1452 long arg7
= (long) wxBU_AUTODRAW
;
1453 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1454 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1455 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1456 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1460 bool temp9
= False
;
1461 PyObject
* obj0
= 0 ;
1462 PyObject
* obj1
= 0 ;
1463 PyObject
* obj2
= 0 ;
1464 PyObject
* obj3
= 0 ;
1465 PyObject
* obj4
= 0 ;
1466 PyObject
* obj5
= 0 ;
1467 PyObject
* obj6
= 0 ;
1468 PyObject
* obj7
= 0 ;
1469 PyObject
* obj8
= 0 ;
1471 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 arg3
= (int) SWIG_AsInt(obj2
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1481 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1485 PyErr_SetString(PyExc_TypeError
,"null reference");
1491 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1497 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1501 arg7
= (long) SWIG_AsLong(obj6
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1509 PyErr_SetString(PyExc_TypeError
,"null reference");
1515 arg9
= wxString_in_helper(obj8
);
1516 if (arg9
== NULL
) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1542 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "self", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 result
= (arg1
)->GetBitmapLabel();
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1562 wxBitmap
* resultptr
;
1563 resultptr
= new wxBitmap((wxBitmap
&) result
);
1564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1572 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1576 PyObject
* obj0
= 0 ;
1578 (char *) "self", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 result
= (arg1
)->GetBitmapDisabled();
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1592 wxBitmap
* resultptr
;
1593 resultptr
= new wxBitmap((wxBitmap
&) result
);
1594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1602 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
*resultobj
;
1604 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1606 PyObject
* obj0
= 0 ;
1608 (char *) "self", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (arg1
)->GetBitmapFocus();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1622 wxBitmap
* resultptr
;
1623 resultptr
= new wxBitmap((wxBitmap
&) result
);
1624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1632 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "self", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (arg1
)->GetBitmapSelected();
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 wxBitmap
* resultptr
;
1653 resultptr
= new wxBitmap((wxBitmap
&) result
);
1654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1662 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1665 wxBitmap
*arg2
= 0 ;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1669 (char *) "self",(char *) "bitmap", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1679 PyErr_SetString(PyExc_TypeError
,"null reference");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1689 Py_INCREF(Py_None
); resultobj
= Py_None
;
1696 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1698 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1699 wxBitmap
*arg2
= 0 ;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1703 (char *) "self",(char *) "bitmap", NULL
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1713 PyErr_SetString(PyExc_TypeError
,"null reference");
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1730 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1733 wxBitmap
*arg2
= 0 ;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1737 (char *) "self",(char *) "bitmap", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1747 PyErr_SetString(PyExc_TypeError
,"null reference");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1767 wxBitmap
*arg2
= 0 ;
1768 PyObject
* obj0
= 0 ;
1769 PyObject
* obj1
= 0 ;
1771 (char *) "self",(char *) "bitmap", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1781 PyErr_SetString(PyExc_TypeError
,"null reference");
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 Py_INCREF(Py_None
); resultobj
= Py_None
;
1798 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1804 PyObject
* obj1
= 0 ;
1805 PyObject
* obj2
= 0 ;
1807 (char *) "self",(char *) "x",(char *) "y", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 arg2
= (int) SWIG_AsInt(obj1
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1815 arg3
= (int) SWIG_AsInt(obj2
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetMargins(arg2
,arg3
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1837 (char *) "self", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= SWIG_FromInt((int)result
);
1857 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1863 (char *) "self", NULL
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= SWIG_FromInt((int)result
);
1883 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1888 return Py_BuildValue((char *)"");
1890 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1891 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1896 static PyObject
*_wrap_CheckBoxNameStr_get() {
1901 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1903 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1910 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxWindow
*arg1
= (wxWindow
*) 0 ;
1914 wxString
*arg3
= 0 ;
1915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1919 long arg6
= (long) 0 ;
1920 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1921 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1922 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1923 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1925 bool temp3
= False
;
1928 bool temp8
= False
;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1931 PyObject
* obj2
= 0 ;
1932 PyObject
* obj3
= 0 ;
1933 PyObject
* obj4
= 0 ;
1934 PyObject
* obj5
= 0 ;
1935 PyObject
* obj6
= 0 ;
1936 PyObject
* obj7
= 0 ;
1938 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 arg2
= (int) SWIG_AsInt(obj1
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 arg3
= wxString_in_helper(obj2
);
1948 if (arg3
== NULL
) SWIG_fail
;
1954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1964 arg6
= (long) SWIG_AsLong(obj5
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1968 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1972 PyErr_SetString(PyExc_TypeError
,"null reference");
1978 arg8
= wxString_in_helper(obj7
);
1979 if (arg8
== NULL
) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2013 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 result
= (wxCheckBox
*)new wxCheckBox();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2035 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2038 wxWindow
*arg2
= (wxWindow
*) 0 ;
2040 wxString
*arg4
= 0 ;
2041 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2042 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2043 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2044 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2045 long arg7
= (long) 0 ;
2046 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2047 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2048 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2049 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2051 bool temp4
= False
;
2054 bool temp9
= False
;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2057 PyObject
* obj2
= 0 ;
2058 PyObject
* obj3
= 0 ;
2059 PyObject
* obj4
= 0 ;
2060 PyObject
* obj5
= 0 ;
2061 PyObject
* obj6
= 0 ;
2062 PyObject
* obj7
= 0 ;
2063 PyObject
* obj8
= 0 ;
2065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 arg3
= (int) SWIG_AsInt(obj2
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 arg4
= wxString_in_helper(obj3
);
2077 if (arg4
== NULL
) SWIG_fail
;
2083 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2089 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2093 arg7
= (long) SWIG_AsLong(obj6
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2097 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2101 PyErr_SetString(PyExc_TypeError
,"null reference");
2107 arg9
= wxString_in_helper(obj8
);
2108 if (arg9
== NULL
) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2142 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2148 (char *) "self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (bool)(arg1
)->GetValue();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2168 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2172 PyObject
* obj0
= 0 ;
2174 (char *) "self", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= (bool)(arg1
)->IsChecked();
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2194 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2199 PyObject
* obj1
= 0 ;
2201 (char *) "self",(char *) "state", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 arg2
= (bool const) SWIG_AsBool(obj1
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->SetValue(arg2
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_FromInt((int)result
);
2249 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2256 (char *) "self",(char *) "state", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 Py_INCREF(Py_None
); resultobj
= Py_None
;
2278 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2284 (char *) "self", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "self", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2330 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2333 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2335 return Py_BuildValue((char *)"");
2337 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2338 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2343 static PyObject
*_wrap_ChoiceNameStr_get() {
2348 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2350 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2357 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxWindow
*arg1
= (wxWindow
*) 0 ;
2361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2365 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2366 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2367 long arg6
= (long) 0 ;
2368 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2369 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2370 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2371 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2375 bool temp5
= False
;
2376 bool temp8
= False
;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2379 PyObject
* obj2
= 0 ;
2380 PyObject
* obj3
= 0 ;
2381 PyObject
* obj4
= 0 ;
2382 PyObject
* obj5
= 0 ;
2383 PyObject
* obj6
= 0 ;
2384 PyObject
* obj7
= 0 ;
2386 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 arg2
= (int) SWIG_AsInt(obj1
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2408 if (! PySequence_Check(obj4
)) {
2409 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2412 arg5
= new wxArrayString
;
2414 int i
, len
=PySequence_Length(obj4
);
2415 for (i
=0; i
<len
; i
++) {
2416 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2418 PyObject
* str
= PyObject_Unicode(item
);
2420 PyObject
* str
= PyObject_Str(item
);
2422 arg5
->Add(Py2wxString(str
));
2429 arg6
= (long) SWIG_AsLong(obj5
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2433 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2437 PyErr_SetString(PyExc_TypeError
,"null reference");
2443 arg8
= wxString_in_helper(obj7
);
2444 if (arg8
== NULL
) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2457 if (temp5
) delete arg5
;
2466 if (temp5
) delete arg5
;
2476 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 result
= (wxChoice
*)new wxChoice();
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2498 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
;
2500 wxChoice
*arg1
= (wxChoice
*) 0 ;
2501 wxWindow
*arg2
= (wxWindow
*) 0 ;
2503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2507 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2508 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2509 long arg7
= (long) 0 ;
2510 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2511 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2512 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2513 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2517 bool temp6
= False
;
2518 bool temp9
= False
;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2521 PyObject
* obj2
= 0 ;
2522 PyObject
* obj3
= 0 ;
2523 PyObject
* obj4
= 0 ;
2524 PyObject
* obj5
= 0 ;
2525 PyObject
* obj6
= 0 ;
2526 PyObject
* obj7
= 0 ;
2527 PyObject
* obj8
= 0 ;
2529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 arg3
= (int) SWIG_AsInt(obj2
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2553 if (! PySequence_Check(obj5
)) {
2554 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2557 arg6
= new wxArrayString
;
2559 int i
, len
=PySequence_Length(obj5
);
2560 for (i
=0; i
<len
; i
++) {
2561 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2563 PyObject
* str
= PyObject_Unicode(item
);
2565 PyObject
* str
= PyObject_Str(item
);
2567 arg6
->Add(Py2wxString(str
));
2574 arg7
= (long) SWIG_AsLong(obj6
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2582 PyErr_SetString(PyExc_TypeError
,"null reference");
2588 arg9
= wxString_in_helper(obj8
);
2589 if (arg9
== NULL
) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2602 if (temp6
) delete arg6
;
2611 if (temp6
) delete arg6
;
2621 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxChoice
*arg1
= (wxChoice
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2626 PyObject
* obj1
= 0 ;
2628 (char *) "self",(char *) "n", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 arg2
= (int const) SWIG_AsInt(obj1
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 (arg1
)->SetSelection(arg2
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2643 Py_INCREF(Py_None
); resultobj
= Py_None
;
2650 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxChoice
*arg1
= (wxChoice
*) 0 ;
2653 wxString
*arg2
= 0 ;
2654 bool temp2
= False
;
2655 PyObject
* obj0
= 0 ;
2656 PyObject
* obj1
= 0 ;
2658 (char *) "self",(char *) "string", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 arg2
= wxString_in_helper(obj1
);
2666 if (arg2
== NULL
) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxChoice
*arg1
= (wxChoice
*) 0 ;
2695 wxString
*arg3
= 0 ;
2696 bool temp3
= False
;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2699 PyObject
* obj2
= 0 ;
2701 (char *) "self",(char *) "n",(char *) "string", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 arg2
= (int) SWIG_AsInt(obj1
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 arg3
= wxString_in_helper(obj2
);
2711 if (arg3
== NULL
) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 Py_INCREF(Py_None
); resultobj
= Py_None
;
2736 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2739 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2741 return Py_BuildValue((char *)"");
2743 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2744 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2749 static PyObject
*_wrap_ComboBoxNameStr_get() {
2754 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2756 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2763 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxWindow
*arg1
= (wxWindow
*) 0 ;
2767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2773 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2774 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2775 long arg7
= (long) 0 ;
2776 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2777 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2778 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2781 bool temp3
= False
;
2784 bool temp6
= False
;
2785 bool temp9
= False
;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2790 PyObject
* obj4
= 0 ;
2791 PyObject
* obj5
= 0 ;
2792 PyObject
* obj6
= 0 ;
2793 PyObject
* obj7
= 0 ;
2794 PyObject
* obj8
= 0 ;
2796 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2802 arg2
= (int) SWIG_AsInt(obj1
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2806 arg3
= wxString_in_helper(obj2
);
2807 if (arg3
== NULL
) SWIG_fail
;
2814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2825 if (! PySequence_Check(obj5
)) {
2826 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2829 arg6
= new wxArrayString
;
2831 int i
, len
=PySequence_Length(obj5
);
2832 for (i
=0; i
<len
; i
++) {
2833 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2835 PyObject
* str
= PyObject_Unicode(item
);
2837 PyObject
* str
= PyObject_Str(item
);
2839 arg6
->Add(Py2wxString(str
));
2846 arg7
= (long) SWIG_AsLong(obj6
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2854 PyErr_SetString(PyExc_TypeError
,"null reference");
2860 arg9
= wxString_in_helper(obj8
);
2861 if (arg9
== NULL
) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 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
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2878 if (temp6
) delete arg6
;
2891 if (temp6
) delete arg6
;
2901 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxComboBox
*)new wxComboBox();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2923 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2926 wxWindow
*arg2
= (wxWindow
*) 0 ;
2928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2930 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2931 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2932 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2933 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2934 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2935 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2936 long arg8
= (long) 0 ;
2937 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2938 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2939 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2940 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2942 bool temp4
= False
;
2945 bool temp7
= False
;
2946 bool temp10
= False
;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2949 PyObject
* obj2
= 0 ;
2950 PyObject
* obj3
= 0 ;
2951 PyObject
* obj4
= 0 ;
2952 PyObject
* obj5
= 0 ;
2953 PyObject
* obj6
= 0 ;
2954 PyObject
* obj7
= 0 ;
2955 PyObject
* obj8
= 0 ;
2956 PyObject
* obj9
= 0 ;
2958 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 arg3
= (int) SWIG_AsInt(obj2
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 arg4
= wxString_in_helper(obj3
);
2971 if (arg4
== NULL
) SWIG_fail
;
2978 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2984 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2989 if (! PySequence_Check(obj6
)) {
2990 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2993 arg7
= new wxArrayString
;
2995 int i
, len
=PySequence_Length(obj6
);
2996 for (i
=0; i
<len
; i
++) {
2997 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2999 PyObject
* str
= PyObject_Unicode(item
);
3001 PyObject
* str
= PyObject_Str(item
);
3003 arg7
->Add(Py2wxString(str
));
3010 arg8
= (long) SWIG_AsLong(obj7
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3018 PyErr_SetString(PyExc_TypeError
,"null reference");
3024 arg10
= wxString_in_helper(obj9
);
3025 if (arg10
== NULL
) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 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
);
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3042 if (temp7
) delete arg7
;
3055 if (temp7
) delete arg7
;
3065 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3069 PyObject
* obj0
= 0 ;
3071 (char *) "self", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= ((wxComboBox
const *)arg1
)->GetValue();
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3097 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3100 wxString
*arg2
= 0 ;
3101 bool temp2
= False
;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "value", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= wxString_in_helper(obj1
);
3113 if (arg2
== NULL
) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetValue((wxString
const &)*arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3143 (char *) "self", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 Py_INCREF(Py_None
); resultobj
= Py_None
;
3188 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3193 (char *) "self", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3220 (char *) "self",(char *) "pos", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 arg2
= (long) SWIG_AsLong(obj1
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 (arg1
)->SetInsertionPoint(arg2
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 Py_INCREF(Py_None
); resultobj
= Py_None
;
3242 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3248 (char *) "self", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_FromLong((long)result
);
3268 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3274 (char *) "self", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_FromLong((long)result
);
3294 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3299 wxString
*arg4
= 0 ;
3300 bool temp4
= False
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3303 PyObject
* obj2
= 0 ;
3304 PyObject
* obj3
= 0 ;
3306 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3312 arg2
= (long) SWIG_AsLong(obj1
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3314 arg3
= (long) SWIG_AsLong(obj2
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 arg4
= wxString_in_helper(obj3
);
3318 if (arg4
== NULL
) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3350 (char *) "self",(char *) "n", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (int) SWIG_AsInt(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetSelection(arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3379 PyObject
* obj2
= 0 ;
3381 (char *) "self",(char *) "from",(char *) "to", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (long) SWIG_AsLong(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3389 arg3
= (long) SWIG_AsLong(obj2
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 (arg1
)->SetSelection(arg2
,arg3
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3405 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3412 (char *) "self",(char *) "editable", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 arg2
= (bool) SWIG_AsBool(obj1
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetEditable(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->SetInsertionPointEnd();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3466 PyObject
* obj2
= 0 ;
3468 (char *) "self",(char *) "from",(char *) "to", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (long) SWIG_AsLong(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3476 arg3
= (long) SWIG_AsLong(obj2
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->Remove(arg2
,arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3495 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3497 return Py_BuildValue((char *)"");
3499 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3500 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3505 static PyObject
*_wrap_GaugeNameStr_get() {
3510 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3512 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3519 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxWindow
*arg1
= (wxWindow
*) 0 ;
3524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3528 long arg6
= (long) wxGA_HORIZONTAL
;
3529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3531 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3536 bool temp8
= False
;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3539 PyObject
* obj2
= 0 ;
3540 PyObject
* obj3
= 0 ;
3541 PyObject
* obj4
= 0 ;
3542 PyObject
* obj5
= 0 ;
3543 PyObject
* obj6
= 0 ;
3544 PyObject
* obj7
= 0 ;
3546 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 arg2
= (int) SWIG_AsInt(obj1
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3554 arg3
= (int) SWIG_AsInt(obj2
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3569 arg6
= (long) SWIG_AsLong(obj5
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3577 PyErr_SetString(PyExc_TypeError
,"null reference");
3583 arg8
= wxString_in_helper(obj7
);
3584 if (arg8
== NULL
) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3610 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 result
= (wxGauge
*)new wxGauge();
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3632 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxGauge
*arg1
= (wxGauge
*) 0 ;
3635 wxWindow
*arg2
= (wxWindow
*) 0 ;
3638 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3639 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3640 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3641 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3642 long arg7
= (long) wxGA_HORIZONTAL
;
3643 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3644 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3645 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3646 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3650 bool temp9
= False
;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3653 PyObject
* obj2
= 0 ;
3654 PyObject
* obj3
= 0 ;
3655 PyObject
* obj4
= 0 ;
3656 PyObject
* obj5
= 0 ;
3657 PyObject
* obj6
= 0 ;
3658 PyObject
* obj7
= 0 ;
3659 PyObject
* obj8
= 0 ;
3661 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg3
= (int) SWIG_AsInt(obj2
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3671 arg4
= (int) SWIG_AsInt(obj3
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3676 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3682 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3686 arg7
= (long) SWIG_AsLong(obj6
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3694 PyErr_SetString(PyExc_TypeError
,"null reference");
3700 arg9
= wxString_in_helper(obj8
);
3701 if (arg9
== NULL
) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3727 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxGauge
*arg1
= (wxGauge
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3734 (char *) "self",(char *) "range", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg2
= (int) SWIG_AsInt(obj1
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetRange(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxGauge
*arg1
= (wxGauge
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3762 (char *) "self", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_FromInt((int)result
);
3782 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxGauge
*arg1
= (wxGauge
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "pos", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 arg2
= (int) SWIG_AsInt(obj1
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 (arg1
)->SetValue(arg2
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 Py_INCREF(Py_None
); resultobj
= Py_None
;
3811 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxGauge
*arg1
= (wxGauge
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 resultobj
= SWIG_FromInt((int)result
);
3837 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxGauge
*arg1
= (wxGauge
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3863 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxGauge
*arg1
= (wxGauge
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3870 (char *) "self",(char *) "w", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (int) SWIG_AsInt(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->SetShadowWidth(arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3892 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxGauge
*arg1
= (wxGauge
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "self", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_FromInt((int)result
);
3918 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxGauge
*arg1
= (wxGauge
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3925 (char *) "self",(char *) "w", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 arg2
= (int) SWIG_AsInt(obj1
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 (arg1
)->SetBezelFace(arg2
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 Py_INCREF(Py_None
); resultobj
= Py_None
;
3947 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxGauge
*arg1
= (wxGauge
*) 0 ;
3951 PyObject
* obj0
= 0 ;
3953 (char *) "self", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_FromInt((int)result
);
3973 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3978 return Py_BuildValue((char *)"");
3980 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3981 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3986 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3991 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3993 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4000 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4001 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4006 static PyObject
*_wrap_StaticBoxNameStr_get() {
4011 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4013 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4020 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4021 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4026 static PyObject
*_wrap_StaticTextNameStr_get() {
4031 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4033 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4040 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxWindow
*arg1
= (wxWindow
*) 0 ;
4044 wxString
*arg3
= 0 ;
4045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4049 long arg6
= (long) 0 ;
4050 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4052 wxStaticBox
*result
;
4053 bool temp3
= False
;
4056 bool temp7
= False
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 PyObject
* obj6
= 0 ;
4065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (int) SWIG_AsInt(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 arg3
= wxString_in_helper(obj2
);
4075 if (arg3
== NULL
) SWIG_fail
;
4081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4091 arg6
= (long) SWIG_AsLong(obj5
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4096 arg7
= wxString_in_helper(obj6
);
4097 if (arg7
== NULL
) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= wxPyMake_wxObject(result
);
4133 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxStaticBox
*result
;
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxStaticBox
*)new wxStaticBox();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= wxPyMake_wxObject(result
);
4157 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4160 wxWindow
*arg2
= (wxWindow
*) 0 ;
4162 wxString
*arg4
= 0 ;
4163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4167 long arg7
= (long) 0 ;
4168 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp4
= False
;
4174 bool temp8
= False
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4178 PyObject
* obj3
= 0 ;
4179 PyObject
* obj4
= 0 ;
4180 PyObject
* obj5
= 0 ;
4181 PyObject
* obj6
= 0 ;
4182 PyObject
* obj7
= 0 ;
4184 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4192 arg3
= (int) SWIG_AsInt(obj2
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 arg4
= wxString_in_helper(obj3
);
4196 if (arg4
== NULL
) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4212 arg7
= (long) SWIG_AsLong(obj6
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4217 arg8
= wxString_in_helper(obj7
);
4218 if (arg8
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4252 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4257 return Py_BuildValue((char *)"");
4259 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxWindow
*arg1
= (wxWindow
*) 0 ;
4263 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4264 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4265 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4266 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4267 long arg5
= (long) wxLI_HORIZONTAL
;
4268 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4269 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4270 wxStaticLine
*result
;
4273 bool temp6
= False
;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 arg2
= (int) SWIG_AsInt(obj1
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4302 arg5
= (long) SWIG_AsLong(obj4
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4307 arg6
= wxString_in_helper(obj5
);
4308 if (arg6
== NULL
) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4334 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxStaticLine
*result
;
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (wxStaticLine
*)new wxStaticLine();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4356 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4359 wxWindow
*arg2
= (wxWindow
*) 0 ;
4361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4365 long arg6
= (long) wxLI_HORIZONTAL
;
4366 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4371 bool temp7
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj5
= 0 ;
4378 PyObject
* obj6
= 0 ;
4380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg3
= (int) SWIG_AsInt(obj2
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4403 arg6
= (long) SWIG_AsLong(obj5
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 arg7
= wxString_in_helper(obj6
);
4409 if (arg7
== NULL
) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4441 (char *) "self", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (int)wxStaticLine::GetDefaultSize();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_FromInt((int)result
);
4483 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4486 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4488 return Py_BuildValue((char *)"");
4490 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxWindow
*arg1
= (wxWindow
*) 0 ;
4494 wxString
*arg3
= 0 ;
4495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4499 long arg6
= (long) 0 ;
4500 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4502 wxStaticText
*result
;
4503 bool temp3
= False
;
4506 bool temp7
= False
;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4510 PyObject
* obj3
= 0 ;
4511 PyObject
* obj4
= 0 ;
4512 PyObject
* obj5
= 0 ;
4513 PyObject
* obj6
= 0 ;
4515 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 arg2
= (int) SWIG_AsInt(obj1
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 arg3
= wxString_in_helper(obj2
);
4525 if (arg3
== NULL
) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4541 arg6
= (long) SWIG_AsLong(obj5
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4546 arg7
= wxString_in_helper(obj6
);
4547 if (arg7
== NULL
) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4581 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxStaticText
*result
;
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStaticText
*)new wxStaticText();
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4603 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4606 wxWindow
*arg2
= (wxWindow
*) 0 ;
4608 wxString
*arg4
= 0 ;
4609 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4610 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4611 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4612 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4613 long arg7
= (long) 0 ;
4614 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4615 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4617 bool temp4
= False
;
4620 bool temp8
= False
;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4624 PyObject
* obj3
= 0 ;
4625 PyObject
* obj4
= 0 ;
4626 PyObject
* obj5
= 0 ;
4627 PyObject
* obj6
= 0 ;
4628 PyObject
* obj7
= 0 ;
4630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 arg3
= (int) SWIG_AsInt(obj2
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 arg4
= wxString_in_helper(obj3
);
4642 if (arg4
== NULL
) SWIG_fail
;
4648 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4654 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4658 arg7
= (long) SWIG_AsLong(obj6
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 arg8
= wxString_in_helper(obj7
);
4664 if (arg8
== NULL
) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4701 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4703 return Py_BuildValue((char *)"");
4705 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxWindow
*arg1
= (wxWindow
*) 0 ;
4709 wxBitmap
*arg3
= 0 ;
4710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4714 long arg6
= (long) 0 ;
4715 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4717 wxStaticBitmap
*result
;
4720 bool temp7
= False
;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj2
= 0 ;
4724 PyObject
* obj3
= 0 ;
4725 PyObject
* obj4
= 0 ;
4726 PyObject
* obj5
= 0 ;
4727 PyObject
* obj6
= 0 ;
4729 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4735 arg2
= (int) SWIG_AsInt(obj1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4741 PyErr_SetString(PyExc_TypeError
,"null reference");
4747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4757 arg6
= (long) SWIG_AsLong(obj5
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4762 arg7
= wxString_in_helper(obj6
);
4763 if (arg7
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4789 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxStaticBitmap
*result
;
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4811 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4814 wxWindow
*arg2
= (wxWindow
*) 0 ;
4816 wxBitmap
*arg4
= 0 ;
4817 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4818 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4819 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4820 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4821 long arg7
= (long) 0 ;
4822 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4827 bool temp8
= False
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4830 PyObject
* obj2
= 0 ;
4831 PyObject
* obj3
= 0 ;
4832 PyObject
* obj4
= 0 ;
4833 PyObject
* obj5
= 0 ;
4834 PyObject
* obj6
= 0 ;
4835 PyObject
* obj7
= 0 ;
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 arg3
= (int) SWIG_AsInt(obj2
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4847 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4851 PyErr_SetString(PyExc_TypeError
,"null reference");
4857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4867 arg7
= (long) SWIG_AsLong(obj6
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4872 arg8
= wxString_in_helper(obj7
);
4873 if (arg8
== NULL
) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4899 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4905 (char *) "self", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (arg1
)->GetBitmap();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4919 wxBitmap
* resultptr
;
4920 resultptr
= new wxBitmap((wxBitmap
&) result
);
4921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4929 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4932 wxBitmap
*arg2
= 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "bitmap", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4946 PyErr_SetString(PyExc_TypeError
,"null reference");
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "icon", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4980 PyErr_SetString(PyExc_TypeError
,"null reference");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5002 return Py_BuildValue((char *)"");
5004 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5005 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5010 static PyObject
*_wrap_ListBoxNameStr_get() {
5015 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5017 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5024 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxWindow
*arg1
= (wxWindow
*) 0 ;
5028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5032 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5033 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5034 long arg6
= (long) 0 ;
5035 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5036 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5037 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5038 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5042 bool temp5
= False
;
5043 bool temp8
= False
;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5047 PyObject
* obj3
= 0 ;
5048 PyObject
* obj4
= 0 ;
5049 PyObject
* obj5
= 0 ;
5050 PyObject
* obj6
= 0 ;
5051 PyObject
* obj7
= 0 ;
5053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 arg2
= (int) SWIG_AsInt(obj1
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5075 if (! PySequence_Check(obj4
)) {
5076 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5079 arg5
= new wxArrayString
;
5081 int i
, len
=PySequence_Length(obj4
);
5082 for (i
=0; i
<len
; i
++) {
5083 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5085 PyObject
* str
= PyObject_Unicode(item
);
5087 PyObject
* str
= PyObject_Str(item
);
5089 arg5
->Add(Py2wxString(str
));
5096 arg6
= (long) SWIG_AsLong(obj5
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5104 PyErr_SetString(PyExc_TypeError
,"null reference");
5110 arg8
= wxString_in_helper(obj7
);
5111 if (arg8
== NULL
) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5124 if (temp5
) delete arg5
;
5133 if (temp5
) delete arg5
;
5143 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (wxListBox
*)new wxListBox();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5165 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxListBox
*arg1
= (wxListBox
*) 0 ;
5168 wxWindow
*arg2
= (wxWindow
*) 0 ;
5170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5174 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5175 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5176 long arg7
= (long) 0 ;
5177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5179 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5184 bool temp6
= False
;
5185 bool temp9
= False
;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5188 PyObject
* obj2
= 0 ;
5189 PyObject
* obj3
= 0 ;
5190 PyObject
* obj4
= 0 ;
5191 PyObject
* obj5
= 0 ;
5192 PyObject
* obj6
= 0 ;
5193 PyObject
* obj7
= 0 ;
5194 PyObject
* obj8
= 0 ;
5196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 arg3
= (int) SWIG_AsInt(obj2
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5220 if (! PySequence_Check(obj5
)) {
5221 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5224 arg6
= new wxArrayString
;
5226 int i
, len
=PySequence_Length(obj5
);
5227 for (i
=0; i
<len
; i
++) {
5228 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5230 PyObject
* str
= PyObject_Unicode(item
);
5232 PyObject
* str
= PyObject_Str(item
);
5234 arg6
->Add(Py2wxString(str
));
5241 arg7
= (long) SWIG_AsLong(obj6
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5249 PyErr_SetString(PyExc_TypeError
,"null reference");
5255 arg9
= wxString_in_helper(obj8
);
5256 if (arg9
== NULL
) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5269 if (temp6
) delete arg6
;
5278 if (temp6
) delete arg6
;
5288 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxListBox
*arg1
= (wxListBox
*) 0 ;
5291 wxString
*arg2
= 0 ;
5293 PyObject
*arg4
= (PyObject
*) NULL
;
5294 bool temp2
= False
;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 PyObject
* obj2
= 0 ;
5298 PyObject
* obj3
= 0 ;
5300 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 arg2
= wxString_in_helper(obj1
);
5308 if (arg2
== NULL
) SWIG_fail
;
5311 arg3
= (int) SWIG_AsInt(obj2
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxListBox
*arg1
= (wxListBox
*) 0 ;
5341 wxArrayString
*arg2
= 0 ;
5343 bool temp2
= False
;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5346 PyObject
* obj2
= 0 ;
5348 (char *) "self",(char *) "items",(char *) "pos", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 if (! PySequence_Check(obj1
)) {
5356 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5359 arg2
= new wxArrayString
;
5361 int i
, len
=PySequence_Length(obj1
);
5362 for (i
=0; i
<len
; i
++) {
5363 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5365 PyObject
* str
= PyObject_Unicode(item
);
5367 PyObject
* str
= PyObject_Str(item
);
5369 arg2
->Add(Py2wxString(str
));
5374 arg3
= (int) SWIG_AsInt(obj2
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 if (temp2
) delete arg2
;
5390 if (temp2
) delete arg2
;
5396 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxListBox
*arg1
= (wxListBox
*) 0 ;
5399 wxArrayString
*arg2
= 0 ;
5400 bool temp2
= False
;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5404 (char *) "self",(char *) "items", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 if (! PySequence_Check(obj1
)) {
5412 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5415 arg2
= new wxArrayString
;
5417 int i
, len
=PySequence_Length(obj1
);
5418 for (i
=0; i
<len
; i
++) {
5419 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5421 PyObject
* str
= PyObject_Unicode(item
);
5423 PyObject
* str
= PyObject_Str(item
);
5425 arg2
->Add(Py2wxString(str
));
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->Set((wxArrayString
const &)*arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 if (temp2
) delete arg2
;
5444 if (temp2
) delete arg2
;
5450 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxListBox
*arg1
= (wxListBox
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "n", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (int) SWIG_AsInt(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5480 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxListBox
*arg1
= (wxListBox
*) 0 ;
5484 bool arg3
= (bool) True
;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5489 (char *) "self",(char *) "n",(char *) "select", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 arg2
= (int) SWIG_AsInt(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 arg3
= (bool) SWIG_AsBool(obj2
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetSelection(arg2
,arg3
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 Py_INCREF(Py_None
); resultobj
= Py_None
;
5515 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxListBox
*arg1
= (wxListBox
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5522 (char *) "self",(char *) "n", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 arg2
= (int) SWIG_AsInt(obj1
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->Select(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxListBox
*arg1
= (wxListBox
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "n", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (int) SWIG_AsInt(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->Deselect(arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxListBox
*arg1
= (wxListBox
*) 0 ;
5576 int arg2
= (int) -1 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "itemToLeaveSelected", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->DeselectAll(arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxListBox
*arg1
= (wxListBox
*) 0 ;
5607 wxString
*arg2
= 0 ;
5608 bool arg3
= (bool) True
;
5610 bool temp2
= False
;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5613 PyObject
* obj2
= 0 ;
5615 (char *) "self",(char *) "s",(char *) "select", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5622 arg2
= wxString_in_helper(obj1
);
5623 if (arg2
== NULL
) SWIG_fail
;
5627 arg3
= (bool) SWIG_AsBool(obj2
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxListBox
*arg1
= (wxListBox
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5678 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxListBox
*arg1
= (wxListBox
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5685 (char *) "self",(char *) "n", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 arg2
= (int) SWIG_AsInt(obj1
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->SetFirstItem(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxListBox
*arg1
= (wxListBox
*) 0 ;
5710 wxString
*arg2
= 0 ;
5711 bool temp2
= False
;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "s", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg2
= wxString_in_helper(obj1
);
5723 if (arg2
== NULL
) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5748 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxListBox
*arg1
= (wxListBox
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "n", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 arg2
= (int) SWIG_AsInt(obj1
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->EnsureVisible(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxListBox
*arg1
= (wxListBox
*) 0 ;
5780 wxString
*arg2
= 0 ;
5781 bool temp2
= False
;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "self",(char *) "s", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 arg2
= wxString_in_helper(obj1
);
5793 if (arg2
== NULL
) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxListBox
*arg1
= (wxListBox
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxListBox
*arg1
= (wxListBox
*) 0 ;
5848 wxColour
*arg3
= 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 PyObject
* obj2
= 0 ;
5854 (char *) "self",(char *) "item",(char *) "c", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= (int) SWIG_AsInt(obj1
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxListBox
*arg1
= (wxListBox
*) 0 ;
5884 wxColour
*arg3
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5890 (char *) "self",(char *) "item",(char *) "c", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 arg2
= (int) SWIG_AsInt(obj1
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5900 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxListBox
*arg1
= (wxListBox
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 PyObject
* obj2
= 0 ;
5925 (char *) "self",(char *) "item",(char *) "f", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 arg2
= (int) SWIG_AsInt(obj1
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5937 PyErr_SetString(PyExc_TypeError
,"null reference");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5954 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5959 return Py_BuildValue((char *)"");
5961 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxWindow
*arg1
= (wxWindow
*) 0 ;
5965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5969 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5970 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5971 long arg6
= (long) 0 ;
5972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5974 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5976 wxCheckListBox
*result
;
5979 bool temp5
= False
;
5980 bool temp8
= False
;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5987 PyObject
* obj6
= 0 ;
5988 PyObject
* obj7
= 0 ;
5990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg2
= (int) SWIG_AsInt(obj1
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6007 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6012 if (! PySequence_Check(obj4
)) {
6013 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6016 arg5
= new wxArrayString
;
6018 int i
, len
=PySequence_Length(obj4
);
6019 for (i
=0; i
<len
; i
++) {
6020 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6022 PyObject
* str
= PyObject_Unicode(item
);
6024 PyObject
* str
= PyObject_Str(item
);
6026 arg5
->Add(Py2wxString(str
));
6033 arg6
= (long) SWIG_AsLong(obj5
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6041 PyErr_SetString(PyExc_TypeError
,"null reference");
6047 arg8
= wxString_in_helper(obj7
);
6048 if (arg8
== NULL
) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6061 if (temp5
) delete arg5
;
6070 if (temp5
) delete arg5
;
6080 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxCheckListBox
*result
;
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (wxCheckListBox
*)new wxCheckListBox();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6102 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6105 wxWindow
*arg2
= (wxWindow
*) 0 ;
6107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6111 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6112 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6113 long arg7
= (long) 0 ;
6114 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6115 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6116 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6117 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6121 bool temp6
= False
;
6122 bool temp9
= False
;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6126 PyObject
* obj3
= 0 ;
6127 PyObject
* obj4
= 0 ;
6128 PyObject
* obj5
= 0 ;
6129 PyObject
* obj6
= 0 ;
6130 PyObject
* obj7
= 0 ;
6131 PyObject
* obj8
= 0 ;
6133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg3
= (int) SWIG_AsInt(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6152 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6157 if (! PySequence_Check(obj5
)) {
6158 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6161 arg6
= new wxArrayString
;
6163 int i
, len
=PySequence_Length(obj5
);
6164 for (i
=0; i
<len
; i
++) {
6165 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6167 PyObject
* str
= PyObject_Unicode(item
);
6169 PyObject
* str
= PyObject_Str(item
);
6171 arg6
->Add(Py2wxString(str
));
6178 arg7
= (long) SWIG_AsLong(obj6
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6186 PyErr_SetString(PyExc_TypeError
,"null reference");
6192 arg9
= wxString_in_helper(obj8
);
6193 if (arg9
== NULL
) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6206 if (temp6
) delete arg6
;
6215 if (temp6
) delete arg6
;
6225 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "index", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int) SWIG_AsInt(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (bool)(arg1
)->IsChecked(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6255 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6259 int arg3
= (int) True
;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6264 (char *) "self",(char *) "index",(char *) "check", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 arg2
= (int) SWIG_AsInt(obj1
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 arg3
= (int) SWIG_AsInt(obj2
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->Check(arg2
,arg3
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (int)(arg1
)->GetItemHeight();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_FromInt((int)result
);
6316 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6325 (char *) "self",(char *) "pt", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_FromInt((int)result
);
6349 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6357 PyObject
* obj2
= 0 ;
6359 (char *) "self",(char *) "x",(char *) "y", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6365 arg2
= (int) SWIG_AsInt(obj1
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6367 arg3
= (int) SWIG_AsInt(obj2
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_FromInt((int)result
);
6383 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6386 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6388 return Py_BuildValue((char *)"");
6390 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6391 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6396 static PyObject
*_wrap_TextCtrlNameStr_get() {
6401 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6403 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6410 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6411 PyObject
*resultobj
;
6414 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxTextAttr
*)new wxTextAttr();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6429 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6430 PyObject
*resultobj
;
6431 wxColour
*arg1
= 0 ;
6432 wxColour
const &arg2_defvalue
= wxNullColour
;
6433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6434 wxFont
const &arg3_defvalue
= wxNullFont
;
6435 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6436 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 PyObject
* obj2
= 0 ;
6443 PyObject
* obj3
= 0 ;
6445 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6448 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6461 PyErr_SetString(PyExc_TypeError
,"null reference");
6466 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6483 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6488 argc
= PyObject_Length(args
);
6489 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6493 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6495 if ((argc
>= 1) && (argc
<= 4)) {
6498 _v
= wxColour_typecheck(argv
[0]);
6502 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6505 _v
= wxColour_typecheck(argv
[1]);
6509 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6513 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6522 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6524 _v
= SWIG_CheckInt(argv
[3]);
6526 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6533 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6538 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6568 (char *) "self", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6591 wxColour
*arg2
= 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "colText", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6623 wxColour
*arg2
= 0 ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6628 (char *) "self",(char *) "colBack", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6636 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6652 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6656 long arg3
= (long) wxTEXT_ATTR_FONT
;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 PyObject
* obj2
= 0 ;
6661 (char *) "self",(char *) "font",(char *) "flags", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6671 PyErr_SetString(PyExc_TypeError
,"null reference");
6675 arg3
= (long) SWIG_AsLong(obj2
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6699 (char *) "self",(char *) "alignment", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6705 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 Py_INCREF(Py_None
); resultobj
= Py_None
;
6721 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6724 wxArrayInt
*arg2
= 0 ;
6725 bool temp2
= False
;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "tabs", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 if (! PySequence_Check(obj1
)) {
6737 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6740 arg2
= new wxArrayInt
;
6742 int i
, len
=PySequence_Length(obj1
);
6743 for (i
=0; i
<len
; i
++) {
6744 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6745 PyObject
* number
= PyNumber_Int(item
);
6746 arg2
->Add(PyInt_AS_LONG(number
));
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 if (temp2
) delete arg2
;
6765 if (temp2
) delete arg2
;
6771 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "indent", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6784 arg2
= (int) SWIG_AsInt(obj1
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->SetLeftIndent(arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "indent", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 arg2
= (int) SWIG_AsInt(obj1
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetRightIndent(arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "flags", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg2
= (long) SWIG_AsLong(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->SetFlags(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6884 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6910 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6988 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7020 (char *) "self", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7040 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "self",(char *) "flag", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 arg2
= (long) SWIG_AsLong(obj1
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7086 result
= (wxColour
*) &_result_ref
;
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7099 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7105 (char *) "self", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7115 result
= (wxColour
*) &_result_ref
;
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7128 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "self", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7144 result
= (wxFont
*) &_result_ref
;
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
7157 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "self", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_FromInt((int)result
);
7183 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7199 result
= (wxArrayInt
*) &_result_ref
;
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= PyList_New(0);
7208 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7209 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7210 PyList_Append(resultobj
, val
);
7220 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_FromLong((long)result
);
7246 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_FromLong((long)result
);
7272 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7278 (char *) "self", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_FromLong((long)result
);
7298 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7324 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxTextAttr
*arg1
= 0 ;
7327 wxTextAttr
*arg2
= 0 ;
7328 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 PyObject
* obj2
= 0 ;
7334 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7342 PyErr_SetString(PyExc_TypeError
,"null reference");
7345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7349 PyErr_SetString(PyExc_TypeError
,"null reference");
7352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 wxTextAttr
* resultptr
;
7363 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7372 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7377 return Py_BuildValue((char *)"");
7379 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxWindow
*arg1
= (wxWindow
*) 0 ;
7383 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7384 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7389 long arg6
= (long) 0 ;
7390 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7391 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7392 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7393 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7395 bool temp3
= False
;
7398 bool temp8
= False
;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7402 PyObject
* obj3
= 0 ;
7403 PyObject
* obj4
= 0 ;
7404 PyObject
* obj5
= 0 ;
7405 PyObject
* obj6
= 0 ;
7406 PyObject
* obj7
= 0 ;
7408 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7414 arg2
= (int) SWIG_AsInt(obj1
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 arg3
= wxString_in_helper(obj2
);
7419 if (arg3
== NULL
) SWIG_fail
;
7426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7436 arg6
= (long) SWIG_AsLong(obj5
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7444 PyErr_SetString(PyExc_TypeError
,"null reference");
7450 arg8
= wxString_in_helper(obj7
);
7451 if (arg8
== NULL
) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= wxPyMake_wxObject(result
);
7487 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (wxTextCtrl
*)new wxTextCtrl();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= wxPyMake_wxObject(result
);
7511 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7514 wxWindow
*arg2
= (wxWindow
*) 0 ;
7516 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7517 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7518 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7519 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7520 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7521 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7522 long arg7
= (long) 0 ;
7523 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7524 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7525 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7526 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7528 bool temp4
= False
;
7531 bool temp9
= False
;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7534 PyObject
* obj2
= 0 ;
7535 PyObject
* obj3
= 0 ;
7536 PyObject
* obj4
= 0 ;
7537 PyObject
* obj5
= 0 ;
7538 PyObject
* obj6
= 0 ;
7539 PyObject
* obj7
= 0 ;
7540 PyObject
* obj8
= 0 ;
7542 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7550 arg3
= (int) SWIG_AsInt(obj2
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7554 arg4
= wxString_in_helper(obj3
);
7555 if (arg4
== NULL
) SWIG_fail
;
7562 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7568 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7572 arg7
= (long) SWIG_AsLong(obj6
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7576 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7580 PyErr_SetString(PyExc_TypeError
,"null reference");
7586 arg9
= wxString_in_helper(obj8
);
7587 if (arg9
== NULL
) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7621 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7653 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7656 wxString
*arg2
= 0 ;
7657 bool temp2
= False
;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "value", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg2
= wxString_in_helper(obj1
);
7669 if (arg2
== NULL
) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->SetValue((wxString
const &)*arg2
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7694 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7702 PyObject
* obj2
= 0 ;
7704 (char *) "self",(char *) "from",(char *) "to", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 arg2
= (long) SWIG_AsLong(obj1
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7712 arg3
= (long) SWIG_AsLong(obj2
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7734 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7742 (char *) "self",(char *) "lineNo", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 arg2
= (long) SWIG_AsLong(obj1
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_FromInt((int)result
);
7764 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "lineNo", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 arg2
= (long) SWIG_AsLong(obj1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7800 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_FromInt((int)result
);
7826 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7832 (char *) "self", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7852 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7878 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7904 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7933 long *arg2
= (long *) 0 ;
7934 long *arg3
= (long *) 0 ;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "self", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7956 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7957 resultobj
= t_output_helper(resultobj
,o
);
7960 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7961 resultobj
= t_output_helper(resultobj
,o
);
7969 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7975 (char *) "self", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8001 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8031 wxString
*arg4
= 0 ;
8032 bool temp4
= False
;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8035 PyObject
* obj2
= 0 ;
8036 PyObject
* obj3
= 0 ;
8038 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 arg2
= (long) SWIG_AsLong(obj1
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8046 arg3
= (long) SWIG_AsLong(obj2
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 arg4
= wxString_in_helper(obj3
);
8050 if (arg4
== NULL
) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8082 PyObject
* obj2
= 0 ;
8084 (char *) "self",(char *) "from",(char *) "to", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 arg2
= (long) SWIG_AsLong(obj1
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8092 arg3
= (long) SWIG_AsLong(obj2
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 (arg1
)->Remove(arg2
,arg3
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 Py_INCREF(Py_None
); resultobj
= Py_None
;
8108 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8111 wxString
*arg2
= 0 ;
8113 bool temp2
= False
;
8114 PyObject
* obj0
= 0 ;
8115 PyObject
* obj1
= 0 ;
8117 (char *) "self",(char *) "file", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 arg2
= wxString_in_helper(obj1
);
8125 if (arg2
== NULL
) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8150 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8153 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8154 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8156 bool temp2
= False
;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "file", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 arg2
= wxString_in_helper(obj1
);
8169 if (arg2
== NULL
) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8195 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 (arg1
)->MarkDirty();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 (arg1
)->DiscardEdits();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8248 unsigned long arg2
;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "self",(char *) "len", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 (arg1
)->SetMaxLength(arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8274 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8277 wxString
*arg2
= 0 ;
8278 bool temp2
= False
;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8282 (char *) "self",(char *) "text", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= wxString_in_helper(obj1
);
8290 if (arg2
== NULL
) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 (arg1
)->WriteText((wxString
const &)*arg2
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8318 wxString
*arg2
= 0 ;
8319 bool temp2
= False
;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8323 (char *) "self",(char *) "text", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8330 arg2
= wxString_in_helper(obj1
);
8331 if (arg2
== NULL
) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 (arg1
)->AppendText((wxString
const &)*arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 Py_INCREF(Py_None
); resultobj
= Py_None
;
8356 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8359 wxKeyEvent
*arg2
= 0 ;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8364 (char *) "self",(char *) "event", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8374 PyErr_SetString(PyExc_TypeError
,"null reference");
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8391 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8396 wxTextAttr
*arg4
= 0 ;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8400 PyObject
* obj2
= 0 ;
8401 PyObject
* obj3
= 0 ;
8403 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8409 arg2
= (long) SWIG_AsLong(obj1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8411 arg3
= (long) SWIG_AsLong(obj2
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8413 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8417 PyErr_SetString(PyExc_TypeError
,"null reference");
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8434 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8438 wxTextAttr
*arg3
= 0 ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8442 PyObject
* obj2
= 0 ;
8444 (char *) "self",(char *) "position",(char *) "style", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 arg2
= (long) SWIG_AsLong(obj1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8456 PyErr_SetString(PyExc_TypeError
,"null reference");
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8473 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8476 wxTextAttr
*arg2
= 0 ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "self",(char *) "style", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8491 PyErr_SetString(PyExc_TypeError
,"null reference");
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8508 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8524 result
= (wxTextAttr
*) &_result_ref
;
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8537 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8545 PyObject
* obj2
= 0 ;
8547 (char *) "self",(char *) "x",(char *) "y", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 arg2
= (long) SWIG_AsLong(obj1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8555 arg3
= (long) SWIG_AsLong(obj2
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_FromLong((long)result
);
8571 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 long *arg3
= (long *) 0 ;
8576 long *arg4
= (long *) 0 ;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8582 (char *) "self",(char *) "pos", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 arg2
= (long) SWIG_AsLong(obj1
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8602 resultobj
= t_output_helper(resultobj
,o
);
8605 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8606 resultobj
= t_output_helper(resultobj
,o
);
8614 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8621 (char *) "self",(char *) "pos", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8627 arg2
= (long) SWIG_AsLong(obj1
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 (arg1
)->ShowPosition(arg2
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 Py_INCREF(Py_None
); resultobj
= Py_None
;
8643 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8647 long *arg3
= (long *) 0 ;
8648 long *arg4
= (long *) 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 (char *) "self",(char *) "pt", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= SWIG_FromInt((int)result
);
8677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8678 resultobj
= t_output_helper(resultobj
,o
);
8681 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8682 resultobj
= t_output_helper(resultobj
,o
);
8690 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8695 (char *) "self", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 Py_INCREF(Py_None
); resultobj
= Py_None
;
8715 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8720 (char *) "self", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 Py_INCREF(Py_None
); resultobj
= Py_None
;
8740 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8745 (char *) "self", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8791 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8817 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "self", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8848 (char *) "self", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 Py_INCREF(Py_None
); resultobj
= Py_None
;
8868 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8873 (char *) "self", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "self", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8919 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "self", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8945 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8952 (char *) "self",(char *) "pos", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 arg2
= (long) SWIG_AsLong(obj1
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 (arg1
)->SetInsertionPoint(arg2
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "self", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SetInsertionPointEnd();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= SWIG_FromLong((long)result
);
9025 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9031 (char *) "self", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_FromLong((long)result
);
9051 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 PyObject
* obj2
= 0 ;
9060 (char *) "self",(char *) "from",(char *) "to", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9066 arg2
= (long) SWIG_AsLong(obj1
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9068 arg3
= (long) SWIG_AsLong(obj2
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->SetSelection(arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->SelectAll();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9116 (char *) "self",(char *) "editable", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 arg2
= (bool) SWIG_AsBool(obj1
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 (arg1
)->SetEditable(arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9141 wxString
*arg2
= 0 ;
9142 bool temp2
= False
;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "text", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 arg2
= wxString_in_helper(obj1
);
9154 if (arg2
== NULL
) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 Py_INCREF(Py_None
); resultobj
= Py_None
;
9179 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 PyObject
* obj2
= 0 ;
9189 (char *) "self",(char *) "from",(char *) "to", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 arg2
= (long) SWIG_AsLong(obj1
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9197 arg3
= (long) SWIG_AsLong(obj2
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9219 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9222 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9224 return Py_BuildValue((char *)"");
9226 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9229 wxMouseEvent
*arg2
= 0 ;
9232 wxTextUrlEvent
*result
;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 PyObject
* obj2
= 0 ;
9236 PyObject
* obj3
= 0 ;
9238 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9242 arg1
= (int) SWIG_AsInt(obj0
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9248 PyErr_SetString(PyExc_TypeError
,"null reference");
9251 arg3
= (long) SWIG_AsLong(obj2
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9253 arg4
= (long) SWIG_AsLong(obj3
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9269 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9272 wxMouseEvent
*result
;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9285 result
= (wxMouseEvent
*) &_result_ref
;
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9298 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9304 (char *) "self", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_FromLong((long)result
);
9324 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_FromLong((long)result
);
9350 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9353 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9355 return Py_BuildValue((char *)"");
9357 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9358 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9363 static PyObject
*_wrap_ScrollBarNameStr_get() {
9368 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9370 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9377 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxWindow
*arg1
= (wxWindow
*) 0 ;
9380 int arg2
= (int) -1 ;
9381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9385 long arg5
= (long) wxSB_HORIZONTAL
;
9386 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9387 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9388 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9389 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9390 wxScrollBar
*result
;
9393 bool temp7
= False
;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9397 PyObject
* obj3
= 0 ;
9398 PyObject
* obj4
= 0 ;
9399 PyObject
* obj5
= 0 ;
9400 PyObject
* obj6
= 0 ;
9402 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9409 arg2
= (int) SWIG_AsInt(obj1
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9425 arg5
= (long) SWIG_AsLong(obj4
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9429 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9433 PyErr_SetString(PyExc_TypeError
,"null reference");
9439 arg7
= wxString_in_helper(obj6
);
9440 if (arg7
== NULL
) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9466 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxScrollBar
*result
;
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (wxScrollBar
*)new wxScrollBar();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9488 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9491 wxWindow
*arg2
= (wxWindow
*) 0 ;
9492 int arg3
= (int) -1 ;
9493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9497 long arg6
= (long) wxSB_HORIZONTAL
;
9498 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9499 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9500 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9505 bool temp8
= False
;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9509 PyObject
* obj3
= 0 ;
9510 PyObject
* obj4
= 0 ;
9511 PyObject
* obj5
= 0 ;
9512 PyObject
* obj6
= 0 ;
9513 PyObject
* obj7
= 0 ;
9515 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 arg3
= (int) SWIG_AsInt(obj2
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9530 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9536 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9540 arg6
= (long) SWIG_AsLong(obj5
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9548 PyErr_SetString(PyExc_TypeError
,"null reference");
9554 arg8
= wxString_in_helper(obj7
);
9555 if (arg8
== NULL
) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9581 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
;
9583 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9585 PyObject
* obj0
= 0 ;
9587 (char *) "self", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_FromInt((int)result
);
9607 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "self", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_FromInt((int)result
);
9633 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9639 (char *) "self", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_FromInt((int)result
);
9659 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "self", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_FromInt((int)result
);
9685 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "self", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9711 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9718 (char *) "self",(char *) "viewStart", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 arg2
= (int) SWIG_AsInt(obj1
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->SetThumbPosition(arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 Py_INCREF(Py_None
); resultobj
= Py_None
;
9740 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9747 bool arg6
= (bool) True
;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 PyObject
* obj2
= 0 ;
9751 PyObject
* obj3
= 0 ;
9752 PyObject
* obj4
= 0 ;
9753 PyObject
* obj5
= 0 ;
9755 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9761 arg2
= (int) SWIG_AsInt(obj1
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9763 arg3
= (int) SWIG_AsInt(obj2
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9765 arg4
= (int) SWIG_AsInt(obj3
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9767 arg5
= (int) SWIG_AsInt(obj4
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 arg6
= (bool) SWIG_AsBool(obj5
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9787 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9790 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9792 return Py_BuildValue((char *)"");
9794 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9795 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9800 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9805 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9807 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9814 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9815 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9820 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9825 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9827 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9834 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxWindow
*arg1
= (wxWindow
*) 0 ;
9837 int arg2
= (int) -1 ;
9838 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9839 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9840 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9841 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9842 long arg5
= (long) wxSP_HORIZONTAL
;
9843 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9844 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9845 wxSpinButton
*result
;
9848 bool temp6
= False
;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 PyObject
* obj3
= 0 ;
9853 PyObject
* obj4
= 0 ;
9854 PyObject
* obj5
= 0 ;
9856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 arg2
= (int) SWIG_AsInt(obj1
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9879 arg5
= (long) SWIG_AsLong(obj4
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9884 arg6
= wxString_in_helper(obj5
);
9885 if (arg6
== NULL
) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9911 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxSpinButton
*result
;
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (wxSpinButton
*)new wxSpinButton();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9933 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9936 wxWindow
*arg2
= (wxWindow
*) 0 ;
9937 int arg3
= (int) -1 ;
9938 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9939 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9940 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9941 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9942 long arg6
= (long) wxSP_HORIZONTAL
;
9943 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9944 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9948 bool temp7
= False
;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9951 PyObject
* obj2
= 0 ;
9952 PyObject
* obj3
= 0 ;
9953 PyObject
* obj4
= 0 ;
9954 PyObject
* obj5
= 0 ;
9955 PyObject
* obj6
= 0 ;
9957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 arg3
= (int) SWIG_AsInt(obj2
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9982 arg6
= (long) SWIG_AsLong(obj5
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9987 arg7
= wxString_in_helper(obj6
);
9988 if (arg7
== NULL
) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= SWIG_FromInt((int)result
);
10040 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_FromInt((int)result
);
10066 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_FromInt((int)result
);
10092 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self",(char *) "val", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 arg2
= (int) SWIG_AsInt(obj1
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 (arg1
)->SetValue(arg2
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "minVal", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10134 arg2
= (int) SWIG_AsInt(obj1
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->SetMin(arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 Py_INCREF(Py_None
); resultobj
= Py_None
;
10150 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self",(char *) "maxVal", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 arg2
= (int) SWIG_AsInt(obj1
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->SetMax(arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 PyObject
* obj2
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 arg2
= (int) SWIG_AsInt(obj1
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10196 arg3
= (int) SWIG_AsInt(obj2
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 (arg1
)->SetRange(arg2
,arg3
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 Py_INCREF(Py_None
); resultobj
= Py_None
;
10212 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10238 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10241 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10243 return Py_BuildValue((char *)"");
10245 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxWindow
*arg1
= (wxWindow
*) 0 ;
10248 int arg2
= (int) -1 ;
10249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10255 long arg6
= (long) wxSP_ARROW_KEYS
;
10256 int arg7
= (int) 0 ;
10257 int arg8
= (int) 100 ;
10258 int arg9
= (int) 0 ;
10259 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10260 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10261 wxSpinCtrl
*result
;
10262 bool temp3
= False
;
10265 bool temp10
= False
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10269 PyObject
* obj3
= 0 ;
10270 PyObject
* obj4
= 0 ;
10271 PyObject
* obj5
= 0 ;
10272 PyObject
* obj6
= 0 ;
10273 PyObject
* obj7
= 0 ;
10274 PyObject
* obj8
= 0 ;
10275 PyObject
* obj9
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 arg2
= (int) SWIG_AsInt(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10289 arg3
= wxString_in_helper(obj2
);
10290 if (arg3
== NULL
) SWIG_fail
;
10297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10307 arg6
= (long) SWIG_AsLong(obj5
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 arg7
= (int) SWIG_AsInt(obj6
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 arg8
= (int) SWIG_AsInt(obj7
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10319 arg9
= (int) SWIG_AsInt(obj8
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10324 arg10
= wxString_in_helper(obj9
);
10325 if (arg10
== NULL
) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10359 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxSpinCtrl
*result
;
10362 char *kwnames
[] = {
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10381 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
;
10383 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10384 wxWindow
*arg2
= (wxWindow
*) 0 ;
10385 int arg3
= (int) -1 ;
10386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10392 long arg7
= (long) wxSP_ARROW_KEYS
;
10393 int arg8
= (int) 0 ;
10394 int arg9
= (int) 100 ;
10395 int arg10
= (int) 0 ;
10396 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10397 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10399 bool temp4
= False
;
10402 bool temp11
= False
;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 PyObject
* obj3
= 0 ;
10407 PyObject
* obj4
= 0 ;
10408 PyObject
* obj5
= 0 ;
10409 PyObject
* obj6
= 0 ;
10410 PyObject
* obj7
= 0 ;
10411 PyObject
* obj8
= 0 ;
10412 PyObject
* obj9
= 0 ;
10413 PyObject
* obj10
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 arg3
= (int) SWIG_AsInt(obj2
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10429 arg4
= wxString_in_helper(obj3
);
10430 if (arg4
== NULL
) SWIG_fail
;
10437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10447 arg7
= (long) SWIG_AsLong(obj6
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10451 arg8
= (int) SWIG_AsInt(obj7
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10455 arg9
= (int) SWIG_AsInt(obj8
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 arg10
= (int) SWIG_AsInt(obj9
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10464 arg11
= wxString_in_helper(obj10
);
10465 if (arg11
== NULL
) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10499 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_FromInt((int)result
);
10525 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self",(char *) "value", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10538 arg2
= (int) SWIG_AsInt(obj1
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 (arg1
)->SetValue(arg2
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 Py_INCREF(Py_None
); resultobj
= Py_None
;
10554 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10557 wxString
*arg2
= 0 ;
10558 bool temp2
= False
;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "text", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10569 arg2
= wxString_in_helper(obj1
);
10570 if (arg2
== NULL
) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 (arg1
)->SetValue((wxString
const &)*arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 PyObject
* obj2
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10610 arg2
= (int) SWIG_AsInt(obj1
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10612 arg3
= (int) SWIG_AsInt(obj2
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetRange(arg2
,arg3
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10628 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_FromInt((int)result
);
10654 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_FromInt((int)result
);
10680 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 PyObject
* obj2
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "from",(char *) "to", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10695 arg2
= (long) SWIG_AsLong(obj1
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10697 arg3
= (long) SWIG_AsLong(obj2
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetSelection(arg2
,arg3
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10716 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10718 return Py_BuildValue((char *)"");
10720 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10723 int arg2
= (int) 0 ;
10724 wxSpinEvent
*result
;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "commandType",(char *) "winid", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10733 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 arg2
= (int) SWIG_AsInt(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10754 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_FromInt((int)result
);
10780 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "pos", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int) SWIG_AsInt(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetPosition(arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10812 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10814 return Py_BuildValue((char *)"");
10816 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10817 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10822 static PyObject
*_wrap_RadioBoxNameStr_get() {
10827 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10829 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10836 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10837 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10842 static PyObject
*_wrap_RadioButtonNameStr_get() {
10847 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10849 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10856 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxWindow
*arg1
= (wxWindow
*) 0 ;
10860 wxString
*arg3
= 0 ;
10861 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10862 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10863 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10864 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10865 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10866 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10867 int arg7
= (int) 0 ;
10868 long arg8
= (long) wxRA_HORIZONTAL
;
10869 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10870 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10871 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10872 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10873 wxRadioBox
*result
;
10874 bool temp3
= False
;
10877 bool temp6
= False
;
10878 bool temp10
= False
;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 PyObject
* obj3
= 0 ;
10883 PyObject
* obj4
= 0 ;
10884 PyObject
* obj5
= 0 ;
10885 PyObject
* obj6
= 0 ;
10886 PyObject
* obj7
= 0 ;
10887 PyObject
* obj8
= 0 ;
10888 PyObject
* obj9
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= (int) SWIG_AsInt(obj1
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 arg3
= wxString_in_helper(obj2
);
10900 if (arg3
== NULL
) SWIG_fail
;
10906 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10912 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10917 if (! PySequence_Check(obj5
)) {
10918 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10921 arg6
= new wxArrayString
;
10923 int i
, len
=PySequence_Length(obj5
);
10924 for (i
=0; i
<len
; i
++) {
10925 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10927 PyObject
* str
= PyObject_Unicode(item
);
10929 PyObject
* str
= PyObject_Str(item
);
10931 arg6
->Add(Py2wxString(str
));
10938 arg7
= (int) SWIG_AsInt(obj6
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10942 arg8
= (long) SWIG_AsLong(obj7
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
10947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10949 if (arg9
== NULL
) {
10950 PyErr_SetString(PyExc_TypeError
,"null reference");
10956 arg10
= wxString_in_helper(obj9
);
10957 if (arg10
== NULL
) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 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
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
10974 if (temp6
) delete arg6
;
10987 if (temp6
) delete arg6
;
10997 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxRadioBox
*result
;
11000 char *kwnames
[] = {
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (wxRadioBox
*)new wxRadioBox();
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11019 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11022 wxWindow
*arg2
= (wxWindow
*) 0 ;
11024 wxString
*arg4
= 0 ;
11025 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11026 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11027 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11028 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11029 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11030 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11031 int arg8
= (int) 0 ;
11032 long arg9
= (long) wxRA_HORIZONTAL
;
11033 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11034 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11035 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11036 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11038 bool temp4
= False
;
11041 bool temp7
= False
;
11042 bool temp11
= False
;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 PyObject
* obj2
= 0 ;
11046 PyObject
* obj3
= 0 ;
11047 PyObject
* obj4
= 0 ;
11048 PyObject
* obj5
= 0 ;
11049 PyObject
* obj6
= 0 ;
11050 PyObject
* obj7
= 0 ;
11051 PyObject
* obj8
= 0 ;
11052 PyObject
* obj9
= 0 ;
11053 PyObject
* obj10
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 arg3
= (int) SWIG_AsInt(obj2
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 arg4
= wxString_in_helper(obj3
);
11067 if (arg4
== NULL
) SWIG_fail
;
11073 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11079 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11084 if (! PySequence_Check(obj6
)) {
11085 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11088 arg7
= new wxArrayString
;
11090 int i
, len
=PySequence_Length(obj6
);
11091 for (i
=0; i
<len
; i
++) {
11092 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11094 PyObject
* str
= PyObject_Unicode(item
);
11096 PyObject
* str
= PyObject_Str(item
);
11098 arg7
->Add(Py2wxString(str
));
11105 arg8
= (int) SWIG_AsInt(obj7
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11109 arg9
= (long) SWIG_AsLong(obj8
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11116 if (arg10
== NULL
) {
11117 PyErr_SetString(PyExc_TypeError
,"null reference");
11123 arg11
= wxString_in_helper(obj10
);
11124 if (arg11
== NULL
) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 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
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11141 if (temp7
) delete arg7
;
11154 if (temp7
) delete arg7
;
11164 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "n", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 arg2
= (int) SWIG_AsInt(obj1
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 (arg1
)->SetSelection(arg2
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 Py_INCREF(Py_None
); resultobj
= Py_None
;
11193 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_FromInt((int)result
);
11219 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11251 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11254 wxString
*arg2
= 0 ;
11256 bool temp2
= False
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "s", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= wxString_in_helper(obj1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11293 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_FromInt((int)result
);
11319 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11322 wxString
*arg2
= 0 ;
11324 bool temp2
= False
;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self",(char *) "s", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11335 arg2
= wxString_in_helper(obj1
);
11336 if (arg2
== NULL
) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_FromInt((int)result
);
11361 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "n", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11375 arg2
= (int) SWIG_AsInt(obj1
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11397 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11401 wxString
*arg3
= 0 ;
11402 bool temp3
= False
;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 PyObject
* obj2
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "n",(char *) "label", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 arg2
= (int) SWIG_AsInt(obj1
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 arg3
= wxString_in_helper(obj2
);
11417 if (arg3
== NULL
) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11446 bool arg3
= (bool) True
;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self",(char *) "n",(char *) "enable", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11457 arg2
= (int) SWIG_AsInt(obj1
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 arg3
= (bool) SWIG_AsBool(obj2
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 (arg1
)->Enable(arg2
,arg3
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 Py_INCREF(Py_None
); resultobj
= Py_None
;
11477 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11481 bool arg3
= (bool) True
;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "n",(char *) "show", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= (int) SWIG_AsInt(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 arg3
= (bool) SWIG_AsBool(obj2
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->Show(arg2
,arg3
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11516 PyObject
* obj0
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_FromInt((int)result
);
11538 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 resultobj
= SWIG_FromInt((int)result
);
11564 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 PyObject
* obj3
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 arg2
= (int) SWIG_AsInt(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11584 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11586 arg4
= (long) SWIG_AsLong(obj3
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_FromInt((int)result
);
11602 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11607 return Py_BuildValue((char *)"");
11609 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxWindow
*arg1
= (wxWindow
*) 0 ;
11613 wxString
*arg3
= 0 ;
11614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11618 long arg6
= (long) 0 ;
11619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11621 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11623 wxRadioButton
*result
;
11624 bool temp3
= False
;
11627 bool temp8
= False
;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 PyObject
* obj3
= 0 ;
11632 PyObject
* obj4
= 0 ;
11633 PyObject
* obj5
= 0 ;
11634 PyObject
* obj6
= 0 ;
11635 PyObject
* obj7
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11643 arg2
= (int) SWIG_AsInt(obj1
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 arg3
= wxString_in_helper(obj2
);
11647 if (arg3
== NULL
) SWIG_fail
;
11653 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11659 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11663 arg6
= (long) SWIG_AsLong(obj5
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11667 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11670 if (arg7
== NULL
) {
11671 PyErr_SetString(PyExc_TypeError
,"null reference");
11677 arg8
= wxString_in_helper(obj7
);
11678 if (arg8
== NULL
) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11712 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxRadioButton
*result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxRadioButton
*)new wxRadioButton();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11734 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11737 wxWindow
*arg2
= (wxWindow
*) 0 ;
11739 wxString
*arg4
= 0 ;
11740 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11741 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11742 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11743 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11744 long arg7
= (long) 0 ;
11745 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11746 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11747 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11748 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11750 bool temp4
= False
;
11753 bool temp9
= False
;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 PyObject
* obj2
= 0 ;
11757 PyObject
* obj3
= 0 ;
11758 PyObject
* obj4
= 0 ;
11759 PyObject
* obj5
= 0 ;
11760 PyObject
* obj6
= 0 ;
11761 PyObject
* obj7
= 0 ;
11762 PyObject
* obj8
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 arg3
= (int) SWIG_AsInt(obj2
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 arg4
= wxString_in_helper(obj3
);
11776 if (arg4
== NULL
) SWIG_fail
;
11782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11788 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11792 arg7
= (long) SWIG_AsLong(obj6
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11796 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11799 if (arg8
== NULL
) {
11800 PyErr_SetString(PyExc_TypeError
,"null reference");
11806 arg9
= wxString_in_helper(obj8
);
11807 if (arg9
== NULL
) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (bool)(arg1
)->GetValue();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11867 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "value", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11880 arg2
= (bool) SWIG_AsBool(obj1
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetValue(arg2
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11896 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11899 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11901 return Py_BuildValue((char *)"");
11903 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11904 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11909 static PyObject
*_wrap_SliderNameStr_get() {
11914 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11916 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11923 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxWindow
*arg1
= (wxWindow
*) 0 ;
11930 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11931 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11932 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11933 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11934 long arg8
= (long) wxSL_HORIZONTAL
;
11935 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11936 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11937 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11938 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11942 bool temp10
= False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 PyObject
* obj4
= 0 ;
11948 PyObject
* obj5
= 0 ;
11949 PyObject
* obj6
= 0 ;
11950 PyObject
* obj7
= 0 ;
11951 PyObject
* obj8
= 0 ;
11952 PyObject
* obj9
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 arg2
= (int) SWIG_AsInt(obj1
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11962 arg3
= (int) SWIG_AsInt(obj2
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11964 arg4
= (int) SWIG_AsInt(obj3
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11966 arg5
= (int) SWIG_AsInt(obj4
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11971 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11977 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11981 arg8
= (long) SWIG_AsLong(obj7
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11988 if (arg9
== NULL
) {
11989 PyErr_SetString(PyExc_TypeError
,"null reference");
11995 arg10
= wxString_in_helper(obj9
);
11996 if (arg10
== NULL
) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12022 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12025 char *kwnames
[] = {
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (wxSlider
*)new wxSlider();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12044 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxSlider
*arg1
= (wxSlider
*) 0 ;
12047 wxWindow
*arg2
= (wxWindow
*) 0 ;
12052 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12053 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12054 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12055 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12056 long arg9
= (long) wxSL_HORIZONTAL
;
12057 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12058 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12059 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12060 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12064 bool temp11
= False
;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 PyObject
* obj2
= 0 ;
12068 PyObject
* obj3
= 0 ;
12069 PyObject
* obj4
= 0 ;
12070 PyObject
* obj5
= 0 ;
12071 PyObject
* obj6
= 0 ;
12072 PyObject
* obj7
= 0 ;
12073 PyObject
* obj8
= 0 ;
12074 PyObject
* obj9
= 0 ;
12075 PyObject
* obj10
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12085 arg3
= (int) SWIG_AsInt(obj2
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12087 arg4
= (int) SWIG_AsInt(obj3
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12089 arg5
= (int) SWIG_AsInt(obj4
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12091 arg6
= (int) SWIG_AsInt(obj5
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12096 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12102 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12106 arg9
= (long) SWIG_AsLong(obj8
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12113 if (arg10
== NULL
) {
12114 PyErr_SetString(PyExc_TypeError
,"null reference");
12120 arg11
= wxString_in_helper(obj10
);
12121 if (arg11
== NULL
) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxSlider
*arg1
= (wxSlider
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_FromInt((int)result
);
12173 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxSlider
*arg1
= (wxSlider
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "value", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 arg2
= (int) SWIG_AsInt(obj1
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 (arg1
)->SetValue(arg2
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxSlider
*arg1
= (wxSlider
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 PyObject
* obj2
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 arg2
= (int) SWIG_AsInt(obj1
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12219 arg3
= (int) SWIG_AsInt(obj2
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetRange(arg2
,arg3
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxSlider
*arg1
= (wxSlider
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_FromInt((int)result
);
12261 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxSlider
*arg1
= (wxSlider
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_FromInt((int)result
);
12287 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxSlider
*arg1
= (wxSlider
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "minValue", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 arg2
= (int) SWIG_AsInt(obj1
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 (arg1
)->SetMin(arg2
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 Py_INCREF(Py_None
); resultobj
= Py_None
;
12316 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxSlider
*arg1
= (wxSlider
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "maxValue", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 arg2
= (int) SWIG_AsInt(obj1
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetMax(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxSlider
*arg1
= (wxSlider
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "lineSize", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 arg2
= (int) SWIG_AsInt(obj1
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->SetLineSize(arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxSlider
*arg1
= (wxSlider
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 PyObject
* obj1
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self",(char *) "pageSize", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 arg2
= (int) SWIG_AsInt(obj1
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 (arg1
)->SetPageSize(arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxSlider
*arg1
= (wxSlider
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_FromInt((int)result
);
12429 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxSlider
*arg1
= (wxSlider
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_FromInt((int)result
);
12455 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxSlider
*arg1
= (wxSlider
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self",(char *) "lenPixels", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 arg2
= (int) SWIG_AsInt(obj1
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 (arg1
)->SetThumbLength(arg2
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 Py_INCREF(Py_None
); resultobj
= Py_None
;
12484 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxSlider
*arg1
= (wxSlider
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_FromInt((int)result
);
12510 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxSlider
*arg1
= (wxSlider
*) 0 ;
12514 int arg3
= (int) 1 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 PyObject
* obj2
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self",(char *) "n",(char *) "pos", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12525 arg2
= (int) SWIG_AsInt(obj1
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 arg3
= (int) SWIG_AsInt(obj2
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->SetTickFreq(arg2
,arg3
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 Py_INCREF(Py_None
); resultobj
= Py_None
;
12545 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxSlider
*arg1
= (wxSlider
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_FromInt((int)result
);
12571 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxSlider
*arg1
= (wxSlider
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->ClearTicks();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxSlider
*arg1
= (wxSlider
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self",(char *) "tickPos", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 arg2
= (int) SWIG_AsInt(obj1
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 (arg1
)->SetTick(arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 Py_INCREF(Py_None
); resultobj
= Py_None
;
12625 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxSlider
*arg1
= (wxSlider
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->ClearSel();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxSlider
*arg1
= (wxSlider
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_FromInt((int)result
);
12676 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxSlider
*arg1
= (wxSlider
*) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_FromInt((int)result
);
12702 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxSlider
*arg1
= (wxSlider
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 PyObject
* obj2
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self",(char *) "min",(char *) "max", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12717 arg2
= (int) SWIG_AsInt(obj1
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12719 arg3
= (int) SWIG_AsInt(obj2
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->SetSelection(arg2
,arg3
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12738 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12740 return Py_BuildValue((char *)"");
12742 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12743 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12748 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12753 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12755 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12762 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxWindow
*arg1
= (wxWindow
*) 0 ;
12766 wxString
*arg3
= 0 ;
12767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12771 long arg6
= (long) 0 ;
12772 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12773 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12774 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12776 wxToggleButton
*result
;
12777 bool temp3
= False
;
12780 bool temp8
= False
;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 PyObject
* obj2
= 0 ;
12784 PyObject
* obj3
= 0 ;
12785 PyObject
* obj4
= 0 ;
12786 PyObject
* obj5
= 0 ;
12787 PyObject
* obj6
= 0 ;
12788 PyObject
* obj7
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 arg2
= (int) SWIG_AsInt(obj1
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 arg3
= wxString_in_helper(obj2
);
12800 if (arg3
== NULL
) SWIG_fail
;
12806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12816 arg6
= (long) SWIG_AsLong(obj5
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12823 if (arg7
== NULL
) {
12824 PyErr_SetString(PyExc_TypeError
,"null reference");
12830 arg8
= wxString_in_helper(obj7
);
12831 if (arg8
== NULL
) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12865 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxToggleButton
*result
;
12868 char *kwnames
[] = {
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (wxToggleButton
*)new wxToggleButton();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12887 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12890 wxWindow
*arg2
= (wxWindow
*) 0 ;
12892 wxString
*arg4
= 0 ;
12893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12897 long arg7
= (long) 0 ;
12898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12900 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12903 bool temp4
= False
;
12906 bool temp9
= False
;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 PyObject
* obj2
= 0 ;
12910 PyObject
* obj3
= 0 ;
12911 PyObject
* obj4
= 0 ;
12912 PyObject
* obj5
= 0 ;
12913 PyObject
* obj6
= 0 ;
12914 PyObject
* obj7
= 0 ;
12915 PyObject
* obj8
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 arg3
= (int) SWIG_AsInt(obj2
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 arg4
= wxString_in_helper(obj3
);
12929 if (arg4
== NULL
) SWIG_fail
;
12935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12941 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12945 arg7
= (long) SWIG_AsLong(obj6
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12952 if (arg8
== NULL
) {
12953 PyErr_SetString(PyExc_TypeError
,"null reference");
12959 arg9
= wxString_in_helper(obj8
);
12960 if (arg9
== NULL
) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "value", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 arg2
= (bool) SWIG_AsBool(obj1
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 (arg1
)->SetValue(arg2
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 Py_INCREF(Py_None
); resultobj
= Py_None
;
13023 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13049 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13052 wxString
*arg2
= 0 ;
13053 bool temp2
= False
;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "label", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 arg2
= wxString_in_helper(obj1
);
13065 if (arg2
== NULL
) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetLabel((wxString
const &)*arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13090 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13093 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13095 return Py_BuildValue((char *)"");
13097 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13098 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13103 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13108 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13110 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13117 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13143 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "n", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= wxPyMake_wxObject(result
);
13175 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_FromInt((int)result
);
13201 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13205 wxString
*arg3
= 0 ;
13207 bool temp3
= False
;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 PyObject
* obj2
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "n",(char *) "strText", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13218 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 arg3
= wxString_in_helper(obj2
);
13222 if (arg3
== NULL
) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13247 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "n", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13283 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13286 wxImageList
*arg2
= (wxImageList
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "imageList", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->SetImageList(arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13315 wxImageList
*arg2
= (wxImageList
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "imageList", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13326 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->AssignImageList(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13344 wxImageList
*result
;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= wxPyMake_wxObject(result
);
13369 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "n", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_FromInt((int)result
);
13399 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 PyObject
* obj2
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "n",(char *) "imageId", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13417 arg3
= (int) SWIG_AsInt(obj2
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13433 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self",(char *) "size", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj1
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self",(char *) "sizePage", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 wxSize
* resultptr
;
13493 resultptr
= new wxSize((wxSize
&) result
);
13494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13502 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "n", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (bool)(arg1
)->DeletePage(arg2
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13532 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "n", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13546 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (bool)(arg1
)->RemovePage(arg2
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13562 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)(arg1
)->DeleteAllPages();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13588 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13591 wxWindow
*arg2
= (wxWindow
*) 0 ;
13592 wxString
*arg3
= 0 ;
13593 bool arg4
= (bool) False
;
13594 int arg5
= (int) -1 ;
13596 bool temp3
= False
;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 PyObject
* obj2
= 0 ;
13600 PyObject
* obj3
= 0 ;
13601 PyObject
* obj4
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13612 arg3
= wxString_in_helper(obj2
);
13613 if (arg3
== NULL
) SWIG_fail
;
13617 arg4
= (bool) SWIG_AsBool(obj3
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 arg5
= (int) SWIG_AsInt(obj4
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13646 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13650 wxWindow
*arg3
= (wxWindow
*) 0 ;
13651 wxString
*arg4
= 0 ;
13652 bool arg5
= (bool) False
;
13653 int arg6
= (int) -1 ;
13655 bool temp4
= False
;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 PyObject
* obj2
= 0 ;
13659 PyObject
* obj3
= 0 ;
13660 PyObject
* obj4
= 0 ;
13661 PyObject
* obj5
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13671 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13674 arg4
= wxString_in_helper(obj3
);
13675 if (arg4
== NULL
) SWIG_fail
;
13679 arg5
= (bool) SWIG_AsBool(obj4
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13683 arg6
= (int) SWIG_AsInt(obj5
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13708 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "n", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (int)(arg1
)->SetSelection(arg2
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= SWIG_FromInt((int)result
);
13738 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13741 bool arg2
= (bool) True
;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self",(char *) "forward", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 arg2
= (bool) SWIG_AsBool(obj1
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 (arg1
)->AdvanceSelection(arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 Py_INCREF(Py_None
); resultobj
= Py_None
;
13769 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13772 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13774 return Py_BuildValue((char *)"");
13776 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13779 int arg2
= (int) 0 ;
13780 int arg3
= (int) -1 ;
13781 int arg4
= (int) -1 ;
13782 wxBookCtrlEvent
*result
;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 PyObject
* obj3
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13793 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 arg2
= (int) SWIG_AsInt(obj1
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13801 arg3
= (int) SWIG_AsInt(obj2
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13805 arg4
= (int) SWIG_AsInt(obj3
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13822 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13826 PyObject
* obj0
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_FromInt((int)result
);
13848 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "nSel", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (int) SWIG_AsInt(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->SetSelection(arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_FromInt((int)result
);
13903 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "nOldSel", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 arg2
= (int) SWIG_AsInt(obj1
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->SetOldSelection(arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13935 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13937 return Py_BuildValue((char *)"");
13939 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxWindow
*arg1
= (wxWindow
*) 0 ;
13943 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13944 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13945 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13946 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13947 long arg5
= (long) 0 ;
13948 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13949 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13950 wxNotebook
*result
;
13953 bool temp6
= False
;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 PyObject
* obj3
= 0 ;
13958 PyObject
* obj4
= 0 ;
13959 PyObject
* obj5
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 arg2
= (int) SWIG_AsInt(obj1
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13978 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13982 arg5
= (long) SWIG_AsLong(obj4
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13987 arg6
= wxString_in_helper(obj5
);
13988 if (arg6
== NULL
) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= wxPyMake_wxObject(result
);
14016 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxNotebook
*result
;
14019 char *kwnames
[] = {
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (wxNotebook
*)new wxNotebook();
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= wxPyMake_wxObject(result
);
14040 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14043 wxWindow
*arg2
= (wxWindow
*) 0 ;
14045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14049 long arg6
= (long) 0 ;
14050 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14055 bool temp7
= False
;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 PyObject
* obj2
= 0 ;
14059 PyObject
* obj3
= 0 ;
14060 PyObject
* obj4
= 0 ;
14061 PyObject
* obj5
= 0 ;
14062 PyObject
* obj6
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 arg3
= (int) SWIG_AsInt(obj2
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14087 arg6
= (long) SWIG_AsLong(obj5
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14092 arg7
= wxString_in_helper(obj6
);
14093 if (arg7
== NULL
) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14119 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_FromInt((int)result
);
14145 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self",(char *) "padding", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self",(char *) "sz", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14212 wxPoint
*arg2
= 0 ;
14213 long *arg3
= (long *) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "pt", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_FromInt((int)result
);
14240 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14241 resultobj
= t_output_helper(resultobj
,o
);
14249 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "sizePage", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14276 wxSize
* resultptr
;
14277 resultptr
= new wxSize((wxSize
&) result
);
14278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14286 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14289 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14291 return Py_BuildValue((char *)"");
14293 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14296 int arg2
= (int) 0 ;
14297 int arg3
= (int) -1 ;
14298 int arg4
= (int) -1 ;
14299 wxNotebookEvent
*result
;
14300 PyObject
* obj0
= 0 ;
14301 PyObject
* obj1
= 0 ;
14302 PyObject
* obj2
= 0 ;
14303 PyObject
* obj3
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14310 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 arg2
= (int) SWIG_AsInt(obj1
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14318 arg3
= (int) SWIG_AsInt(obj2
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 arg4
= (int) SWIG_AsInt(obj3
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14339 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14342 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14344 return Py_BuildValue((char *)"");
14346 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxWindow
*arg1
= (wxWindow
*) 0 ;
14350 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14351 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14352 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14353 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14354 long arg5
= (long) 0 ;
14355 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14356 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14357 wxListbook
*result
;
14360 bool temp6
= False
;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 PyObject
* obj2
= 0 ;
14364 PyObject
* obj3
= 0 ;
14365 PyObject
* obj4
= 0 ;
14366 PyObject
* obj5
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 arg2
= (int) SWIG_AsInt(obj1
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14385 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14389 arg5
= (long) SWIG_AsLong(obj4
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14394 arg6
= wxString_in_helper(obj5
);
14395 if (arg6
== NULL
) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14421 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxListbook
*result
;
14424 char *kwnames
[] = {
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (wxListbook
*)new wxListbook();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14443 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxListbook
*arg1
= (wxListbook
*) 0 ;
14446 wxWindow
*arg2
= (wxWindow
*) 0 ;
14448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14452 long arg6
= (long) 0 ;
14453 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14458 bool temp7
= False
;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 PyObject
* obj2
= 0 ;
14462 PyObject
* obj3
= 0 ;
14463 PyObject
* obj4
= 0 ;
14464 PyObject
* obj5
= 0 ;
14465 PyObject
* obj6
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 arg3
= (int) SWIG_AsInt(obj2
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14490 arg6
= (long) SWIG_AsLong(obj5
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14495 arg7
= wxString_in_helper(obj6
);
14496 if (arg7
== NULL
) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14522 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxListbook
*arg1
= (wxListbook
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14551 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14553 return Py_BuildValue((char *)"");
14555 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14558 int arg2
= (int) 0 ;
14559 int arg3
= (int) -1 ;
14560 int arg4
= (int) -1 ;
14561 wxListbookEvent
*result
;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 PyObject
* obj2
= 0 ;
14565 PyObject
* obj3
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14572 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 arg2
= (int) SWIG_AsInt(obj1
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 arg3
= (int) SWIG_AsInt(obj2
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 arg4
= (int) SWIG_AsInt(obj3
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14601 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14604 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14606 return Py_BuildValue((char *)"");
14608 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14611 wxBookCtrlSizer
*result
;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "nb", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14634 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 (arg1
)->RecalcSizes();
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 Py_INCREF(Py_None
); resultobj
= Py_None
;
14659 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (arg1
)->CalcMin();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 wxSize
* resultptr
;
14680 resultptr
= new wxSize((wxSize
&) result
);
14681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14689 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14692 wxBookCtrl
*result
;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14715 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14718 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14720 return Py_BuildValue((char *)"");
14722 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14725 wxNotebookSizer
*result
;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "nb", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14748 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->RecalcSizes();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 Py_INCREF(Py_None
); resultobj
= Py_None
;
14773 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 result
= (arg1
)->CalcMin();
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14793 wxSize
* resultptr
;
14794 resultptr
= new wxSize((wxSize
&) result
);
14795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14803 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14806 wxNotebook
*result
;
14807 PyObject
* obj0
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= wxPyMake_wxObject(result
);
14831 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14834 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14836 return Py_BuildValue((char *)"");
14838 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (int)(arg1
)->GetId();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_FromInt((int)result
);
14864 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (wxControl
*)(arg1
)->GetControl();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= wxPyMake_wxObject(result
);
14892 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14895 wxToolBarBase
*result
;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= wxPyMake_wxObject(result
);
14920 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (int)(arg1
)->IsButton();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_FromInt((int)result
);
14946 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (int)(arg1
)->IsControl();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_FromInt((int)result
);
14972 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (int)(arg1
)->IsSeparator();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_FromInt((int)result
);
14998 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (int)(arg1
)->GetStyle();
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= SWIG_FromInt((int)result
);
15024 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (int)(arg1
)->GetKind();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_FromInt((int)result
);
15050 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)(arg1
)->IsEnabled();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15076 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)(arg1
)->IsToggled();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)(arg1
)->CanBeToggled();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15128 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15144 result
= (wxBitmap
*) &_result_ref
;
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
15157 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15173 result
= (wxBitmap
*) &_result_ref
;
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
15186 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (arg1
)->GetBitmap();
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15206 wxBitmap
* resultptr
;
15207 resultptr
= new wxBitmap((wxBitmap
&) result
);
15208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15216 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (arg1
)->GetLabel();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15248 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (arg1
)->GetShortHelp();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15280 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= (arg1
)->GetLongHelp();
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15312 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "enable", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15326 arg2
= (bool) SWIG_AsBool(obj1
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (bool)(arg1
)->Enable(arg2
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15342 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 Py_INCREF(Py_None
); resultobj
= Py_None
;
15367 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self",(char *) "toggle", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 arg2
= (bool) SWIG_AsBool(obj1
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (bool)(arg1
)->SetToggle(arg2
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15397 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15400 wxString
*arg2
= 0 ;
15402 bool temp2
= False
;
15403 PyObject
* obj0
= 0 ;
15404 PyObject
* obj1
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "help", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 arg2
= wxString_in_helper(obj1
);
15414 if (arg2
== NULL
) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15442 wxString
*arg2
= 0 ;
15444 bool temp2
= False
;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self",(char *) "help", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 arg2
= wxString_in_helper(obj1
);
15456 if (arg2
== NULL
) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15481 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15484 wxBitmap
*arg2
= 0 ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self",(char *) "bmp", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15497 if (arg2
== NULL
) {
15498 PyErr_SetString(PyExc_TypeError
,"null reference");
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 Py_INCREF(Py_None
); resultobj
= Py_None
;
15515 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15518 wxBitmap
*arg2
= 0 ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "bmp", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15531 if (arg2
== NULL
) {
15532 PyErr_SetString(PyExc_TypeError
,"null reference");
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15549 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15552 wxString
*arg2
= 0 ;
15553 bool temp2
= False
;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self",(char *) "label", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 arg2
= wxString_in_helper(obj1
);
15565 if (arg2
== NULL
) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->SetLabel((wxString
const &)*arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 Py_INCREF(Py_None
); resultobj
= Py_None
;
15590 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 Py_INCREF(Py_None
); resultobj
= Py_None
;
15615 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15618 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self",(char *) "tbar", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->Attach(arg2
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
;
15670 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15673 PyObject
*arg2
= (PyObject
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "clientData", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 Py_INCREF(Py_None
); resultobj
= Py_None
;
15698 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15701 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15703 return Py_BuildValue((char *)"");
15705 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15709 wxString
*arg3
= 0 ;
15710 wxBitmap
*arg4
= 0 ;
15711 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15712 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15713 int arg6
= (int) wxITEM_NORMAL
;
15714 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15715 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15716 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15717 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15718 PyObject
*arg9
= (PyObject
*) NULL
;
15719 wxToolBarToolBase
*result
;
15720 bool temp3
= False
;
15721 bool temp7
= False
;
15722 bool temp8
= False
;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 PyObject
* obj3
= 0 ;
15727 PyObject
* obj4
= 0 ;
15728 PyObject
* obj5
= 0 ;
15729 PyObject
* obj6
= 0 ;
15730 PyObject
* obj7
= 0 ;
15731 PyObject
* obj8
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 arg2
= (int) SWIG_AsInt(obj1
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 arg3
= wxString_in_helper(obj2
);
15743 if (arg3
== NULL
) SWIG_fail
;
15746 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15749 if (arg4
== NULL
) {
15750 PyErr_SetString(PyExc_TypeError
,"null reference");
15754 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15757 if (arg5
== NULL
) {
15758 PyErr_SetString(PyExc_TypeError
,"null reference");
15763 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15768 arg7
= wxString_in_helper(obj6
);
15769 if (arg7
== NULL
) SWIG_fail
;
15775 arg8
= wxString_in_helper(obj7
);
15776 if (arg8
== NULL
) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= wxPyMake_wxObject(result
);
15823 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15828 wxString
*arg4
= 0 ;
15829 wxBitmap
*arg5
= 0 ;
15830 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15831 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15832 int arg7
= (int) wxITEM_NORMAL
;
15833 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15835 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15836 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15837 PyObject
*arg10
= (PyObject
*) NULL
;
15838 wxToolBarToolBase
*result
;
15839 bool temp4
= False
;
15840 bool temp8
= False
;
15841 bool temp9
= False
;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 PyObject
* obj2
= 0 ;
15845 PyObject
* obj3
= 0 ;
15846 PyObject
* obj4
= 0 ;
15847 PyObject
* obj5
= 0 ;
15848 PyObject
* obj6
= 0 ;
15849 PyObject
* obj7
= 0 ;
15850 PyObject
* obj8
= 0 ;
15851 PyObject
* obj9
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15861 arg3
= (int) SWIG_AsInt(obj2
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 arg4
= wxString_in_helper(obj3
);
15865 if (arg4
== NULL
) SWIG_fail
;
15868 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15871 if (arg5
== NULL
) {
15872 PyErr_SetString(PyExc_TypeError
,"null reference");
15876 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15879 if (arg6
== NULL
) {
15880 PyErr_SetString(PyExc_TypeError
,"null reference");
15885 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15890 arg8
= wxString_in_helper(obj7
);
15891 if (arg8
== NULL
) SWIG_fail
;
15897 arg9
= wxString_in_helper(obj8
);
15898 if (arg9
== NULL
) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 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
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= wxPyMake_wxObject(result
);
15945 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15948 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15949 wxToolBarToolBase
*result
;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "tool", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= wxPyMake_wxObject(result
);
15977 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15981 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15982 wxToolBarToolBase
*result
;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 PyObject
* obj2
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "pos",(char *) "tool", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= wxPyMake_wxObject(result
);
16013 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16016 wxControl
*arg2
= (wxControl
*) 0 ;
16017 wxToolBarToolBase
*result
;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self",(char *) "control", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= wxPyMake_wxObject(result
);
16045 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16049 wxControl
*arg3
= (wxControl
*) 0 ;
16050 wxToolBarToolBase
*result
;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "pos",(char *) "control", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= wxPyMake_wxObject(result
);
16081 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self",(char *) "id", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 arg2
= (int) SWIG_AsInt(obj1
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= wxPyMake_wxObject(result
);
16113 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16116 wxToolBarToolBase
*result
;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= wxPyMake_wxObject(result
);
16141 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16145 wxToolBarToolBase
*result
;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self",(char *) "pos", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= wxPyMake_wxObject(result
);
16173 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16177 wxToolBarToolBase
*result
;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "id", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 arg2
= (int) SWIG_AsInt(obj1
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= wxPyMake_wxObject(result
);
16205 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self",(char *) "pos", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16235 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "id", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 arg2
= (int) SWIG_AsInt(obj1
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)(arg1
)->DeleteTool(arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16265 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 (arg1
)->ClearTools();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (bool)(arg1
)->Realize();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16316 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 PyObject
* obj2
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "id",(char *) "enable", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 arg2
= (int) SWIG_AsInt(obj1
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16333 arg3
= (bool) SWIG_AsBool(obj2
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 (arg1
)->EnableTool(arg2
,arg3
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 Py_INCREF(Py_None
); resultobj
= Py_None
;
16349 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 PyObject
* obj2
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self",(char *) "id",(char *) "toggle", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16364 arg2
= (int) SWIG_AsInt(obj1
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16366 arg3
= (bool) SWIG_AsBool(obj2
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 (arg1
)->ToggleTool(arg2
,arg3
);
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 Py_INCREF(Py_None
); resultobj
= Py_None
;
16382 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 PyObject
* obj2
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "id",(char *) "toggle", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 arg2
= (int) SWIG_AsInt(obj1
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16399 arg3
= (bool) SWIG_AsBool(obj2
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 (arg1
)->SetToggle(arg2
,arg3
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 Py_INCREF(Py_None
); resultobj
= Py_None
;
16415 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 PyObject
* obj1
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self",(char *) "id", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 arg2
= (int) SWIG_AsInt(obj1
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= result
;
16445 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16449 PyObject
*arg3
= (PyObject
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 PyObject
* obj2
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "id",(char *) "clientData", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16460 arg2
= (int) SWIG_AsInt(obj1
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 Py_INCREF(Py_None
); resultobj
= Py_None
;
16477 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "id", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 arg2
= (int) SWIG_AsInt(obj1
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= SWIG_FromInt((int)result
);
16507 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self",(char *) "id", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16521 arg2
= (int) SWIG_AsInt(obj1
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (bool)(arg1
)->GetToolState(arg2
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16537 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "id", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 arg2
= (int) SWIG_AsInt(obj1
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16567 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16571 wxString
*arg3
= 0 ;
16572 bool temp3
= False
;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 PyObject
* obj2
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "id",(char *) "helpString", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16583 arg2
= (int) SWIG_AsInt(obj1
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 arg3
= wxString_in_helper(obj2
);
16587 if (arg3
== NULL
) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 PyObject
* obj1
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self",(char *) "id", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16626 arg2
= (int) SWIG_AsInt(obj1
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (arg1
)->GetToolShortHelp(arg2
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16648 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16652 wxString
*arg3
= 0 ;
16653 bool temp3
= False
;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self",(char *) "id",(char *) "helpString", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 arg2
= (int) SWIG_AsInt(obj1
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16667 arg3
= wxString_in_helper(obj2
);
16668 if (arg3
== NULL
) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16693 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self",(char *) "id", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 arg2
= (int) SWIG_AsInt(obj1
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 result
= (arg1
)->GetToolLongHelp(arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16729 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 PyObject
* obj2
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self",(char *) "x",(char *) "y", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 arg2
= (int) SWIG_AsInt(obj1
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16746 arg3
= (int) SWIG_AsInt(obj2
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 (arg1
)->SetMargins(arg2
,arg3
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 Py_INCREF(Py_None
); resultobj
= Py_None
;
16762 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self",(char *) "size", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 Py_INCREF(Py_None
); resultobj
= Py_None
;
16794 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 PyObject
* obj1
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self",(char *) "packing", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 arg2
= (int) SWIG_AsInt(obj1
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->SetToolPacking(arg2
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 Py_INCREF(Py_None
); resultobj
= Py_None
;
16823 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self",(char *) "separation", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16836 arg2
= (int) SWIG_AsInt(obj1
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 (arg1
)->SetToolSeparation(arg2
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 Py_INCREF(Py_None
); resultobj
= Py_None
;
16852 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (arg1
)->GetToolMargins();
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 wxSize
* resultptr
;
16873 resultptr
= new wxSize((wxSize
&) result
);
16874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16882 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (arg1
)->GetMargins();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 wxSize
* resultptr
;
16903 resultptr
= new wxSize((wxSize
&) result
);
16904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16912 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (int)(arg1
)->GetToolPacking();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_FromInt((int)result
);
16938 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (int)(arg1
)->GetToolSeparation();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= SWIG_FromInt((int)result
);
16964 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "nRows", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 arg2
= (int) SWIG_AsInt(obj1
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 (arg1
)->SetRows(arg2
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 Py_INCREF(Py_None
); resultobj
= Py_None
;
16993 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 PyObject
* obj2
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "rows",(char *) "cols", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 arg2
= (int) SWIG_AsInt(obj1
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17010 arg3
= (int) SWIG_AsInt(obj2
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (int)(arg1
)->GetMaxRows();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= SWIG_FromInt((int)result
);
17052 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (int)(arg1
)->GetMaxCols();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_FromInt((int)result
);
17078 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "size", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 Py_INCREF(Py_None
); resultobj
= Py_None
;
17110 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (arg1
)->GetToolBitmapSize();
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 wxSize
* resultptr
;
17131 resultptr
= new wxSize((wxSize
&) result
);
17132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17140 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (arg1
)->GetToolSize();
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 wxSize
* resultptr
;
17161 resultptr
= new wxSize((wxSize
&) result
);
17162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17170 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17175 wxToolBarToolBase
*result
;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 PyObject
* obj2
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self",(char *) "x",(char *) "y", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",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 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= wxPyMake_wxObject(result
);
17206 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17210 wxToolBarToolBase
*result
;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "toolid", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17220 arg2
= (int) SWIG_AsInt(obj1
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= wxPyMake_wxObject(result
);
17238 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (bool)(arg1
)->IsVertical();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17264 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17267 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17269 return Py_BuildValue((char *)"");
17271 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxWindow
*arg1
= (wxWindow
*) 0 ;
17275 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17276 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17277 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17278 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17279 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17280 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17281 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17285 bool temp6
= False
;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 PyObject
* obj2
= 0 ;
17289 PyObject
* obj3
= 0 ;
17290 PyObject
* obj4
= 0 ;
17291 PyObject
* obj5
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 arg2
= (int) SWIG_AsInt(obj1
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17304 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17310 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17314 arg5
= (long) SWIG_AsLong(obj4
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17319 arg6
= wxString_in_helper(obj5
);
17320 if (arg6
== NULL
) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= wxPyMake_wxObject(result
);
17348 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17351 char *kwnames
[] = {
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (wxToolBar
*)new wxToolBar();
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= wxPyMake_wxObject(result
);
17372 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17375 wxWindow
*arg2
= (wxWindow
*) 0 ;
17377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17381 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17382 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17387 bool temp7
= False
;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 PyObject
* obj2
= 0 ;
17391 PyObject
* obj3
= 0 ;
17392 PyObject
* obj4
= 0 ;
17393 PyObject
* obj5
= 0 ;
17394 PyObject
* obj6
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 arg3
= (int) SWIG_AsInt(obj2
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17419 arg6
= (long) SWIG_AsLong(obj5
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17424 arg7
= wxString_in_helper(obj6
);
17425 if (arg7
== NULL
) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17451 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17456 wxToolBarToolBase
*result
;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 PyObject
* obj2
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "x",(char *) "y", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 arg2
= (int) SWIG_AsInt(obj1
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17469 arg3
= (int) SWIG_AsInt(obj2
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= wxPyMake_wxObject(result
);
17487 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17490 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17492 return Py_BuildValue((char *)"");
17494 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17495 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17500 static PyObject
*_wrap_ListCtrlNameStr_get() {
17505 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17507 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17514 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxColour
const &arg1_defvalue
= wxNullColour
;
17517 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17518 wxColour
const &arg2_defvalue
= wxNullColour
;
17519 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17520 wxFont
const &arg3_defvalue
= wxNullFont
;
17521 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17522 wxListItemAttr
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17536 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17546 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17549 if (arg3
== NULL
) {
17550 PyErr_SetString(PyExc_TypeError
,"null reference");
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17568 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17571 wxColour
*arg2
= 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "colText", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 Py_INCREF(Py_None
); resultobj
= Py_None
;
17600 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17603 wxColour
*arg2
= 0 ;
17605 PyObject
* obj0
= 0 ;
17606 PyObject
* obj1
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "colBack", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "font", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17648 if (arg2
== NULL
) {
17649 PyErr_SetString(PyExc_TypeError
,"null reference");
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 (arg1
)->SetFont((wxFont
const &)*arg2
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 Py_INCREF(Py_None
); resultobj
= Py_None
;
17666 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (bool)(arg1
)->HasTextColour();
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17692 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17696 PyObject
* obj0
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (bool)(arg1
)->HasBackgroundColour();
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (bool)(arg1
)->HasFont();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17744 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (arg1
)->GetTextColour();
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 wxColour
* resultptr
;
17765 resultptr
= new wxColour((wxColour
&) result
);
17766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17774 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (arg1
)->GetBackgroundColour();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17794 wxColour
* resultptr
;
17795 resultptr
= new wxColour((wxColour
&) result
);
17796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17804 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (arg1
)->GetFont();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 wxFont
* resultptr
;
17825 resultptr
= new wxFont((wxFont
&) result
);
17826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17834 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 wxListItemAttr_Destroy(arg1
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17862 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17864 return Py_BuildValue((char *)"");
17866 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxListItem
*result
;
17869 char *kwnames
[] = {
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (wxListItem
*)new wxListItem();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= wxPyMake_wxObject(result
);
17890 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxListItem
*arg1
= (wxListItem
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxListItem
*arg1
= (wxListItem
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxListItem
*arg1
= (wxListItem
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 (arg1
)->ClearAttributes();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxListItem
*arg1
= (wxListItem
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "mask", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 arg2
= (long) SWIG_AsLong(obj1
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->SetMask(arg2
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 Py_INCREF(Py_None
); resultobj
= Py_None
;
17994 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxListItem
*arg1
= (wxListItem
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self",(char *) "id", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 arg2
= (long) SWIG_AsLong(obj1
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 (arg1
)->SetId(arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 Py_INCREF(Py_None
); resultobj
= Py_None
;
18023 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxListItem
*arg1
= (wxListItem
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self",(char *) "col", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18036 arg2
= (int) SWIG_AsInt(obj1
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->SetColumn(arg2
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxListItem
*arg1
= (wxListItem
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self",(char *) "state", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 arg2
= (long) SWIG_AsLong(obj1
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 (arg1
)->SetState(arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 Py_INCREF(Py_None
); resultobj
= Py_None
;
18081 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxListItem
*arg1
= (wxListItem
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "stateMask", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 arg2
= (long) SWIG_AsLong(obj1
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->SetStateMask(arg2
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxListItem
*arg1
= (wxListItem
*) 0 ;
18113 wxString
*arg2
= 0 ;
18114 bool temp2
= False
;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "text", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 arg2
= wxString_in_helper(obj1
);
18126 if (arg2
== NULL
) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 (arg1
)->SetText((wxString
const &)*arg2
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18151 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxListItem
*arg1
= (wxListItem
*) 0 ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self",(char *) "image", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18164 arg2
= (int) SWIG_AsInt(obj1
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 (arg1
)->SetImage(arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 Py_INCREF(Py_None
); resultobj
= Py_None
;
18180 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxListItem
*arg1
= (wxListItem
*) 0 ;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "data", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 arg2
= (long) SWIG_AsLong(obj1
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 (arg1
)->SetData(arg2
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 Py_INCREF(Py_None
); resultobj
= Py_None
;
18209 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxListItem
*arg1
= (wxListItem
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "width", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (int) SWIG_AsInt(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->SetWidth(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18238 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxListItem
*arg1
= (wxListItem
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "align", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxListItem
*arg1
= (wxListItem
*) 0 ;
18270 wxColour
*arg2
= 0 ;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "colText", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 Py_INCREF(Py_None
); resultobj
= Py_None
;
18299 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxListItem
*arg1
= (wxListItem
*) 0 ;
18302 wxColour
*arg2
= 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "colBack", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxListItem
*arg1
= (wxListItem
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self",(char *) "font", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18347 if (arg2
== NULL
) {
18348 PyErr_SetString(PyExc_TypeError
,"null reference");
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->SetFont((wxFont
const &)*arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 Py_INCREF(Py_None
); resultobj
= Py_None
;
18365 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
;
18367 wxListItem
*arg1
= (wxListItem
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (long)(arg1
)->GetMask();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_FromLong((long)result
);
18391 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxListItem
*arg1
= (wxListItem
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (long)(arg1
)->GetId();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_FromLong((long)result
);
18417 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxListItem
*arg1
= (wxListItem
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (int)(arg1
)->GetColumn();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_FromInt((int)result
);
18443 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxListItem
*arg1
= (wxListItem
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (long)(arg1
)->GetState();
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_FromLong((long)result
);
18469 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxListItem
*arg1
= (wxListItem
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 wxString
const &_result_ref
= (arg1
)->GetText();
18485 result
= (wxString
*) &_result_ref
;
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18495 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18504 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxListItem
*arg1
= (wxListItem
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (int)(arg1
)->GetImage();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_FromInt((int)result
);
18530 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxListItem
*arg1
= (wxListItem
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (long)(arg1
)->GetData();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_FromLong((long)result
);
18556 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxListItem
*arg1
= (wxListItem
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (int)(arg1
)->GetWidth();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_FromInt((int)result
);
18582 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxListItem
*arg1
= (wxListItem
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (int)(arg1
)->GetAlign();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_FromInt((int)result
);
18608 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxListItem
*arg1
= (wxListItem
*) 0 ;
18611 wxListItemAttr
*result
;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18634 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxListItem
*arg1
= (wxListItem
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (bool)(arg1
)->HasAttributes();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18660 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxListItem
*arg1
= (wxListItem
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 wxColour
* resultptr
;
18681 resultptr
= new wxColour((wxColour
&) result
);
18682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18690 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxListItem
*arg1
= (wxListItem
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 wxColour
* resultptr
;
18711 resultptr
= new wxColour((wxColour
&) result
);
18712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18720 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxListItem
*arg1
= (wxListItem
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= ((wxListItem
const *)arg1
)->GetFont();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 wxFont
* resultptr
;
18741 resultptr
= new wxFont((wxFont
&) result
);
18742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18750 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxListItem
*arg1
= (wxListItem
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self",(char *) "m_mask", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18763 arg2
= (long) SWIG_AsLong(obj1
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18765 if (arg1
) (arg1
)->m_mask
= arg2
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxListItem
*arg1
= (wxListItem
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 result
= (long) ((arg1
)->m_mask
);
18788 resultobj
= SWIG_FromLong((long)result
);
18795 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxListItem
*arg1
= (wxListItem
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self",(char *) "m_itemId", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18808 arg2
= (long) SWIG_AsLong(obj1
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18810 if (arg1
) (arg1
)->m_itemId
= arg2
;
18812 Py_INCREF(Py_None
); resultobj
= Py_None
;
18819 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxListItem
*arg1
= (wxListItem
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 result
= (long) ((arg1
)->m_itemId
);
18833 resultobj
= SWIG_FromLong((long)result
);
18840 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxListItem
*arg1
= (wxListItem
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "m_col", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 arg2
= (int) SWIG_AsInt(obj1
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18855 if (arg1
) (arg1
)->m_col
= arg2
;
18857 Py_INCREF(Py_None
); resultobj
= Py_None
;
18864 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxListItem
*arg1
= (wxListItem
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 result
= (int) ((arg1
)->m_col
);
18878 resultobj
= SWIG_FromInt((int)result
);
18885 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxListItem
*arg1
= (wxListItem
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self",(char *) "m_state", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 arg2
= (long) SWIG_AsLong(obj1
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18900 if (arg1
) (arg1
)->m_state
= arg2
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18909 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxListItem
*arg1
= (wxListItem
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 result
= (long) ((arg1
)->m_state
);
18923 resultobj
= SWIG_FromLong((long)result
);
18930 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxListItem
*arg1
= (wxListItem
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self",(char *) "m_stateMask", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18943 arg2
= (long) SWIG_AsLong(obj1
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18945 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxListItem
*arg1
= (wxListItem
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 result
= (long) ((arg1
)->m_stateMask
);
18968 resultobj
= SWIG_FromLong((long)result
);
18975 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxListItem
*arg1
= (wxListItem
*) 0 ;
18978 wxString
*arg2
= (wxString
*) 0 ;
18979 bool temp2
= False
;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "m_text", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= wxString_in_helper(obj1
);
18991 if (arg2
== NULL
) SWIG_fail
;
18994 if (arg1
) (arg1
)->m_text
= *arg2
;
18996 Py_INCREF(Py_None
); resultobj
= Py_None
;
19011 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxListItem
*arg1
= (wxListItem
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 result
= (wxString
*)& ((arg1
)->m_text
);
19027 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19029 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19038 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxListItem
*arg1
= (wxListItem
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "m_image", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 arg2
= (int) SWIG_AsInt(obj1
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19053 if (arg1
) (arg1
)->m_image
= arg2
;
19055 Py_INCREF(Py_None
); resultobj
= Py_None
;
19062 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxListItem
*arg1
= (wxListItem
*) 0 ;
19066 PyObject
* obj0
= 0 ;
19067 char *kwnames
[] = {
19068 (char *) "self", NULL
19071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19074 result
= (int) ((arg1
)->m_image
);
19076 resultobj
= SWIG_FromInt((int)result
);
19083 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxListItem
*arg1
= (wxListItem
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self",(char *) "m_data", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 arg2
= (long) SWIG_AsLong(obj1
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19098 if (arg1
) (arg1
)->m_data
= arg2
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxListItem
*arg1
= (wxListItem
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19119 result
= (long) ((arg1
)->m_data
);
19121 resultobj
= SWIG_FromLong((long)result
);
19128 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxListItem
*arg1
= (wxListItem
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "m_format", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 arg2
= (int) SWIG_AsInt(obj1
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19143 if (arg1
) (arg1
)->m_format
= arg2
;
19145 Py_INCREF(Py_None
); resultobj
= Py_None
;
19152 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxListItem
*arg1
= (wxListItem
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 result
= (int) ((arg1
)->m_format
);
19166 resultobj
= SWIG_FromInt((int)result
);
19173 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxListItem
*arg1
= (wxListItem
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "m_width", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19186 arg2
= (int) SWIG_AsInt(obj1
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19188 if (arg1
) (arg1
)->m_width
= arg2
;
19190 Py_INCREF(Py_None
); resultobj
= Py_None
;
19197 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxListItem
*arg1
= (wxListItem
*) 0 ;
19201 PyObject
* obj0
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19209 result
= (int) ((arg1
)->m_width
);
19211 resultobj
= SWIG_FromInt((int)result
);
19218 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19221 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19223 return Py_BuildValue((char *)"");
19225 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19228 int arg2
= (int) 0 ;
19229 wxListEvent
*result
;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "commandType",(char *) "id", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19242 arg2
= (int) SWIG_AsInt(obj1
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19259 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "m_code", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19272 arg2
= (int) SWIG_AsInt(obj1
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19274 if (arg1
) (arg1
)->m_code
= arg2
;
19276 Py_INCREF(Py_None
); resultobj
= Py_None
;
19283 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 result
= (int) ((arg1
)->m_code
);
19297 resultobj
= SWIG_FromInt((int)result
);
19304 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "m_oldItemIndex", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 arg2
= (long) SWIG_AsLong(obj1
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19319 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19321 Py_INCREF(Py_None
); resultobj
= Py_None
;
19328 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 result
= (long) ((arg1
)->m_oldItemIndex
);
19342 resultobj
= SWIG_FromLong((long)result
);
19349 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self",(char *) "m_itemIndex", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19362 arg2
= (long) SWIG_AsLong(obj1
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19364 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19373 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19385 result
= (long) ((arg1
)->m_itemIndex
);
19387 resultobj
= SWIG_FromLong((long)result
);
19394 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "m_col", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19407 arg2
= (int) SWIG_AsInt(obj1
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19409 if (arg1
) (arg1
)->m_col
= arg2
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 result
= (int) ((arg1
)->m_col
);
19432 resultobj
= SWIG_FromInt((int)result
);
19439 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19442 wxPoint
*arg2
= (wxPoint
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self",(char *) "m_pointDrag", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19454 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19456 Py_INCREF(Py_None
); resultobj
= Py_None
;
19463 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19467 PyObject
* obj0
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19484 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19487 wxListItem
*result
;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 result
= (wxListItem
*)& ((arg1
)->m_item
);
19499 resultobj
= wxPyMake_wxObject(result
);
19507 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (int)(arg1
)->GetKeyCode();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_FromInt((int)result
);
19533 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (long)(arg1
)->GetIndex();
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_FromLong((long)result
);
19559 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (int)(arg1
)->GetColumn();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_FromInt((int)result
);
19585 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (arg1
)->GetPoint();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19605 wxPoint
* resultptr
;
19606 resultptr
= new wxPoint((wxPoint
&) result
);
19607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19615 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 wxString
const &_result_ref
= (arg1
)->GetLabel();
19631 result
= (wxString
*) &_result_ref
;
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19641 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19650 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 wxString
const &_result_ref
= (arg1
)->GetText();
19666 result
= (wxString
*) &_result_ref
;
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19676 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19685 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (int)(arg1
)->GetImage();
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_FromInt((int)result
);
19711 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (long)(arg1
)->GetData();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_FromLong((long)result
);
19737 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (long)(arg1
)->GetMask();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_FromLong((long)result
);
19763 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19766 wxListItem
*result
;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19779 result
= (wxListItem
*) &_result_ref
;
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19792 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= (long)(arg1
)->GetCacheFrom();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= SWIG_FromLong((long)result
);
19818 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (long)(arg1
)->GetCacheTo();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_FromLong((long)result
);
19844 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19870 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "editCancelled", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 arg2
= (bool) SWIG_AsBool(obj1
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 (arg1
)->SetEditCanceled(arg2
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 Py_INCREF(Py_None
); resultobj
= Py_None
;
19899 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19902 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19904 return Py_BuildValue((char *)"");
19906 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxWindow
*arg1
= (wxWindow
*) 0 ;
19909 int arg2
= (int) -1 ;
19910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19914 long arg5
= (long) wxLC_ICON
;
19915 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19916 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19917 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19919 wxPyListCtrl
*result
;
19922 bool temp7
= False
;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 PyObject
* obj2
= 0 ;
19926 PyObject
* obj3
= 0 ;
19927 PyObject
* obj4
= 0 ;
19928 PyObject
* obj5
= 0 ;
19929 PyObject
* obj6
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19938 arg2
= (int) SWIG_AsInt(obj1
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19954 arg5
= (long) SWIG_AsLong(obj4
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19961 if (arg6
== NULL
) {
19962 PyErr_SetString(PyExc_TypeError
,"null reference");
19968 arg7
= wxString_in_helper(obj6
);
19969 if (arg7
== NULL
) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19995 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxPyListCtrl
*result
;
19998 char *kwnames
[] = {
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20017 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20020 wxWindow
*arg2
= (wxWindow
*) 0 ;
20021 int arg3
= (int) -1 ;
20022 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20023 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20024 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20025 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20026 long arg6
= (long) wxLC_ICON
;
20027 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20028 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20029 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20030 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20034 bool temp8
= False
;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 PyObject
* obj2
= 0 ;
20038 PyObject
* obj3
= 0 ;
20039 PyObject
* obj4
= 0 ;
20040 PyObject
* obj5
= 0 ;
20041 PyObject
* obj6
= 0 ;
20042 PyObject
* obj7
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 arg3
= (int) SWIG_AsInt(obj2
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20069 arg6
= (long) SWIG_AsLong(obj5
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20073 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20076 if (arg7
== NULL
) {
20077 PyErr_SetString(PyExc_TypeError
,"null reference");
20083 arg8
= wxString_in_helper(obj7
);
20084 if (arg8
== NULL
) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20110 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20113 PyObject
*arg2
= (PyObject
*) 0 ;
20114 PyObject
*arg3
= (PyObject
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 PyObject
* obj2
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "self",(char *) "_class", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 Py_INCREF(Py_None
); resultobj
= Py_None
;
20141 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20144 wxColour
*arg2
= 0 ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self",(char *) "col", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20174 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20177 wxColour
*arg2
= 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self",(char *) "col", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20191 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20207 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20211 wxListItem
*result
;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "col", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 arg2
= (int) SWIG_AsInt(obj1
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= wxPyMake_wxObject(result
);
20239 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20243 wxListItem
*arg3
= 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 PyObject
* obj2
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "col",(char *) "item", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20255 arg2
= (int) SWIG_AsInt(obj1
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20257 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20260 if (arg3
== NULL
) {
20261 PyErr_SetString(PyExc_TypeError
,"null reference");
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20278 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "col", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 arg2
= (int) SWIG_AsInt(obj1
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_FromInt((int)result
);
20308 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 PyObject
* obj2
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self",(char *) "col",(char *) "width", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 arg2
= (int) SWIG_AsInt(obj1
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20326 arg3
= (int) SWIG_AsInt(obj2
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20342 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 char *kwnames
[] = {
20348 (char *) "self", NULL
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_FromInt((int)result
);
20368 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20388 wxRect
* resultptr
;
20389 resultptr
= new wxRect((wxRect
&) result
);
20390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20398 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20402 int arg3
= (int) 0 ;
20403 wxListItem
*result
;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 PyObject
* obj2
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "itemId",(char *) "col", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 arg2
= (long) SWIG_AsLong(obj1
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 arg3
= (int) SWIG_AsInt(obj2
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= wxPyMake_wxObject(result
);
20436 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20439 wxListItem
*arg2
= 0 ;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self",(char *) "info", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20453 if (arg2
== NULL
) {
20454 PyErr_SetString(PyExc_TypeError
,"null reference");
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (bool)(arg1
)->SetItem(*arg2
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20471 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20476 wxString
*arg4
= 0 ;
20477 int arg5
= (int) -1 ;
20479 bool temp4
= False
;
20480 PyObject
* obj0
= 0 ;
20481 PyObject
* obj1
= 0 ;
20482 PyObject
* obj2
= 0 ;
20483 PyObject
* obj3
= 0 ;
20484 PyObject
* obj4
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 arg2
= (long) SWIG_AsLong(obj1
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20494 arg3
= (int) SWIG_AsInt(obj2
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 arg4
= wxString_in_helper(obj3
);
20498 if (arg4
== NULL
) SWIG_fail
;
20502 arg5
= (int) SWIG_AsInt(obj4
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_FromLong((long)result
);
20527 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 PyObject
* obj2
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20543 arg2
= (long) SWIG_AsLong(obj1
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20545 arg3
= (long) SWIG_AsLong(obj2
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_FromInt((int)result
);
20561 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 PyObject
* obj2
= 0 ;
20571 PyObject
* obj3
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 arg2
= (long) SWIG_AsLong(obj1
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20581 arg3
= (long) SWIG_AsLong(obj2
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20583 arg4
= (long) SWIG_AsLong(obj3
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20599 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 PyObject
* obj2
= 0 ;
20609 PyObject
* obj3
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 arg2
= (long) SWIG_AsLong(obj1
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20619 arg3
= (int) SWIG_AsInt(obj2
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20621 arg4
= (int) SWIG_AsInt(obj3
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20637 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "item", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 arg2
= (long) SWIG_AsLong(obj1
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20673 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20677 wxString
*arg3
= 0 ;
20678 bool temp3
= False
;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 PyObject
* obj2
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self",(char *) "item",(char *) "str", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20689 arg2
= (long) SWIG_AsLong(obj1
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 arg3
= wxString_in_helper(obj2
);
20693 if (arg3
== NULL
) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self",(char *) "item", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 arg2
= (long) SWIG_AsLong(obj1
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_FromLong((long)result
);
20748 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20756 PyObject
* obj2
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self",(char *) "item",(char *) "data", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 arg2
= (long) SWIG_AsLong(obj1
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20766 arg3
= (long) SWIG_AsLong(obj2
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20782 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self",(char *) "item", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20796 arg2
= (long) SWIG_AsLong(obj1
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 wxPoint
* resultptr
;
20807 resultptr
= new wxPoint((wxPoint
&) result
);
20808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20816 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20820 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20822 PyObject
* obj0
= 0 ;
20823 PyObject
* obj1
= 0 ;
20824 PyObject
* obj2
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self",(char *) "item",(char *) "code", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20832 arg2
= (long) SWIG_AsLong(obj1
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 arg3
= (int) SWIG_AsInt(obj2
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 wxRect
* resultptr
;
20847 resultptr
= new wxRect((wxRect
&) result
);
20848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20856 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20860 wxPoint
*arg3
= 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 PyObject
* obj2
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "item",(char *) "pos", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 arg2
= (long) SWIG_AsLong(obj1
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20893 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "self", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_FromInt((int)result
);
20919 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_FromInt((int)result
);
20945 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20965 wxSize
* resultptr
;
20966 resultptr
= new wxSize((wxSize
&) result
);
20967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20975 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20979 bool arg3
= (bool) False
;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 PyObject
* obj2
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 arg2
= (int) SWIG_AsInt(obj1
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 arg3
= (bool) SWIG_AsBool(obj2
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->SetItemSpacing(arg2
,arg3
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21010 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_FromInt((int)result
);
21036 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21040 PyObject
* obj0
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21056 wxColour
* resultptr
;
21057 resultptr
= new wxColour((wxColour
&) result
);
21058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21066 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21069 wxColour
*arg2
= 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self",(char *) "col", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 Py_INCREF(Py_None
); resultobj
= Py_None
;
21098 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
;
21100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "self", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= SWIG_FromLong((long)result
);
21124 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21128 bool arg3
= (bool) True
;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 PyObject
* obj2
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self",(char *) "style",(char *) "add", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21139 arg2
= (long) SWIG_AsLong(obj1
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 arg3
= (bool) SWIG_AsBool(obj2
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 (arg1
)->SetSingleStyle(arg2
,arg3
);
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 Py_INCREF(Py_None
); resultobj
= Py_None
;
21159 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self",(char *) "style", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 arg2
= (long) SWIG_AsLong(obj1
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->SetWindowStyleFlag(arg2
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21192 int arg3
= (int) wxLIST_NEXT_ALL
;
21193 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 PyObject
* obj2
= 0 ;
21198 PyObject
* obj3
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 arg2
= (long) SWIG_AsLong(obj1
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 arg3
= (int) SWIG_AsInt(obj2
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21213 arg4
= (int) SWIG_AsInt(obj3
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_FromLong((long)result
);
21230 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21234 wxImageList
*result
;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "which", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21244 arg2
= (int) SWIG_AsInt(obj1
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= wxPyMake_wxObject(result
);
21262 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21265 wxImageList
*arg2
= (wxImageList
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 PyObject
* obj2
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self",(char *) "imageList",(char *) "which", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 arg3
= (int) SWIG_AsInt(obj2
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 (arg1
)->SetImageList(arg2
,arg3
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 Py_INCREF(Py_None
); resultobj
= Py_None
;
21295 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21298 wxImageList
*arg2
= (wxImageList
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 PyObject
* obj2
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "imageList",(char *) "which", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21311 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21312 arg3
= (int) SWIG_AsInt(obj2
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 (arg1
)->AssignImageList(arg2
,arg3
);
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 Py_INCREF(Py_None
); resultobj
= Py_None
;
21328 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21354 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "item", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21367 arg2
= (long) SWIG_AsLong(obj1
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 (arg1
)->RefreshItem(arg2
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 Py_INCREF(Py_None
); resultobj
= Py_None
;
21383 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21388 PyObject
* obj0
= 0 ;
21389 PyObject
* obj1
= 0 ;
21390 PyObject
* obj2
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21398 arg2
= (long) SWIG_AsLong(obj1
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21400 arg3
= (long) SWIG_AsLong(obj2
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->RefreshItems(arg2
,arg3
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21419 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self",(char *) "flag", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21431 arg2
= (int) SWIG_AsInt(obj1
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (bool)(arg1
)->Arrange(arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "item", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 arg2
= (long) SWIG_AsLong(obj1
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (bool)(arg1
)->DeleteItem(arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21478 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21482 PyObject
* obj0
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (bool)(arg1
)->DeleteAllItems();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21504 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self",(char *) "col", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21518 arg2
= (int) SWIG_AsInt(obj1
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21534 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (bool)(arg1
)->DeleteAllColumns();
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21560 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 (arg1
)->ClearAll();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 Py_INCREF(Py_None
); resultobj
= Py_None
;
21585 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self",(char *) "item", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 arg2
= (long) SWIG_AsLong(obj1
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 (arg1
)->EditLabel(arg2
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 Py_INCREF(Py_None
); resultobj
= Py_None
;
21614 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "item", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 arg2
= (long) SWIG_AsLong(obj1
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21644 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21648 wxString
*arg3
= 0 ;
21649 bool arg4
= (bool) False
;
21651 bool temp3
= False
;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 PyObject
* obj2
= 0 ;
21655 PyObject
* obj3
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 arg2
= (long) SWIG_AsLong(obj1
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 arg3
= wxString_in_helper(obj2
);
21667 if (arg3
== NULL
) SWIG_fail
;
21671 arg4
= (bool) SWIG_AsBool(obj3
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_FromLong((long)result
);
21696 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "start",(char *) "data", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21712 arg2
= (long) SWIG_AsLong(obj1
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21714 arg3
= (long) SWIG_AsLong(obj2
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_FromLong((long)result
);
21730 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21734 wxPoint
*arg3
= 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 PyObject
* obj3
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21749 arg2
= (long) SWIG_AsLong(obj1
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21755 arg4
= (int) SWIG_AsInt(obj3
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= SWIG_FromLong((long)result
);
21771 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21774 wxPoint
*arg2
= 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "point", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_FromLong((long)result
);
21802 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21803 resultobj
= t_output_helper(resultobj
,o
);
21811 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21814 wxListItem
*arg2
= 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "info", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21828 if (arg2
== NULL
) {
21829 PyErr_SetString(PyExc_TypeError
,"null reference");
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (long)(arg1
)->InsertItem(*arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_FromLong((long)result
);
21846 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21850 wxString
*arg3
= 0 ;
21852 bool temp3
= False
;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 PyObject
* obj2
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "index",(char *) "label", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21863 arg2
= (long) SWIG_AsLong(obj1
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 arg3
= wxString_in_helper(obj2
);
21867 if (arg3
== NULL
) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= SWIG_FromLong((long)result
);
21892 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 PyObject
* obj2
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21908 arg2
= (long) SWIG_AsLong(obj1
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21910 arg3
= (int) SWIG_AsInt(obj2
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_FromLong((long)result
);
21926 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21930 wxString
*arg3
= 0 ;
21933 bool temp3
= False
;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 PyObject
* obj3
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21945 arg2
= (long) SWIG_AsLong(obj1
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 arg3
= wxString_in_helper(obj2
);
21949 if (arg3
== NULL
) SWIG_fail
;
21952 arg4
= (int) SWIG_AsInt(obj3
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_FromLong((long)result
);
21976 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21980 wxListItem
*arg3
= 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "col",(char *) "info", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 arg2
= (long) SWIG_AsLong(obj1
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21994 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21997 if (arg3
== NULL
) {
21998 PyErr_SetString(PyExc_TypeError
,"null reference");
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_FromLong((long)result
);
22015 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22019 wxString
*arg3
= 0 ;
22020 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22021 int arg5
= (int) -1 ;
22023 bool temp3
= False
;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 PyObject
* obj2
= 0 ;
22027 PyObject
* obj3
= 0 ;
22028 PyObject
* obj4
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 arg2
= (long) SWIG_AsLong(obj1
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 arg3
= wxString_in_helper(obj2
);
22040 if (arg3
== NULL
) SWIG_fail
;
22044 arg4
= (int) SWIG_AsInt(obj3
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 arg5
= (int) SWIG_AsInt(obj4
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_FromLong((long)result
);
22073 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self",(char *) "count", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 arg2
= (long) SWIG_AsLong(obj1
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 (arg1
)->SetItemCount(arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 Py_INCREF(Py_None
); resultobj
= Py_None
;
22102 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "dx",(char *) "dy", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 arg2
= (int) SWIG_AsInt(obj1
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22120 arg3
= (int) SWIG_AsInt(obj2
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22136 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22140 wxColour
*arg3
= 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "item",(char *) "col", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 arg2
= (long) SWIG_AsLong(obj1
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22156 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 Py_INCREF(Py_None
); resultobj
= Py_None
;
22172 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "item", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 arg2
= (long) SWIG_AsLong(obj1
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 wxColour
* resultptr
;
22197 resultptr
= new wxColour((wxColour
&) result
);
22198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22206 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22210 wxColour
*arg3
= 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 PyObject
* obj2
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "item",(char *) "col", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 arg2
= (long) SWIG_AsLong(obj1
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 Py_INCREF(Py_None
); resultobj
= Py_None
;
22242 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "item", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 arg2
= (long) SWIG_AsLong(obj1
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 wxColour
* resultptr
;
22267 resultptr
= new wxColour((wxColour
&) result
);
22268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22276 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22279 PyObject
*arg2
= (PyObject
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "func", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22305 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= wxPyMake_wxObject(result
);
22333 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22336 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22338 return Py_BuildValue((char *)"");
22340 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxWindow
*arg1
= (wxWindow
*) 0 ;
22343 int arg2
= (int) -1 ;
22344 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22345 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22346 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22347 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22348 long arg5
= (long) wxLC_REPORT
;
22349 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22350 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22351 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22353 wxListView
*result
;
22356 bool temp7
= False
;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 PyObject
* obj3
= 0 ;
22361 PyObject
* obj4
= 0 ;
22362 PyObject
* obj5
= 0 ;
22363 PyObject
* obj6
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 arg2
= (int) SWIG_AsInt(obj1
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22384 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22388 arg5
= (long) SWIG_AsLong(obj4
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22395 if (arg6
== NULL
) {
22396 PyErr_SetString(PyExc_TypeError
,"null reference");
22402 arg7
= wxString_in_helper(obj6
);
22403 if (arg7
== NULL
) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22429 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxListView
*result
;
22432 char *kwnames
[] = {
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 result
= (wxListView
*)new wxListView();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22451 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxListView
*arg1
= (wxListView
*) 0 ;
22454 wxWindow
*arg2
= (wxWindow
*) 0 ;
22455 int arg3
= (int) -1 ;
22456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22460 long arg6
= (long) wxLC_REPORT
;
22461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22463 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22468 bool temp8
= False
;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 PyObject
* obj2
= 0 ;
22472 PyObject
* obj3
= 0 ;
22473 PyObject
* obj4
= 0 ;
22474 PyObject
* obj5
= 0 ;
22475 PyObject
* obj6
= 0 ;
22476 PyObject
* obj7
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 arg3
= (int) SWIG_AsInt(obj2
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22503 arg6
= (long) SWIG_AsLong(obj5
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22510 if (arg7
== NULL
) {
22511 PyErr_SetString(PyExc_TypeError
,"null reference");
22517 arg8
= wxString_in_helper(obj7
);
22518 if (arg8
== NULL
) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22544 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxListView
*arg1
= (wxListView
*) 0 ;
22548 bool arg3
= (bool) True
;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "n",(char *) "on", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 arg2
= (long) SWIG_AsLong(obj1
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 arg3
= (bool) SWIG_AsBool(obj2
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 (arg1
)->Select(arg2
,arg3
);
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 Py_INCREF(Py_None
); resultobj
= Py_None
;
22579 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxListView
*arg1
= (wxListView
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self",(char *) "index", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 arg2
= (long) SWIG_AsLong(obj1
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->Focus(arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxListView
*arg1
= (wxListView
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 resultobj
= SWIG_FromLong((long)result
);
22634 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxListView
*arg1
= (wxListView
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self",(char *) "item", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 arg2
= (long) SWIG_AsLong(obj1
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_FromLong((long)result
);
22664 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxListView
*arg1
= (wxListView
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_FromLong((long)result
);
22690 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxListView
*arg1
= (wxListView
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 PyObject
* obj1
= 0 ;
22697 char *kwnames
[] = {
22698 (char *) "self",(char *) "index", NULL
22701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 arg2
= (long) SWIG_AsLong(obj1
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (bool)(arg1
)->IsSelected(arg2
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22720 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxListView
*arg1
= (wxListView
*) 0 ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 PyObject
* obj2
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "col",(char *) "image", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 arg2
= (int) SWIG_AsInt(obj1
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22737 arg3
= (int) SWIG_AsInt(obj2
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 (arg1
)->SetColumnImage(arg2
,arg3
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 Py_INCREF(Py_None
); resultobj
= Py_None
;
22753 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxListView
*arg1
= (wxListView
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "col", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 arg2
= (int) SWIG_AsInt(obj1
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 (arg1
)->ClearColumnImage(arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22785 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22787 return Py_BuildValue((char *)"");
22789 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22790 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22795 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22800 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22802 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22809 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxTreeItemId
*result
;
22812 char *kwnames
[] = {
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= (wxTreeItemId
*)new wxTreeItemId();
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22831 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 Py_INCREF(Py_None
); resultobj
= Py_None
;
22856 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22882 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22885 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self",(char *) "other", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22912 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22915 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self",(char *) "other", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22942 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22945 void *arg2
= (void *) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self",(char *) "m_pItem", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22956 if (arg1
) (arg1
)->m_pItem
= arg2
;
22958 Py_INCREF(Py_None
); resultobj
= Py_None
;
22965 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22977 result
= (void *) ((arg1
)->m_pItem
);
22979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
22986 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22989 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22991 return Py_BuildValue((char *)"");
22993 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 PyObject
*arg1
= (PyObject
*) NULL
;
22996 wxPyTreeItemData
*result
;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "obj", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23020 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23024 PyObject
* obj0
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (PyObject
*)(arg1
)->GetData();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= result
;
23046 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23049 PyObject
*arg2
= (PyObject
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "obj", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 (arg1
)->SetData(arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 Py_INCREF(Py_None
); resultobj
= Py_None
;
23074 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23076 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23077 wxTreeItemId
*result
;
23078 PyObject
* obj0
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23090 result
= (wxTreeItemId
*) &_result_ref
;
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23103 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23106 wxTreeItemId
*arg2
= 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "id", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23119 if (arg2
== NULL
) {
23120 PyErr_SetString(PyExc_TypeError
,"null reference");
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 Py_INCREF(Py_None
); resultobj
= Py_None
;
23137 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 wxPyTreeItemData_Destroy(arg1
);
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 Py_INCREF(Py_None
); resultobj
= Py_None
;
23162 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23165 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23167 return Py_BuildValue((char *)"");
23169 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23172 int arg2
= (int) 0 ;
23173 wxTreeEvent
*result
;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "commandType",(char *) "id", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23182 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 arg2
= (int) SWIG_AsInt(obj1
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23203 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23206 wxTreeItemId result
;
23207 PyObject
* obj0
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23223 wxTreeItemId
* resultptr
;
23224 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23233 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23236 wxTreeItemId
*arg2
= 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self",(char *) "item", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23249 if (arg2
== NULL
) {
23250 PyErr_SetString(PyExc_TypeError
,"null reference");
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 Py_INCREF(Py_None
); resultobj
= Py_None
;
23267 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23270 wxTreeItemId result
;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 wxTreeItemId
* resultptr
;
23288 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23297 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23300 wxTreeItemId
*arg2
= 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "item", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23313 if (arg2
== NULL
) {
23314 PyErr_SetString(PyExc_TypeError
,"null reference");
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 Py_INCREF(Py_None
); resultobj
= Py_None
;
23331 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23351 wxPoint
* resultptr
;
23352 resultptr
= new wxPoint((wxPoint
&) result
);
23353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23361 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23364 wxPoint
*arg2
= 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self",(char *) "pt", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 Py_INCREF(Py_None
); resultobj
= Py_None
;
23393 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23396 wxKeyEvent
*result
;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23409 result
= (wxKeyEvent
*) &_result_ref
;
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23422 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_FromInt((int)result
);
23448 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23451 wxKeyEvent
*arg2
= 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "evt", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23464 if (arg2
== NULL
) {
23465 PyErr_SetString(PyExc_TypeError
,"null reference");
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 Py_INCREF(Py_None
); resultobj
= Py_None
;
23482 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23486 PyObject
* obj0
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23498 result
= (wxString
*) &_result_ref
;
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23508 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23517 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23520 wxString
*arg2
= 0 ;
23521 bool temp2
= False
;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "label", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 arg2
= wxString_in_helper(obj1
);
23533 if (arg2
== NULL
) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 (arg1
)->SetLabel((wxString
const &)*arg2
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 Py_INCREF(Py_None
); resultobj
= Py_None
;
23558 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23584 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
;
23586 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self",(char *) "editCancelled", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23597 arg2
= (bool) SWIG_AsBool(obj1
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 (arg1
)->SetEditCanceled(arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 Py_INCREF(Py_None
); resultobj
= Py_None
;
23613 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23616 wxString
*arg2
= 0 ;
23617 bool temp2
= False
;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "toolTip", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 arg2
= wxString_in_helper(obj1
);
23629 if (arg2
== NULL
) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23657 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23659 return Py_BuildValue((char *)"");
23661 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxWindow
*arg1
= (wxWindow
*) 0 ;
23664 int arg2
= (int) -1 ;
23665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23667 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23668 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23669 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23670 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23671 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23672 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23673 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23674 wxPyTreeCtrl
*result
;
23677 bool temp7
= False
;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 PyObject
* obj2
= 0 ;
23681 PyObject
* obj3
= 0 ;
23682 PyObject
* obj4
= 0 ;
23683 PyObject
* obj5
= 0 ;
23684 PyObject
* obj6
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 arg2
= (int) SWIG_AsInt(obj1
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23699 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23705 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23709 arg5
= (long) SWIG_AsLong(obj4
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23716 if (arg6
== NULL
) {
23717 PyErr_SetString(PyExc_TypeError
,"null reference");
23723 arg7
= wxString_in_helper(obj6
);
23724 if (arg7
== NULL
) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= wxPyMake_wxObject(result
);
23752 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxPyTreeCtrl
*result
;
23755 char *kwnames
[] = {
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= wxPyMake_wxObject(result
);
23776 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
;
23778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23779 wxWindow
*arg2
= (wxWindow
*) 0 ;
23780 int arg3
= (int) -1 ;
23781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23785 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23786 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23787 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23788 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23793 bool temp8
= False
;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 PyObject
* obj2
= 0 ;
23797 PyObject
* obj3
= 0 ;
23798 PyObject
* obj4
= 0 ;
23799 PyObject
* obj5
= 0 ;
23800 PyObject
* obj6
= 0 ;
23801 PyObject
* obj7
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23812 arg3
= (int) SWIG_AsInt(obj2
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23828 arg6
= (long) SWIG_AsLong(obj5
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23835 if (arg7
== NULL
) {
23836 PyErr_SetString(PyExc_TypeError
,"null reference");
23842 arg8
= wxString_in_helper(obj7
);
23843 if (arg8
== NULL
) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23869 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23872 PyObject
*arg2
= (PyObject
*) 0 ;
23873 PyObject
*arg3
= (PyObject
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self",(char *) "self",(char *) "_class", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 Py_INCREF(Py_None
); resultobj
= Py_None
;
23900 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23926 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23929 unsigned int result
;
23930 PyObject
* obj0
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23952 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23955 unsigned int arg2
;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self",(char *) "indent", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 (arg1
)->SetIndent(arg2
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 Py_INCREF(Py_None
); resultobj
= Py_None
;
23981 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23984 unsigned int result
;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24007 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24010 unsigned int arg2
;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "spacing", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24020 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->SetSpacing(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24039 wxImageList
*result
;
24040 PyObject
* obj0
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= wxPyMake_wxObject(result
);
24064 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24067 wxImageList
*result
;
24068 PyObject
* obj0
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= wxPyMake_wxObject(result
);
24092 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24095 wxImageList
*arg2
= (wxImageList
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "imageList", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 (arg1
)->SetImageList(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 Py_INCREF(Py_None
); resultobj
= Py_None
;
24121 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24124 wxImageList
*arg2
= (wxImageList
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "imageList", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 (arg1
)->SetStateImageList(arg2
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24150 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24153 wxImageList
*arg2
= (wxImageList
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self",(char *) "imageList", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24164 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 (arg1
)->AssignImageList(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 Py_INCREF(Py_None
); resultobj
= Py_None
;
24179 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24182 wxImageList
*arg2
= (wxImageList
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self",(char *) "imageList", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24193 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 (arg1
)->AssignStateImageList(arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24211 wxTreeItemId
*arg2
= 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "item", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24225 if (arg2
== NULL
) {
24226 PyErr_SetString(PyExc_TypeError
,"null reference");
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24249 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24252 wxTreeItemId
*arg2
= 0 ;
24253 int arg3
= (int) wxTreeItemIcon_Normal
;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "item",(char *) "which", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24268 if (arg2
== NULL
) {
24269 PyErr_SetString(PyExc_TypeError
,"null reference");
24273 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_FromInt((int)result
);
24290 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
;
24292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24293 wxTreeItemId
*arg2
= 0 ;
24294 wxPyTreeItemData
*result
;
24295 PyObject
* obj0
= 0 ;
24296 PyObject
* obj1
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self",(char *) "item", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24307 if (arg2
== NULL
) {
24308 PyErr_SetString(PyExc_TypeError
,"null reference");
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24325 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24328 wxTreeItemId
*arg2
= 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self",(char *) "item", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24342 if (arg2
== NULL
) {
24343 PyErr_SetString(PyExc_TypeError
,"null reference");
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= result
;
24360 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24363 wxTreeItemId
*arg2
= 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self",(char *) "item", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24377 if (arg2
== NULL
) {
24378 PyErr_SetString(PyExc_TypeError
,"null reference");
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 wxColour
* resultptr
;
24390 resultptr
= new wxColour((wxColour
&) result
);
24391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24399 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24402 wxTreeItemId
*arg2
= 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "item", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24416 if (arg2
== NULL
) {
24417 PyErr_SetString(PyExc_TypeError
,"null reference");
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 wxColour
* resultptr
;
24429 resultptr
= new wxColour((wxColour
&) result
);
24430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24438 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24441 wxTreeItemId
*arg2
= 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "item", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24455 if (arg2
== NULL
) {
24456 PyErr_SetString(PyExc_TypeError
,"null reference");
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 wxFont
* resultptr
;
24468 resultptr
= new wxFont((wxFont
&) result
);
24469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24477 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24480 wxTreeItemId
*arg2
= 0 ;
24481 wxString
*arg3
= 0 ;
24482 bool temp3
= False
;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "item",(char *) "text", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24496 if (arg2
== NULL
) {
24497 PyErr_SetString(PyExc_TypeError
,"null reference");
24501 arg3
= wxString_in_helper(obj2
);
24502 if (arg3
== NULL
) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24527 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24530 wxTreeItemId
*arg2
= 0 ;
24532 int arg4
= (int) wxTreeItemIcon_Normal
;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 PyObject
* obj2
= 0 ;
24536 PyObject
* obj3
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24547 if (arg2
== NULL
) {
24548 PyErr_SetString(PyExc_TypeError
,"null reference");
24551 arg3
= (int) SWIG_AsInt(obj2
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 Py_INCREF(Py_None
); resultobj
= Py_None
;
24571 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24574 wxTreeItemId
*arg2
= 0 ;
24575 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 PyObject
* obj2
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "item",(char *) "data", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24589 if (arg2
== NULL
) {
24590 PyErr_SetString(PyExc_TypeError
,"null reference");
24593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24612 wxTreeItemId
*arg2
= 0 ;
24613 PyObject
*arg3
= (PyObject
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "obj", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24627 if (arg2
== NULL
) {
24628 PyErr_SetString(PyExc_TypeError
,"null reference");
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 Py_INCREF(Py_None
); resultobj
= Py_None
;
24646 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24649 wxTreeItemId
*arg2
= 0 ;
24650 bool arg3
= (bool) True
;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 PyObject
* obj2
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "item",(char *) "has", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24664 if (arg2
== NULL
) {
24665 PyErr_SetString(PyExc_TypeError
,"null reference");
24669 arg3
= (bool) SWIG_AsBool(obj2
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24689 wxTreeItemId
*arg2
= 0 ;
24690 bool arg3
= (bool) True
;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 PyObject
* obj2
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "item",(char *) "bold", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24704 if (arg2
== NULL
) {
24705 PyErr_SetString(PyExc_TypeError
,"null reference");
24709 arg3
= (bool) SWIG_AsBool(obj2
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24729 wxTreeItemId
*arg2
= 0 ;
24730 wxColour
*arg3
= 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self",(char *) "item",(char *) "col", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24745 if (arg2
== NULL
) {
24746 PyErr_SetString(PyExc_TypeError
,"null reference");
24751 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24770 wxTreeItemId
*arg2
= 0 ;
24771 wxColour
*arg3
= 0 ;
24773 PyObject
* obj0
= 0 ;
24774 PyObject
* obj1
= 0 ;
24775 PyObject
* obj2
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "item",(char *) "col", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24786 if (arg2
== NULL
) {
24787 PyErr_SetString(PyExc_TypeError
,"null reference");
24792 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24801 Py_INCREF(Py_None
); resultobj
= Py_None
;
24808 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24811 wxTreeItemId
*arg2
= 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 PyObject
* obj2
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self",(char *) "item",(char *) "font", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24826 if (arg2
== NULL
) {
24827 PyErr_SetString(PyExc_TypeError
,"null reference");
24830 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24833 if (arg3
== NULL
) {
24834 PyErr_SetString(PyExc_TypeError
,"null reference");
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 Py_INCREF(Py_None
); resultobj
= Py_None
;
24851 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24854 wxTreeItemId
*arg2
= 0 ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "item", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24868 if (arg2
== NULL
) {
24869 PyErr_SetString(PyExc_TypeError
,"null reference");
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24886 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24889 wxTreeItemId
*arg2
= 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self",(char *) "item", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24903 if (arg2
== NULL
) {
24904 PyErr_SetString(PyExc_TypeError
,"null reference");
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24921 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24924 wxTreeItemId
*arg2
= 0 ;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "item", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24938 if (arg2
== NULL
) {
24939 PyErr_SetString(PyExc_TypeError
,"null reference");
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24956 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24959 wxTreeItemId
*arg2
= 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self",(char *) "item", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24973 if (arg2
== NULL
) {
24974 PyErr_SetString(PyExc_TypeError
,"null reference");
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24991 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24994 wxTreeItemId
*arg2
= 0 ;
24996 PyObject
* obj0
= 0 ;
24997 PyObject
* obj1
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self",(char *) "item", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25008 if (arg2
== NULL
) {
25009 PyErr_SetString(PyExc_TypeError
,"null reference");
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25026 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25029 wxTreeItemId
*arg2
= 0 ;
25030 bool arg3
= (bool) True
;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 PyObject
* obj2
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "item",(char *) "recursively", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25045 if (arg2
== NULL
) {
25046 PyErr_SetString(PyExc_TypeError
,"null reference");
25050 arg3
= (bool) SWIG_AsBool(obj2
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25067 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
;
25069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25070 wxTreeItemId result
;
25071 PyObject
* obj0
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "self", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25087 wxTreeItemId
* resultptr
;
25088 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25097 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25100 wxTreeItemId result
;
25101 PyObject
* obj0
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 wxTreeItemId
* resultptr
;
25118 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25127 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= result
;
25153 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25156 wxTreeItemId
*arg2
= 0 ;
25157 wxTreeItemId result
;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self",(char *) "item", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25170 if (arg2
== NULL
) {
25171 PyErr_SetString(PyExc_TypeError
,"null reference");
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 wxTreeItemId
* resultptr
;
25183 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25192 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25195 wxTreeItemId
*arg2
= 0 ;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "item", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25209 if (arg2
== NULL
) {
25210 PyErr_SetString(PyExc_TypeError
,"null reference");
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= result
;
25227 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25230 wxTreeItemId
*arg2
= 0 ;
25231 void *arg3
= (void *) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 PyObject
* obj2
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "item",(char *) "cookie", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25246 if (arg2
== NULL
) {
25247 PyErr_SetString(PyExc_TypeError
,"null reference");
25250 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= result
;
25265 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25268 wxTreeItemId
*arg2
= 0 ;
25269 wxTreeItemId result
;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self",(char *) "item", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25282 if (arg2
== NULL
) {
25283 PyErr_SetString(PyExc_TypeError
,"null reference");
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25294 wxTreeItemId
* resultptr
;
25295 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25304 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25307 wxTreeItemId
*arg2
= 0 ;
25308 wxTreeItemId result
;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self",(char *) "item", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25321 if (arg2
== NULL
) {
25322 PyErr_SetString(PyExc_TypeError
,"null reference");
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 wxTreeItemId
* resultptr
;
25334 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25343 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25346 wxTreeItemId
*arg2
= 0 ;
25347 wxTreeItemId result
;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self",(char *) "item", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25360 if (arg2
== NULL
) {
25361 PyErr_SetString(PyExc_TypeError
,"null reference");
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 wxTreeItemId
* resultptr
;
25373 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25382 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25385 wxTreeItemId result
;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 wxTreeItemId
* resultptr
;
25403 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25412 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25415 wxTreeItemId
*arg2
= 0 ;
25416 wxTreeItemId result
;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char *kwnames
[] = {
25420 (char *) "self",(char *) "item", NULL
25423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25429 if (arg2
== NULL
) {
25430 PyErr_SetString(PyExc_TypeError
,"null reference");
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25441 wxTreeItemId
* resultptr
;
25442 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25451 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
;
25453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25454 wxTreeItemId
*arg2
= 0 ;
25455 wxTreeItemId result
;
25456 PyObject
* obj0
= 0 ;
25457 PyObject
* obj1
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self",(char *) "item", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25468 if (arg2
== NULL
) {
25469 PyErr_SetString(PyExc_TypeError
,"null reference");
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25480 wxTreeItemId
* resultptr
;
25481 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25490 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25493 wxString
*arg2
= 0 ;
25494 int arg3
= (int) -1 ;
25495 int arg4
= (int) -1 ;
25496 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25497 wxTreeItemId result
;
25498 bool temp2
= False
;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 PyObject
* obj2
= 0 ;
25502 PyObject
* obj3
= 0 ;
25503 PyObject
* obj4
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25512 arg2
= wxString_in_helper(obj1
);
25513 if (arg2
== NULL
) SWIG_fail
;
25517 arg3
= (int) SWIG_AsInt(obj2
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25521 arg4
= (int) SWIG_AsInt(obj3
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 wxTreeItemId
* resultptr
;
25537 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25554 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25557 wxTreeItemId
*arg2
= 0 ;
25558 wxString
*arg3
= 0 ;
25559 int arg4
= (int) -1 ;
25560 int arg5
= (int) -1 ;
25561 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25562 wxTreeItemId result
;
25563 bool temp3
= False
;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 PyObject
* obj2
= 0 ;
25567 PyObject
* obj3
= 0 ;
25568 PyObject
* obj4
= 0 ;
25569 PyObject
* obj5
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25580 if (arg2
== NULL
) {
25581 PyErr_SetString(PyExc_TypeError
,"null reference");
25585 arg3
= wxString_in_helper(obj2
);
25586 if (arg3
== NULL
) SWIG_fail
;
25590 arg4
= (int) SWIG_AsInt(obj3
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 arg5
= (int) SWIG_AsInt(obj4
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25609 wxTreeItemId
* resultptr
;
25610 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25627 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25630 wxTreeItemId
*arg2
= 0 ;
25631 wxTreeItemId
*arg3
= 0 ;
25632 wxString
*arg4
= 0 ;
25633 int arg5
= (int) -1 ;
25634 int arg6
= (int) -1 ;
25635 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25636 wxTreeItemId result
;
25637 bool temp4
= False
;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 PyObject
* obj2
= 0 ;
25641 PyObject
* obj3
= 0 ;
25642 PyObject
* obj4
= 0 ;
25643 PyObject
* obj5
= 0 ;
25644 PyObject
* obj6
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25655 if (arg2
== NULL
) {
25656 PyErr_SetString(PyExc_TypeError
,"null reference");
25659 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25662 if (arg3
== NULL
) {
25663 PyErr_SetString(PyExc_TypeError
,"null reference");
25667 arg4
= wxString_in_helper(obj3
);
25668 if (arg4
== NULL
) SWIG_fail
;
25672 arg5
= (int) SWIG_AsInt(obj4
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 arg6
= (int) SWIG_AsInt(obj5
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 wxTreeItemId
* resultptr
;
25692 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25709 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25712 wxTreeItemId
*arg2
= 0 ;
25714 wxString
*arg4
= 0 ;
25715 int arg5
= (int) -1 ;
25716 int arg6
= (int) -1 ;
25717 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25718 wxTreeItemId result
;
25719 bool temp4
= False
;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 PyObject
* obj2
= 0 ;
25723 PyObject
* obj3
= 0 ;
25724 PyObject
* obj4
= 0 ;
25725 PyObject
* obj5
= 0 ;
25726 PyObject
* obj6
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25737 if (arg2
== NULL
) {
25738 PyErr_SetString(PyExc_TypeError
,"null reference");
25741 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 arg4
= wxString_in_helper(obj3
);
25745 if (arg4
== NULL
) SWIG_fail
;
25749 arg5
= (int) SWIG_AsInt(obj4
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25753 arg6
= (int) SWIG_AsInt(obj5
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 wxTreeItemId
* resultptr
;
25769 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25786 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25789 wxTreeItemId
*arg2
= 0 ;
25790 wxString
*arg3
= 0 ;
25791 int arg4
= (int) -1 ;
25792 int arg5
= (int) -1 ;
25793 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25794 wxTreeItemId result
;
25795 bool temp3
= False
;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 PyObject
* obj2
= 0 ;
25799 PyObject
* obj3
= 0 ;
25800 PyObject
* obj4
= 0 ;
25801 PyObject
* obj5
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25812 if (arg2
== NULL
) {
25813 PyErr_SetString(PyExc_TypeError
,"null reference");
25817 arg3
= wxString_in_helper(obj2
);
25818 if (arg3
== NULL
) SWIG_fail
;
25822 arg4
= (int) SWIG_AsInt(obj3
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 arg5
= (int) SWIG_AsInt(obj4
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 wxTreeItemId
* resultptr
;
25842 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25859 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25862 wxTreeItemId
*arg2
= 0 ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "item", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25875 if (arg2
== NULL
) {
25876 PyErr_SetString(PyExc_TypeError
,"null reference");
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25896 wxTreeItemId
*arg2
= 0 ;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self",(char *) "item", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25909 if (arg2
== NULL
) {
25910 PyErr_SetString(PyExc_TypeError
,"null reference");
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 Py_INCREF(Py_None
); resultobj
= Py_None
;
25927 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
;
25929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 (arg1
)->DeleteAllItems();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 Py_INCREF(Py_None
); resultobj
= Py_None
;
25952 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25955 wxTreeItemId
*arg2
= 0 ;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "item", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25968 if (arg2
== NULL
) {
25969 PyErr_SetString(PyExc_TypeError
,"null reference");
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25986 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25989 wxTreeItemId
*arg2
= 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "item", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference");
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 Py_INCREF(Py_None
); resultobj
= Py_None
;
26020 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26023 wxTreeItemId
*arg2
= 0 ;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "item", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26036 if (arg2
== NULL
) {
26037 PyErr_SetString(PyExc_TypeError
,"null reference");
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 Py_INCREF(Py_None
); resultobj
= Py_None
;
26054 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26057 wxTreeItemId
*arg2
= 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "item", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26070 if (arg2
== NULL
) {
26071 PyErr_SetString(PyExc_TypeError
,"null reference");
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 Py_INCREF(Py_None
); resultobj
= Py_None
;
26088 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26091 PyObject
* obj0
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "self", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->Unselect();
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 Py_INCREF(Py_None
); resultobj
= Py_None
;
26113 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26116 wxTreeItemId
*arg2
= 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "item", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26129 if (arg2
== NULL
) {
26130 PyErr_SetString(PyExc_TypeError
,"null reference");
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->UnselectAll();
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 Py_INCREF(Py_None
); resultobj
= Py_None
;
26172 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26175 wxTreeItemId
*arg2
= 0 ;
26176 bool arg3
= (bool) True
;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 PyObject
* obj2
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "item",(char *) "select", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26190 if (arg2
== NULL
) {
26191 PyErr_SetString(PyExc_TypeError
,"null reference");
26195 arg3
= (bool) SWIG_AsBool(obj2
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26215 wxTreeItemId
*arg2
= 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self",(char *) "item", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26228 if (arg2
== NULL
) {
26229 PyErr_SetString(PyExc_TypeError
,"null reference");
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26249 wxTreeItemId
*arg2
= 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "item", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26262 if (arg2
== NULL
) {
26263 PyErr_SetString(PyExc_TypeError
,"null reference");
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 Py_INCREF(Py_None
); resultobj
= Py_None
;
26280 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26283 wxTreeItemId
*arg2
= 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "item", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26296 if (arg2
== NULL
) {
26297 PyErr_SetString(PyExc_TypeError
,"null reference");
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 Py_INCREF(Py_None
); resultobj
= Py_None
;
26314 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
;
26316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26317 wxTreeItemId
*arg2
= 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "item", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26330 if (arg2
== NULL
) {
26331 PyErr_SetString(PyExc_TypeError
,"null reference");
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 Py_INCREF(Py_None
); resultobj
= Py_None
;
26348 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26351 wxTextCtrl
*result
;
26352 PyObject
* obj0
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= wxPyMake_wxObject(result
);
26376 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26379 wxTreeItemId
*arg2
= 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "item", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26392 if (arg2
== NULL
) {
26393 PyErr_SetString(PyExc_TypeError
,"null reference");
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 Py_INCREF(Py_None
); resultobj
= Py_None
;
26410 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26413 wxPoint
*arg2
= 0 ;
26415 wxTreeItemId result
;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "point", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26440 wxTreeItemId
* resultptr
;
26441 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26445 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26446 resultobj
= t_output_helper(resultobj
,o
);
26454 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26457 wxTreeItemId
*arg2
= 0 ;
26458 bool arg3
= (bool) False
;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 PyObject
* obj2
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26473 if (arg2
== NULL
) {
26474 PyErr_SetString(PyExc_TypeError
,"null reference");
26478 arg3
= (bool) SWIG_AsBool(obj2
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= result
;
26495 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26498 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26500 return Py_BuildValue((char *)"");
26502 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26503 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26508 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26513 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26515 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26522 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26525 int arg2
= (int) (int)-1 ;
26526 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26532 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26533 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26535 int arg8
= (int) 0 ;
26536 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26537 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26538 wxGenericDirCtrl
*result
;
26539 bool temp3
= False
;
26542 bool temp7
= False
;
26543 bool temp9
= False
;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 PyObject
* obj2
= 0 ;
26547 PyObject
* obj3
= 0 ;
26548 PyObject
* obj4
= 0 ;
26549 PyObject
* obj5
= 0 ;
26550 PyObject
* obj6
= 0 ;
26551 PyObject
* obj7
= 0 ;
26552 PyObject
* obj8
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26561 arg2
= (int const) SWIG_AsInt(obj1
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26566 arg3
= wxString_in_helper(obj2
);
26567 if (arg3
== NULL
) SWIG_fail
;
26574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26584 arg6
= (long) SWIG_AsLong(obj5
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26589 arg7
= wxString_in_helper(obj6
);
26590 if (arg7
== NULL
) SWIG_fail
;
26595 arg8
= (int) SWIG_AsInt(obj7
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26600 arg9
= wxString_in_helper(obj8
);
26601 if (arg9
== NULL
) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26643 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxGenericDirCtrl
*result
;
26646 char *kwnames
[] = {
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26665 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26668 wxWindow
*arg2
= (wxWindow
*) 0 ;
26669 int arg3
= (int) (int)-1 ;
26670 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26676 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26677 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26678 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26679 int arg9
= (int) 0 ;
26680 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26681 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26683 bool temp4
= False
;
26686 bool temp8
= False
;
26687 bool temp10
= False
;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 PyObject
* obj2
= 0 ;
26691 PyObject
* obj3
= 0 ;
26692 PyObject
* obj4
= 0 ;
26693 PyObject
* obj5
= 0 ;
26694 PyObject
* obj6
= 0 ;
26695 PyObject
* obj7
= 0 ;
26696 PyObject
* obj8
= 0 ;
26697 PyObject
* obj9
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26708 arg3
= (int const) SWIG_AsInt(obj2
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26713 arg4
= wxString_in_helper(obj3
);
26714 if (arg4
== NULL
) SWIG_fail
;
26721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26731 arg7
= (long) SWIG_AsLong(obj6
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26736 arg8
= wxString_in_helper(obj7
);
26737 if (arg8
== NULL
) SWIG_fail
;
26742 arg9
= (int) SWIG_AsInt(obj8
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26747 arg10
= wxString_in_helper(obj9
);
26748 if (arg10
== NULL
) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26790 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26793 wxString
*arg2
= 0 ;
26795 bool temp2
= False
;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self",(char *) "path", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 arg2
= wxString_in_helper(obj1
);
26807 if (arg2
== NULL
) SWIG_fail
;
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26832 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26864 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26867 wxString
*arg2
= 0 ;
26868 bool temp2
= False
;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "path", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26879 arg2
= wxString_in_helper(obj1
);
26880 if (arg2
== NULL
) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 Py_INCREF(Py_None
); resultobj
= Py_None
;
26905 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
;
26907 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26937 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26969 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26972 wxString
*arg2
= 0 ;
26973 bool temp2
= False
;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "path", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 arg2
= wxString_in_helper(obj1
);
26985 if (arg2
== NULL
) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->SetPath((wxString
const &)*arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 Py_INCREF(Py_None
); resultobj
= Py_None
;
27010 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "show", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 arg2
= (bool) SWIG_AsBool(obj1
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 (arg1
)->ShowHidden(arg2
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 Py_INCREF(Py_None
); resultobj
= Py_None
;
27039 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 result
= (bool)(arg1
)->GetShowHidden();
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27065 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 char *kwnames
[] = {
27071 (char *) "self", NULL
27074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27097 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27099 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27100 wxString
*arg2
= 0 ;
27101 bool temp2
= False
;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self",(char *) "filter", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27112 arg2
= wxString_in_helper(obj1
);
27113 if (arg2
== NULL
) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->SetFilter((wxString
const &)*arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 Py_INCREF(Py_None
); resultobj
= Py_None
;
27138 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_FromInt((int)result
);
27164 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "n", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 arg2
= (int) SWIG_AsInt(obj1
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->SetFilterIndex(arg2
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27196 wxTreeItemId result
;
27197 PyObject
* obj0
= 0 ;
27198 char *kwnames
[] = {
27199 (char *) "self", NULL
27202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (arg1
)->GetRootId();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 wxTreeItemId
* resultptr
;
27214 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27223 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27226 wxPyTreeCtrl
*result
;
27227 PyObject
* obj0
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",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
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= wxPyMake_wxObject(result
);
27251 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
;
27253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27254 wxDirFilterListCtrl
*result
;
27255 PyObject
* obj0
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27277 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27280 wxTreeItemId arg2
;
27281 wxString
*arg3
= 0 ;
27283 wxTreeItemId result
;
27284 wxTreeItemId
*argp2
;
27285 bool temp3
= False
;
27287 PyObject
* obj0
= 0 ;
27288 PyObject
* obj1
= 0 ;
27289 PyObject
* obj2
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "parentId",(char *) "path", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27299 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27302 arg3
= wxString_in_helper(obj2
);
27303 if (arg3
== NULL
) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 wxTreeItemId
* resultptr
;
27315 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27319 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27320 resultobj
= t_output_helper(resultobj
,o
);
27336 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27339 PyObject
* obj0
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->DoResize();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 Py_INCREF(Py_None
); resultobj
= Py_None
;
27361 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27364 PyObject
* obj0
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 (arg1
)->ReCreateTree();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 Py_INCREF(Py_None
); resultobj
= Py_None
;
27386 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27389 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27391 return Py_BuildValue((char *)"");
27393 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27396 int arg2
= (int) (int)-1 ;
27397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27401 long arg5
= (long) 0 ;
27402 wxDirFilterListCtrl
*result
;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 PyObject
* obj2
= 0 ;
27408 PyObject
* obj3
= 0 ;
27409 PyObject
* obj4
= 0 ;
27410 char *kwnames
[] = {
27411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27418 arg2
= (int const) SWIG_AsInt(obj1
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27434 arg5
= (long) SWIG_AsLong(obj4
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27451 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxDirFilterListCtrl
*result
;
27454 char *kwnames
[] = {
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27473 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27476 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27477 int arg3
= (int) (int)-1 ;
27478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27482 long arg6
= (long) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 PyObject
* obj2
= 0 ;
27489 PyObject
* obj3
= 0 ;
27490 PyObject
* obj4
= 0 ;
27491 PyObject
* obj5
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27502 arg3
= (int const) SWIG_AsInt(obj2
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27508 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27514 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27518 arg6
= (long) SWIG_AsLong(obj5
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27535 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27538 wxString
*arg2
= 0 ;
27540 bool temp2
= False
;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 PyObject
* obj2
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 arg2
= wxString_in_helper(obj1
);
27553 if (arg2
== NULL
) SWIG_fail
;
27556 arg3
= (int) SWIG_AsInt(obj2
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 Py_INCREF(Py_None
); resultobj
= Py_None
;
27580 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27583 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27585 return Py_BuildValue((char *)"");
27587 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxWindow
*arg1
= (wxWindow
*) 0 ;
27591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27595 long arg5
= (long) 0 ;
27596 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27597 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27598 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27600 wxPyControl
*result
;
27603 bool temp7
= False
;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 PyObject
* obj2
= 0 ;
27607 PyObject
* obj3
= 0 ;
27608 PyObject
* obj4
= 0 ;
27609 PyObject
* obj5
= 0 ;
27610 PyObject
* obj6
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27618 arg2
= (int const) SWIG_AsInt(obj1
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27633 arg5
= (long) SWIG_AsLong(obj4
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27637 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27640 if (arg6
== NULL
) {
27641 PyErr_SetString(PyExc_TypeError
,"null reference");
27647 arg7
= wxString_in_helper(obj6
);
27648 if (arg7
== NULL
) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27674 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27677 PyObject
*arg2
= (PyObject
*) 0 ;
27678 PyObject
*arg3
= (PyObject
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 PyObject
* obj2
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self",(char *) "self",(char *) "_class", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 Py_INCREF(Py_None
); resultobj
= Py_None
;
27705 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 PyObject
* obj2
= 0 ;
27715 PyObject
* obj3
= 0 ;
27716 PyObject
* obj4
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27724 arg2
= (int) SWIG_AsInt(obj1
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27726 arg3
= (int) SWIG_AsInt(obj2
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27728 arg4
= (int) SWIG_AsInt(obj3
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27730 arg5
= (int) SWIG_AsInt(obj4
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 Py_INCREF(Py_None
); resultobj
= Py_None
;
27746 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27753 int arg6
= (int) wxSIZE_AUTO
;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 PyObject
* obj2
= 0 ;
27757 PyObject
* obj3
= 0 ;
27758 PyObject
* obj4
= 0 ;
27759 PyObject
* obj5
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27767 arg2
= (int) SWIG_AsInt(obj1
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27769 arg3
= (int) SWIG_AsInt(obj2
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27771 arg4
= (int) SWIG_AsInt(obj3
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27773 arg5
= (int) SWIG_AsInt(obj4
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 arg6
= (int) SWIG_AsInt(obj5
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 PyObject
* obj2
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "width",(char *) "height", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 arg2
= (int) SWIG_AsInt(obj1
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27810 arg3
= (int) SWIG_AsInt(obj2
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 PyObject
* obj2
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self",(char *) "x",(char *) "y", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27841 arg2
= (int) SWIG_AsInt(obj1
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27843 arg3
= (int) SWIG_AsInt(obj2
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27862 int *arg2
= (int *) 0 ;
27863 int *arg3
= (int *) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 char *kwnames
[] = {
27868 (char *) "self", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 Py_INCREF(Py_None
); resultobj
= Py_None
;
27885 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27886 resultobj
= t_output_helper(resultobj
,o
);
27889 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27890 resultobj
= t_output_helper(resultobj
,o
);
27898 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
;
27900 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27901 int *arg2
= (int *) 0 ;
27902 int *arg3
= (int *) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27922 Py_INCREF(Py_None
); resultobj
= Py_None
;
27924 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27925 resultobj
= t_output_helper(resultobj
,o
);
27928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27929 resultobj
= t_output_helper(resultobj
,o
);
27937 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27940 int *arg2
= (int *) 0 ;
27941 int *arg3
= (int *) 0 ;
27944 PyObject
* obj0
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "self", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27964 resultobj
= t_output_helper(resultobj
,o
);
27967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27968 resultobj
= t_output_helper(resultobj
,o
);
27976 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 wxSize
* resultptr
;
27997 resultptr
= new wxSize((wxSize
&) result
);
27998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28006 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28010 PyObject
* obj0
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "self", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28026 wxSize
* resultptr
;
28027 resultptr
= new wxSize((wxSize
&) result
);
28028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28036 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28039 PyObject
* obj0
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 (arg1
)->base_InitDialog();
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 Py_INCREF(Py_None
); resultobj
= Py_None
;
28061 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28065 PyObject
* obj0
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "self", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (bool)(arg1
)->base_TransferDataToWindow();
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28087 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28091 PyObject
* obj0
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28113 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
;
28115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28117 PyObject
* obj0
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "self", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (bool)(arg1
)->base_Validate();
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28139 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28165 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28169 PyObject
* obj0
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28191 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28195 PyObject
* obj0
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28211 wxSize
* resultptr
;
28212 resultptr
= new wxSize((wxSize
&) result
);
28213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28221 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28224 wxWindow
*arg2
= (wxWindow
*) 0 ;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self",(char *) "child", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 (arg1
)->base_AddChild(arg2
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 Py_INCREF(Py_None
); resultobj
= Py_None
;
28250 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28253 wxWindow
*arg2
= (wxWindow
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 PyObject
* obj1
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self",(char *) "child", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 (arg1
)->base_RemoveChild(arg2
);
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 Py_INCREF(Py_None
); resultobj
= Py_None
;
28279 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28282 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28284 return Py_BuildValue((char *)"");
28286 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28289 int arg2
= (int) 0 ;
28290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28292 wxHelpEvent
*result
;
28294 PyObject
* obj0
= 0 ;
28295 PyObject
* obj1
= 0 ;
28296 PyObject
* obj2
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "type",(char *) "winid",(char *) "pt", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28303 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28307 arg2
= (int) SWIG_AsInt(obj1
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28330 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28334 PyObject
* obj0
= 0 ;
28335 char *kwnames
[] = {
28336 (char *) "self", NULL
28339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28350 wxPoint
* resultptr
;
28351 resultptr
= new wxPoint((wxPoint
&) result
);
28352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28360 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
;
28362 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28363 wxPoint
*arg2
= 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self",(char *) "pos", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 Py_INCREF(Py_None
); resultobj
= Py_None
;
28392 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28408 result
= (wxString
*) &_result_ref
;
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28418 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28427 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28430 wxString
*arg2
= 0 ;
28431 bool temp2
= False
;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self",(char *) "link", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 arg2
= wxString_in_helper(obj1
);
28443 if (arg2
== NULL
) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 (arg1
)->SetLink((wxString
const &)*arg2
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28472 PyObject
* obj0
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28484 result
= (wxString
*) &_result_ref
;
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28494 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28503 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28506 wxString
*arg2
= 0 ;
28507 bool temp2
= False
;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 char *kwnames
[] = {
28511 (char *) "self",(char *) "target", NULL
28514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28518 arg2
= wxString_in_helper(obj1
);
28519 if (arg2
== NULL
) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 (arg1
)->SetTarget((wxString
const &)*arg2
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 Py_INCREF(Py_None
); resultobj
= Py_None
;
28544 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28547 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28549 return Py_BuildValue((char *)"");
28551 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxWindow
*arg1
= (wxWindow
*) NULL
;
28554 bool arg2
= (bool) True
;
28555 wxContextHelp
*result
;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "window",(char *) "doNow", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28568 arg2
= (bool) SWIG_AsBool(obj1
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28585 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28588 PyObject
* obj0
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 Py_INCREF(Py_None
); resultobj
= Py_None
;
28610 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28613 wxWindow
*arg2
= (wxWindow
*) NULL
;
28615 PyObject
* obj0
= 0 ;
28616 PyObject
* obj1
= 0 ;
28617 char *kwnames
[] = {
28618 (char *) "self",(char *) "window", NULL
28621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28642 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= (bool)(arg1
)->EndContextHelp();
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28668 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28671 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28673 return Py_BuildValue((char *)"");
28675 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28677 wxWindow
*arg1
= (wxWindow
*) 0 ;
28678 int arg2
= (int) wxID_CONTEXT_HELP
;
28679 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28680 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28681 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28682 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28683 long arg5
= (long) wxBU_AUTODRAW
;
28684 wxContextHelpButton
*result
;
28687 PyObject
* obj0
= 0 ;
28688 PyObject
* obj1
= 0 ;
28689 PyObject
* obj2
= 0 ;
28690 PyObject
* obj3
= 0 ;
28691 PyObject
* obj4
= 0 ;
28692 char *kwnames
[] = {
28693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28700 arg2
= (int) SWIG_AsInt(obj1
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28712 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28716 arg5
= (long) SWIG_AsLong(obj4
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28733 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28736 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28738 return Py_BuildValue((char *)"");
28740 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28743 wxHelpProvider
*result
;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "helpProvider", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28766 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxHelpProvider
*result
;
28769 char *kwnames
[] = {
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28788 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
;
28790 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28791 wxWindow
*arg2
= (wxWindow
*) 0 ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "self",(char *) "window", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28824 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28827 wxWindow
*arg2
= (wxWindow
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self",(char *) "window", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 result
= (bool)(arg1
)->ShowHelp(arg2
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28854 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28857 wxWindow
*arg2
= (wxWindow
*) 0 ;
28858 wxString
*arg3
= 0 ;
28859 bool temp3
= False
;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 PyObject
* obj2
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self",(char *) "window",(char *) "text", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 arg3
= wxString_in_helper(obj2
);
28874 if (arg3
== NULL
) SWIG_fail
;
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 Py_INCREF(Py_None
); resultobj
= Py_None
;
28899 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28900 PyObject
*resultobj
;
28901 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28903 wxString
*arg3
= 0 ;
28904 bool temp3
= False
;
28905 PyObject
* obj0
= 0 ;
28906 PyObject
* obj1
= 0 ;
28907 PyObject
* obj2
= 0 ;
28908 char *kwnames
[] = {
28909 (char *) "self",(char *) "id",(char *) "text", NULL
28912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28915 arg2
= (int) SWIG_AsInt(obj1
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 arg3
= wxString_in_helper(obj2
);
28919 if (arg3
== NULL
) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 Py_INCREF(Py_None
); resultobj
= Py_None
;
28944 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28947 wxWindow
*arg2
= (wxWindow
*) 0 ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "self",(char *) "window", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 (arg1
)->RemoveHelp(arg2
);
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 Py_INCREF(Py_None
); resultobj
= Py_None
;
28973 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28976 PyObject
* obj0
= 0 ;
28977 char *kwnames
[] = {
28978 (char *) "self", NULL
28981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 wxHelpProvider_Destroy(arg1
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28991 Py_INCREF(Py_None
); resultobj
= Py_None
;
28998 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29001 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29003 return Py_BuildValue((char *)"");
29005 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxSimpleHelpProvider
*result
;
29008 char *kwnames
[] = {
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29027 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29030 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29032 return Py_BuildValue((char *)"");
29034 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxBitmap
*arg1
= 0 ;
29037 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29038 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29039 wxGenericDragImage
*result
;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "image",(char *) "cursor", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29050 if (arg1
== NULL
) {
29051 PyErr_SetString(PyExc_TypeError
,"null reference");
29055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29058 if (arg2
== NULL
) {
29059 PyErr_SetString(PyExc_TypeError
,"null reference");
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29067 wxPyEndAllowThreads(__tstate
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29077 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
;
29080 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29081 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29082 wxGenericDragImage
*result
;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "image",(char *) "cursor", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29093 if (arg1
== NULL
) {
29094 PyErr_SetString(PyExc_TypeError
,"null reference");
29098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29101 if (arg2
== NULL
) {
29102 PyErr_SetString(PyExc_TypeError
,"null reference");
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29120 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 wxString
*arg1
= 0 ;
29123 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29124 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29125 wxGenericDragImage
*result
;
29126 bool temp1
= False
;
29127 PyObject
* obj0
= 0 ;
29128 PyObject
* obj1
= 0 ;
29129 char *kwnames
[] = {
29130 (char *) "str",(char *) "cursor", NULL
29133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29135 arg1
= wxString_in_helper(obj0
);
29136 if (arg1
== NULL
) SWIG_fail
;
29140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29143 if (arg2
== NULL
) {
29144 PyErr_SetString(PyExc_TypeError
,"null reference");
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29170 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
;
29172 wxPyTreeCtrl
*arg1
= 0 ;
29173 wxTreeItemId
*arg2
= 0 ;
29174 wxGenericDragImage
*result
;
29175 PyObject
* obj0
= 0 ;
29176 PyObject
* obj1
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "treeCtrl",(char *) "id", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29185 if (arg1
== NULL
) {
29186 PyErr_SetString(PyExc_TypeError
,"null reference");
29189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29192 if (arg2
== NULL
) {
29193 PyErr_SetString(PyExc_TypeError
,"null reference");
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29210 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxPyListCtrl
*arg1
= 0 ;
29214 wxGenericDragImage
*result
;
29215 PyObject
* obj0
= 0 ;
29216 PyObject
* obj1
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "listCtrl",(char *) "id", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29225 if (arg1
== NULL
) {
29226 PyErr_SetString(PyExc_TypeError
,"null reference");
29229 arg2
= (long) SWIG_AsLong(obj1
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29245 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
;
29247 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29248 PyObject
* obj0
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 Py_INCREF(Py_None
); resultobj
= Py_None
;
29270 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29273 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self",(char *) "bitmap", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 (arg1
)->SetBackingBitmap(arg2
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 Py_INCREF(Py_None
); resultobj
= Py_None
;
29299 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29302 wxPoint
*arg2
= 0 ;
29303 wxWindow
*arg3
= (wxWindow
*) 0 ;
29304 bool arg4
= (bool) False
;
29305 wxRect
*arg5
= (wxRect
*) NULL
;
29308 PyObject
* obj0
= 0 ;
29309 PyObject
* obj1
= 0 ;
29310 PyObject
* obj2
= 0 ;
29311 PyObject
* obj3
= 0 ;
29312 PyObject
* obj4
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29324 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29327 arg4
= (bool) SWIG_AsBool(obj3
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29331 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29348 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
;
29350 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29351 wxPoint
*arg2
= 0 ;
29352 wxWindow
*arg3
= (wxWindow
*) 0 ;
29353 wxWindow
*arg4
= (wxWindow
*) 0 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 PyObject
* obj2
= 0 ;
29359 PyObject
* obj3
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29371 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29373 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29389 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self", NULL
29398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (bool)(arg1
)->EndDrag();
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29415 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
;
29417 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29418 wxPoint
*arg2
= 0 ;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self",(char *) "pt", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29448 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (bool)(arg1
)->Show();
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29474 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
;
29476 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29478 PyObject
* obj0
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= (bool)(arg1
)->Hide();
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29500 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
;
29502 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29503 wxPoint
*arg2
= 0 ;
29506 PyObject
* obj0
= 0 ;
29507 PyObject
* obj1
= 0 ;
29508 char *kwnames
[] = {
29509 (char *) "self",(char *) "pos", NULL
29512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 wxRect
* resultptr
;
29528 resultptr
= new wxRect((wxRect
&) result
);
29529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29537 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
;
29539 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29541 wxPoint
*arg3
= 0 ;
29544 PyObject
* obj0
= 0 ;
29545 PyObject
* obj1
= 0 ;
29546 PyObject
* obj2
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self",(char *) "dc",(char *) "pos", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29557 if (arg2
== NULL
) {
29558 PyErr_SetString(PyExc_TypeError
,"null reference");
29563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29579 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29583 wxMemoryDC
*arg3
= 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 PyObject
* obj2
= 0 ;
29592 PyObject
* obj3
= 0 ;
29593 PyObject
* obj4
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29604 if (arg2
== NULL
) {
29605 PyErr_SetString(PyExc_TypeError
,"null reference");
29608 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29611 if (arg3
== NULL
) {
29612 PyErr_SetString(PyExc_TypeError
,"null reference");
29617 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29621 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29637 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
;
29639 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29640 wxPoint
*arg2
= 0 ;
29641 wxPoint
*arg3
= 0 ;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 PyObject
* obj2
= 0 ;
29650 PyObject
* obj3
= 0 ;
29651 PyObject
* obj4
= 0 ;
29652 char *kwnames
[] = {
29653 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29665 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29667 arg4
= (bool) SWIG_AsBool(obj3
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29669 arg5
= (bool) SWIG_AsBool(obj4
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29685 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29688 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29690 return Py_BuildValue((char *)"");
29692 static PyMethodDef SwigMethods
[] = {
29693 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29699 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29714 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29725 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29732 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29750 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29763 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29767 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29773 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29777 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29784 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29806 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29815 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29816 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29845 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29899 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29904 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29915 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29927 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29938 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29942 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29959 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29965 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29990 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29997 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30017 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30023 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30032 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30034 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30039 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30041 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30046 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30051 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30081 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30126 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30131 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30143 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30195 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30222 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30291 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30303 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30311 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30318 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30334 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30408 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30430 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30435 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30456 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30464 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30469 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30471 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30480 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30482 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30504 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30506 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30507 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30509 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30510 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30512 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30513 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30515 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30516 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30518 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30519 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30521 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30522 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30524 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30525 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30527 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30528 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30530 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30531 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30533 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30534 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30536 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30539 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30540 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30542 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30543 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30545 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30546 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30548 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30549 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30551 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30552 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30554 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30555 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30557 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30558 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30560 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30563 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30564 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30566 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30567 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30569 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30570 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30572 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30575 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30576 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30578 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30579 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30581 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30582 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30584 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30585 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30587 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30588 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30590 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30593 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30594 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30596 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30597 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30599 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30600 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30602 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30603 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30605 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30606 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30608 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30609 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30611 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30612 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30614 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30615 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30617 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30620 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30621 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30623 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30624 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30626 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30627 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30629 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30630 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30632 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30633 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30635 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30636 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30638 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30641 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30642 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30644 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30645 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30647 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30650 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30653 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30654 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30656 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30657 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30659 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30660 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30662 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30663 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30665 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30666 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30668 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30669 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30671 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30672 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30674 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30675 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30677 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30678 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30680 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30681 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30683 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30684 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30686 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30687 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30689 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30690 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30692 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30693 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30695 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30696 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30698 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30699 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30701 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30702 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30704 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30705 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30707 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30708 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30710 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30711 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30713 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30714 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30716 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30717 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30719 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30720 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30722 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30723 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30725 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30726 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30728 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30729 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30731 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30732 return (void *)((wxControl
*) ((wxGauge
*) x
));
30734 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30735 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30737 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30738 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30740 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30741 return (void *)((wxControl
*) ((wxButton
*) x
));
30743 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30744 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30746 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30747 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30749 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30750 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30752 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30753 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30755 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30756 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30758 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30759 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30761 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30762 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30764 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30765 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30767 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30768 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30770 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30771 return (void *)((wxControl
*) ((wxSlider
*) x
));
30773 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30774 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30776 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30777 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30779 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30780 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30782 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30783 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30785 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30786 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30788 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30789 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30791 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30792 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30794 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30795 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30797 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30798 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30800 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30801 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30803 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30804 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30806 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30807 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30809 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30812 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30815 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30816 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30818 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30819 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30821 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30824 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30825 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30827 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30830 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30833 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30834 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30836 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30839 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30842 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30845 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30848 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30851 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30854 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30855 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30857 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30860 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30863 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30866 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30869 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30872 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30875 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30878 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30881 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30884 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30887 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30890 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30893 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30896 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30899 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30902 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30905 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30908 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30911 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30914 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30917 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30920 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30923 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30926 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30929 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30930 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30932 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30933 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30935 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30936 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30938 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30939 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30941 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30942 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30944 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30945 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30947 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30948 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30950 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30951 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30953 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30954 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30956 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30957 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30959 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30962 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30963 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30965 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30968 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30971 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30972 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30974 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30975 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30977 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30978 return (void *)((wxObject
*) ((wxSizer
*) x
));
30980 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30981 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30983 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30986 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30989 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30992 static void *_p_wxEventTo_p_wxObject(void *x
) {
30993 return (void *)((wxObject
*) ((wxEvent
*) x
));
30995 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30996 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30998 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30999 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31001 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31002 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31004 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31007 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31010 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31013 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31014 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31016 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31017 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31019 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31020 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31022 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31023 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31025 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31026 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31028 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31029 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31031 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31034 static void *_p_wxControlTo_p_wxObject(void *x
) {
31035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31037 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31040 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31043 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31046 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31049 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31052 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31053 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31055 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31058 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31059 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31061 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31062 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31064 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31067 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31070 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31073 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31074 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31076 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31079 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31082 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31083 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31085 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31088 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31091 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31092 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31094 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31095 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31097 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31100 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31101 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31103 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31104 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31106 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31107 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31109 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31110 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31112 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31113 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31115 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31116 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31118 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31121 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31122 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31124 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31127 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31130 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31133 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31136 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31139 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31142 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31143 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31145 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31146 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31148 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31149 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31151 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31154 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31155 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31157 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31160 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31161 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31163 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31166 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31169 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31172 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31175 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31178 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31181 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31184 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31187 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31188 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31190 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31193 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31196 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31199 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31202 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31203 return (void *)((wxObject
*) ((wxListItem
*) x
));
31205 static void *_p_wxImageTo_p_wxObject(void *x
) {
31206 return (void *)((wxObject
*) ((wxImage
*) x
));
31208 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31209 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31211 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31212 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31214 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31217 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31218 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31220 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31223 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31226 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31229 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31232 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31233 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31235 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31236 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31238 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31239 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31241 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31242 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31244 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31247 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31248 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31250 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31253 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31254 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31256 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31257 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31259 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31260 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31262 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31263 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31265 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31266 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31268 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31271 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31274 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31275 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31277 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31280 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31281 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31283 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31284 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31286 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31289 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31292 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31293 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31295 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31298 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31301 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31304 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31305 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31307 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31308 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31310 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31311 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31313 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31314 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31316 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31317 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31319 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31320 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31322 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31323 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31325 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31326 return (void *)((wxWindow
*) ((wxControl
*) x
));
31328 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31329 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31331 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31332 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31334 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31335 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31337 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31338 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31340 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31341 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31343 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31344 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31346 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31347 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31349 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31350 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31352 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31353 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31355 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31356 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31358 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31359 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31361 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31362 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31364 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31365 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31367 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31368 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31370 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31371 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31373 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31374 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31376 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31377 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31379 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31380 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31382 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31383 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31385 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31386 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31388 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31389 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31391 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31392 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31394 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31395 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31397 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31398 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31400 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31401 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31403 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31404 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31406 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31407 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31409 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31410 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31412 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31413 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31415 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31416 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31418 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31419 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31421 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31422 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31424 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31425 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31427 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31428 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31430 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31431 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31433 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31434 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31436 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31437 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31439 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31440 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31442 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31443 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31445 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31446 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31448 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31449 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31451 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31452 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31454 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31455 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31457 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31458 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31460 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31461 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31463 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31464 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31466 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31467 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31469 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31470 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31472 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31473 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31475 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}};
31476 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}};
31477 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}};
31478 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}};
31479 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}};
31480 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}};
31481 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}};
31482 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}};
31483 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}};
31484 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}};
31485 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}};
31486 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}};
31487 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}};
31488 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}};
31489 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}};
31490 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}};
31491 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}};
31492 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}};
31493 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}};
31494 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}};
31495 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}};
31496 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}};
31497 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}};
31498 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}};
31499 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}};
31500 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}};
31501 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}};
31502 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}};
31503 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}};
31504 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}};
31505 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}};
31506 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}};
31507 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}};
31508 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}};
31509 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}};
31510 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}};
31511 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}};
31512 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}};
31513 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}};
31514 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}};
31515 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}};
31516 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}};
31517 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}};
31518 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}};
31519 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}};
31520 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}};
31521 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}};
31522 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}};
31523 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}};
31524 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}};
31525 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}};
31526 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}};
31527 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}};
31528 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}};
31529 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}};
31530 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}};
31531 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}};
31532 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}};
31533 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}};
31534 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}};
31535 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}};
31536 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}};
31537 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}};
31538 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}};
31539 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}};
31540 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}};
31541 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}};
31542 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}};
31543 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}};
31544 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}};
31545 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}};
31546 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}};
31547 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}};
31548 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}};
31549 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}};
31550 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}};
31551 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}};
31552 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}};
31553 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}};
31554 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}};
31555 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}};
31556 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}};
31557 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}};
31558 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}};
31560 static swig_type_info
*swig_types_initial
[] = {
31561 _swigt__p_wxTextUrlEvent
,
31562 _swigt__p_wxBookCtrlEvent
,
31564 _swigt__p_wxCheckBox
,
31565 _swigt__p_wxPyTreeCtrl
,
31567 _swigt__p_wxGenericDirCtrl
,
31569 _swigt__p_wxPyTreeItemData
,
31570 _swigt__p_wxItemContainer
,
31571 _swigt__p_wxDirFilterListCtrl
,
31572 _swigt__p_wxPyListCtrl
,
31573 _swigt__p_wxStaticLine
,
31574 _swigt__p_wxControl
,
31575 _swigt__p_wxPyControl
,
31577 _swigt__p_wxToolBarBase
,
31579 _swigt__p_wxToggleButton
,
31580 _swigt__p_wxRadioButton
,
31581 _swigt__p_wxChoice
,
31582 _swigt__p_wxMemoryDC
,
31583 _swigt__p_wxListItemAttr
,
31588 _swigt__p_wxListView
,
31590 _swigt__p_wxTextCtrl
,
31591 _swigt__p_wxNotebook
,
31592 _swigt__p_wxNotifyEvent
,
31593 _swigt__p_wxArrayString
,
31594 _swigt__p_wxListbook
,
31595 _swigt__p_wxStaticBitmap
,
31596 _swigt__p_wxSlider
,
31597 _swigt__p_wxStaticBox
,
31598 _swigt__p_wxArrayInt
,
31599 _swigt__p_wxContextHelp
,
31601 _swigt__p_wxEvtHandler
,
31602 _swigt__p_wxListEvent
,
31603 _swigt__p_wxListBox
,
31604 _swigt__p_wxCheckListBox
,
31605 _swigt__p_wxBookCtrl
,
31606 _swigt__p_wxSpinButton
,
31607 _swigt__p_wxButton
,
31608 _swigt__p_wxBitmapButton
,
31610 _swigt__p_wxContextHelpButton
,
31611 _swigt__p_wxRadioBox
,
31612 _swigt__p_wxScrollBar
,
31614 _swigt__p_wxTreeItemId
,
31615 _swigt__p_wxComboBox
,
31616 _swigt__p_wxHelpEvent
,
31617 _swigt__p_wxListItem
,
31618 _swigt__p_wxNotebookSizer
,
31619 _swigt__p_wxSpinEvent
,
31620 _swigt__p_wxGenericDragImage
,
31621 _swigt__p_wxSpinCtrl
,
31622 _swigt__p_wxImageList
,
31623 _swigt__p_wxHelpProvider
,
31624 _swigt__p_wxTextAttr
,
31625 _swigt__p_wxSimpleHelpProvider
,
31627 _swigt__p_wxListbookEvent
,
31628 _swigt__p_wxNotebookEvent
,
31629 _swigt__p_wxObject
,
31630 _swigt__p_wxCursor
,
31631 _swigt__p_wxKeyEvent
,
31632 _swigt__p_wxWindow
,
31633 _swigt__p_wxString
,
31634 _swigt__p_wxBitmap
,
31635 _swigt__p_wxTreeEvent
,
31636 _swigt__p_wxMouseEvent
,
31637 _swigt__p_wxCommandEvent
,
31638 _swigt__p_wxStaticText
,
31639 _swigt__p_wxControlWithItems
,
31640 _swigt__p_wxToolBarToolBase
,
31641 _swigt__p_wxColour
,
31642 _swigt__p_wxToolBar
,
31643 _swigt__p_wxBookCtrlSizer
,
31644 _swigt__p_wxValidator
,
31649 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31651 static swig_const_info swig_const_table
[] = {
31661 SWIGEXPORT(void) SWIG_init(void) {
31662 static PyObject
*SWIG_globals
= 0;
31663 static int typeinit
= 0;
31666 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31667 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31668 d
= PyModule_GetDict(m
);
31671 for (i
= 0; swig_types_initial
[i
]; i
++) {
31672 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31676 SWIG_InstallConstants(d
,swig_const_table
);
31678 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31679 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31680 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31681 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31682 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31683 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31684 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31685 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31686 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31687 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31688 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31689 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31690 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31691 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31692 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31693 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31694 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31695 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31696 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31697 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31698 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31699 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31700 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31701 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31702 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31703 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31704 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31705 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31706 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31707 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31708 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31709 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31710 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31711 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31712 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31713 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31714 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31715 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31716 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31717 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31718 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31719 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31720 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31721 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31722 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31723 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31724 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31725 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31726 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31727 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31728 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31729 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31730 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31731 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31732 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31733 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31734 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31735 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31736 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31737 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31738 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31739 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31740 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31741 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31742 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31743 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31744 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31745 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31746 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31747 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31748 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31750 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31751 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31752 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31753 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31754 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31755 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31756 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31757 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31758 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31759 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31760 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31761 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31763 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31764 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31765 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31766 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31767 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31768 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31769 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31770 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31771 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31772 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31773 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31774 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31775 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31776 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31777 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31778 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31779 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31780 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31781 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31782 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31783 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31784 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31785 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31786 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31787 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31788 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31789 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31790 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31791 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31792 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31793 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31794 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31795 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31796 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31797 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31798 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31799 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31800 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31801 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31802 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31803 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31804 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31805 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31806 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31807 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31808 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31809 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31810 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31811 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31812 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31813 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31814 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31815 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31816 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31817 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31818 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31819 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31820 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
31821 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
31822 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
31823 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
31824 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
31825 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
31826 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
31827 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
31828 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
31829 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
31830 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
31831 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
31832 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
31833 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
31834 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
31835 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
31836 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
31837 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31838 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31839 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31840 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31841 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31842 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31843 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31844 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
31845 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
31846 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
31847 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
31848 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
31849 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
31850 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31851 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
31852 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
31853 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31854 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
31855 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
31856 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
31857 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
31858 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
31859 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31860 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
31861 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
31862 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
31863 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
31864 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
31865 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
31866 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
31867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31870 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31875 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31880 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31886 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31887 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31888 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31890 // Map renamed classes back to their common name for OOR
31891 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31893 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31894 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
31895 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
31896 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
31897 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
31898 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
31899 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
31900 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
31901 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31902 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
31903 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
31904 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
31905 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31906 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
31907 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
31908 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
31909 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
31910 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
31911 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
31912 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
31913 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31914 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
31915 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
31916 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
31917 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31918 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31919 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31920 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31921 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31922 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31923 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31924 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31925 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31926 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31927 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31928 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
31929 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31930 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31931 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31932 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31942 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31943 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31944 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31946 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31950 // Map renamed classes back to their common name for OOR
31951 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31952 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31954 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31955 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31956 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31957 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31958 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31959 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31960 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31961 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31962 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31963 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31965 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");