2  * FILE : src/gtk/controls.cpp 
   4  * This file was automatically generated by : 
   5  * Simplified Wrapper and Interface Generator (SWIG) 
   6  * Version 1.1 (Build 883) 
   8  * Portions Copyright (c) 1995-1998 
   9  * The University of Utah and The Regents of the University of California. 
  10  * Permission is granted to distribute this file in any manner provided 
  11  * this notice remains intact. 
  13  * Do not make changes to this file--changes will be lost! 
  19 /* Implementation : PYTHON */ 
  26 /* Definitions for Windows/Unix exporting */ 
  27 #if defined(__WIN32__) 
  28 #   if defined(_MSC_VER) 
  29 #       define SWIGEXPORT(a) __declspec(dllexport) a 
  31 #       if defined(__BORLANDC__) 
  32 #           define SWIGEXPORT(a) a _export 
  34 #           define SWIGEXPORT(a) a 
  38 #   define SWIGEXPORT(a) a 
  44 extern void SWIG_MakePtr(char *, void *, char *); 
  45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); 
  46 extern char *SWIG_GetPtr(char *, void **, char *); 
  47 extern char *SWIG_GetPtrObj(PyObject 
*, void **, char *); 
  48 extern void SWIG_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
  49 extern PyObject 
*SWIG_newvarlink(void); 
  53 #define SWIG_init    initcontrolsc 
  55 #define SWIG_name    "controlsc" 
  58 #include <wx/slider.h> 
  59 #include <wx/spinbutt.h> 
  60 #include <wx/spinctrl.h> 
  61 #include <wx/dynarray.h> 
  62 #include <wx/statline.h> 
  63 #include <wx/tglbtn.h> 
  67 #include <wx/checklst.h> 
  72 #include <wx/checklst.h> 
  76 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
  82     } else if (target 
== Py_None
) { 
  86         if (!PyTuple_Check(target
)) { 
  88             target 
= PyTuple_New(1); 
  89             PyTuple_SetItem(target
, 0, o2
); 
  92         PyTuple_SetItem(o3
, 0, o
); 
  95         target 
= PySequence_Concat(o2
, o3
); 
 102 //#define DECLARE_DEF_STRING(name)  static wxString* wxPy##name 
 104     // Put some wx default wxChar* values into wxStrings. 
 105     DECLARE_DEF_STRING(ControlNameStr
); 
 106     DECLARE_DEF_STRING(ButtonNameStr
); 
 107     DECLARE_DEF_STRING(CheckBoxNameStr
); 
 108     DECLARE_DEF_STRING(ChoiceNameStr
); 
 109     DECLARE_DEF_STRING(ComboBoxNameStr
); 
 110     DECLARE_DEF_STRING(GaugeNameStr
); 
 111     DECLARE_DEF_STRING(StaticBoxNameStr
); 
 112     DECLARE_DEF_STRING(StaticTextNameStr
); 
 113     DECLARE_DEF_STRING(ListBoxNameStr
); 
 114     DECLARE_DEF_STRING(TextCtrlNameStr
); 
 115     DECLARE_DEF_STRING(ScrollBarNameStr
); 
 116     DECLARE_DEF_STRING(SPIN_BUTTON_NAME
); 
 117     DECLARE_DEF_STRING(StaticBitmapNameStr
); 
 118     DECLARE_DEF_STRING(RadioBoxNameStr
); 
 119     DECLARE_DEF_STRING(RadioButtonNameStr
); 
 120     DECLARE_DEF_STRING(SliderNameStr
); 
 122     wxChar
* wxSpinCtrlNameStr 
= _T("wxSpinCtrl"); 
 123     DECLARE_DEF_STRING(SpinCtrlNameStr
); 
 125     static const wxString 
wxPyEmptyString(wxT("")); 
 129 static int _wrap_wxDefaultValidator_set(PyObject 
*val
) { 
 131     PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only."); 
 135 static PyObject 
*_wrap_wxDefaultValidator_get() { 
 139     SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p"); 
 140     pyobj 
= PyString_FromString(ptemp
); 
 144 static void *SwigwxControlTowxWindow(void *ptr
) { 
 147     src 
= (wxControl 
*) ptr
; 
 148     dest 
= (wxWindow 
*) src
; 
 149     return (void *) dest
; 
 152 static void *SwigwxControlTowxEvtHandler(void *ptr
) { 
 155     src 
= (wxControl 
*) ptr
; 
 156     dest 
= (wxEvtHandler 
*) src
; 
 157     return (void *) dest
; 
 160 static void *SwigwxControlTowxObject(void *ptr
) { 
 163     src 
= (wxControl 
*) ptr
; 
 164     dest 
= (wxObject 
*) src
; 
 165     return (void *) dest
; 
 168 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
 169 static PyObject 
*_wrap_new_wxControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 170     PyObject 
* _resultobj
; 
 174     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
 175     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
 176     long  _arg4 
= (long ) 0; 
 177     wxValidator 
* _arg5 
= (wxValidator 
*) &wxDefaultValidator
; 
 178     wxString 
* _arg6 
= (wxString 
*) &wxPyControlNameStr
; 
 179     PyObject 
* _argo0 
= 0; 
 181     PyObject 
* _obj2 
= 0; 
 183     PyObject 
* _obj3 
= 0; 
 184     PyObject 
* _argo5 
= 0; 
 185     PyObject 
* _obj6 
= 0; 
 186     char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL 
}; 
 190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))  
 193         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 194         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
 195             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p."); 
 202     if (! wxPoint_helper(_obj2
, &_arg2
)) 
 208     if (! wxSize_helper(_obj3
, &_arg3
)) 
 212         if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) { 
 213             PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p."); 
 219     _arg6 
= wxString_in_helper(_obj6
); 
 224     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 225     _result 
= (wxControl 
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
); 
 227     wxPyEndAllowThreads(__tstate
); 
 228     if (PyErr_Occurred()) return NULL
; 
 230         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p"); 
 231         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 234         _resultobj 
= Py_None
; 
 243 #define new_wxPreControl() (new wxControl()) 
 244 static PyObject 
*_wrap_new_wxPreControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 245     PyObject 
* _resultobj
; 
 247     char *_kwnames
[] = {  NULL 
}; 
 251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))  
 254     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 255     _result 
= (wxControl 
*)new_wxPreControl(); 
 257     wxPyEndAllowThreads(__tstate
); 
 258     if (PyErr_Occurred()) return NULL
; 
 260         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p"); 
 261         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 264         _resultobj 
= Py_None
; 
 269 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
 270 static PyObject 
*_wrap_wxControl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 271     PyObject 
* _resultobj
; 
 276     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
 277     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
 278     long  _arg5 
= (long ) 0; 
 279     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
 280     wxString 
* _arg7 
= (wxString 
*) &wxPyControlNameStr
; 
 281     PyObject 
* _argo0 
= 0; 
 282     PyObject 
* _argo1 
= 0; 
 284     PyObject 
* _obj3 
= 0; 
 286     PyObject 
* _obj4 
= 0; 
 287     PyObject 
* _argo6 
= 0; 
 288     PyObject 
* _obj7 
= 0; 
 289     char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL 
}; 
 292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOO:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
 295         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 296         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) { 
 297             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p."); 
 302         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
 303         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
 304             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p."); 
 311     if (! wxPoint_helper(_obj3
, &_arg3
)) 
 317     if (! wxSize_helper(_obj4
, &_arg4
)) 
 321         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
 322             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p."); 
 328     _arg7 
= wxString_in_helper(_obj7
); 
 333     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 334     _result 
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
 336     wxPyEndAllowThreads(__tstate
); 
 337     if (PyErr_Occurred()) return NULL
; 
 338 }    _resultobj 
= Py_BuildValue("i",_result
); 
 346 #define wxControl_Command(_swigobj,_swigarg0)  (_swigobj->Command(_swigarg0)) 
 347 static PyObject 
*_wrap_wxControl_Command(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 348     PyObject 
* _resultobj
; 
 350     wxCommandEvent 
* _arg1
; 
 351     PyObject 
* _argo0 
= 0; 
 352     PyObject 
* _argo1 
= 0; 
 353     char *_kwnames
[] = { "self","event", NULL 
}; 
 356     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))  
 359         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 360         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) { 
 361             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p."); 
 366         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) { 
 367             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p."); 
 372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 373     wxControl_Command(_arg0
,*_arg1
); 
 375     wxPyEndAllowThreads(__tstate
); 
 376     if (PyErr_Occurred()) return NULL
; 
 377 }    Py_INCREF(Py_None
); 
 378     _resultobj 
= Py_None
; 
 382 #define wxControl_GetLabel(_swigobj)  (_swigobj->GetLabel()) 
 383 static PyObject 
*_wrap_wxControl_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 384     PyObject 
* _resultobj
; 
 387     PyObject 
* _argo0 
= 0; 
 388     char *_kwnames
[] = { "self", NULL 
}; 
 391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))  
 394         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 395         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) { 
 396             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p."); 
 401     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 402     _result 
= new wxString (wxControl_GetLabel(_arg0
)); 
 404     wxPyEndAllowThreads(__tstate
); 
 405     if (PyErr_Occurred()) return NULL
; 
 408     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
 410     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 419 #define wxControl_SetLabel(_swigobj,_swigarg0)  (_swigobj->SetLabel(_swigarg0)) 
 420 static PyObject 
*_wrap_wxControl_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 421     PyObject 
* _resultobj
; 
 424     PyObject 
* _argo0 
= 0; 
 425     PyObject 
* _obj1 
= 0; 
 426     char *_kwnames
[] = { "self","label", NULL 
}; 
 429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))  
 432         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 433         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) { 
 434             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p."); 
 439     _arg1 
= wxString_in_helper(_obj1
); 
 444     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 445     wxControl_SetLabel(_arg0
,*_arg1
); 
 447     wxPyEndAllowThreads(__tstate
); 
 448     if (PyErr_Occurred()) return NULL
; 
 449 }    Py_INCREF(Py_None
); 
 450     _resultobj 
= Py_None
; 
 458 static void *SwigwxControlWithItemsTowxControl(void *ptr
) { 
 459     wxControlWithItems 
*src
; 
 461     src 
= (wxControlWithItems 
*) ptr
; 
 462     dest 
= (wxControl 
*) src
; 
 463     return (void *) dest
; 
 466 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) { 
 467     wxControlWithItems 
*src
; 
 469     src 
= (wxControlWithItems 
*) ptr
; 
 470     dest 
= (wxWindow 
*) src
; 
 471     return (void *) dest
; 
 474 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) { 
 475     wxControlWithItems 
*src
; 
 477     src 
= (wxControlWithItems 
*) ptr
; 
 478     dest 
= (wxEvtHandler 
*) src
; 
 479     return (void *) dest
; 
 482 static void *SwigwxControlWithItemsTowxObject(void *ptr
) { 
 483     wxControlWithItems 
*src
; 
 485     src 
= (wxControlWithItems 
*) ptr
; 
 486     dest 
= (wxObject 
*) src
; 
 487     return (void *) dest
; 
 490 #define wxControlWithItems_Delete(_swigobj,_swigarg0)  (_swigobj->Delete(_swigarg0)) 
 491 static PyObject 
*_wrap_wxControlWithItems_Delete(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 492     PyObject 
* _resultobj
; 
 493     wxControlWithItems 
* _arg0
; 
 495     PyObject 
* _argo0 
= 0; 
 496     char *_kwnames
[] = { "self","n", NULL 
}; 
 499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))  
 502         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 503         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 504             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p."); 
 509     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 510     wxControlWithItems_Delete(_arg0
,_arg1
); 
 512     wxPyEndAllowThreads(__tstate
); 
 513     if (PyErr_Occurred()) return NULL
; 
 514 }    Py_INCREF(Py_None
); 
 515     _resultobj 
= Py_None
; 
 519 #define wxControlWithItems_GetCount(_swigobj)  (_swigobj->GetCount()) 
 520 static PyObject 
*_wrap_wxControlWithItems_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 521     PyObject 
* _resultobj
; 
 523     wxControlWithItems 
* _arg0
; 
 524     PyObject 
* _argo0 
= 0; 
 525     char *_kwnames
[] = { "self", NULL 
}; 
 528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))  
 531         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 532         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 533             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p."); 
 538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 539     _result 
= (int )wxControlWithItems_GetCount(_arg0
); 
 541     wxPyEndAllowThreads(__tstate
); 
 542     if (PyErr_Occurred()) return NULL
; 
 543 }    _resultobj 
= Py_BuildValue("i",_result
); 
 547 #define wxControlWithItems_GetString(_swigobj,_swigarg0)  (_swigobj->GetString(_swigarg0)) 
 548 static PyObject 
*_wrap_wxControlWithItems_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 549     PyObject 
* _resultobj
; 
 551     wxControlWithItems 
* _arg0
; 
 553     PyObject 
* _argo0 
= 0; 
 554     char *_kwnames
[] = { "self","n", NULL 
}; 
 557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))  
 560         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 561         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 562             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p."); 
 567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 568     _result 
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
)); 
 570     wxPyEndAllowThreads(__tstate
); 
 571     if (PyErr_Occurred()) return NULL
; 
 574     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
 576     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 585 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetString(_swigarg0,_swigarg1)) 
 586 static PyObject 
*_wrap_wxControlWithItems_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 587     PyObject 
* _resultobj
; 
 588     wxControlWithItems 
* _arg0
; 
 591     PyObject 
* _argo0 
= 0; 
 592     PyObject 
* _obj2 
= 0; 
 593     char *_kwnames
[] = { "self","n","s", NULL 
}; 
 596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
 599         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 600         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 601             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p."); 
 606     _arg2 
= wxString_in_helper(_obj2
); 
 611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 612     wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
); 
 614     wxPyEndAllowThreads(__tstate
); 
 615     if (PyErr_Occurred()) return NULL
; 
 616 }    Py_INCREF(Py_None
); 
 617     _resultobj 
= Py_None
; 
 625 #define wxControlWithItems_FindString(_swigobj,_swigarg0)  (_swigobj->FindString(_swigarg0)) 
 626 static PyObject 
*_wrap_wxControlWithItems_FindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 627     PyObject 
* _resultobj
; 
 629     wxControlWithItems 
* _arg0
; 
 631     PyObject 
* _argo0 
= 0; 
 632     PyObject 
* _obj1 
= 0; 
 633     char *_kwnames
[] = { "self","s", NULL 
}; 
 636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))  
 639         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 640         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 641             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p."); 
 646     _arg1 
= wxString_in_helper(_obj1
); 
 651     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 652     _result 
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
); 
 654     wxPyEndAllowThreads(__tstate
); 
 655     if (PyErr_Occurred()) return NULL
; 
 656 }    _resultobj 
= Py_BuildValue("i",_result
); 
 664 #define wxControlWithItems_Select(_swigobj,_swigarg0)  (_swigobj->Select(_swigarg0)) 
 665 static PyObject 
*_wrap_wxControlWithItems_Select(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 666     PyObject 
* _resultobj
; 
 667     wxControlWithItems 
* _arg0
; 
 669     PyObject 
* _argo0 
= 0; 
 670     char *_kwnames
[] = { "self","n", NULL 
}; 
 673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))  
 676         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 677         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 678             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p."); 
 683     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 684     wxControlWithItems_Select(_arg0
,_arg1
); 
 686     wxPyEndAllowThreads(__tstate
); 
 687     if (PyErr_Occurred()) return NULL
; 
 688 }    Py_INCREF(Py_None
); 
 689     _resultobj 
= Py_None
; 
 693 #define wxControlWithItems_GetSelection(_swigobj)  (_swigobj->GetSelection()) 
 694 static PyObject 
*_wrap_wxControlWithItems_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 695     PyObject 
* _resultobj
; 
 697     wxControlWithItems 
* _arg0
; 
 698     PyObject 
* _argo0 
= 0; 
 699     char *_kwnames
[] = { "self", NULL 
}; 
 702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))  
 705         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 706         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 707             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p."); 
 712     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 713     _result 
= (int )wxControlWithItems_GetSelection(_arg0
); 
 715     wxPyEndAllowThreads(__tstate
); 
 716     if (PyErr_Occurred()) return NULL
; 
 717 }    _resultobj 
= Py_BuildValue("i",_result
); 
 721 #define wxControlWithItems_GetStringSelection(_swigobj)  (_swigobj->GetStringSelection()) 
 722 static PyObject 
*_wrap_wxControlWithItems_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 723     PyObject 
* _resultobj
; 
 725     wxControlWithItems 
* _arg0
; 
 726     PyObject 
* _argo0 
= 0; 
 727     char *_kwnames
[] = { "self", NULL 
}; 
 730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))  
 733         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 734         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 735             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p."); 
 740     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 741     _result 
= new wxString (wxControlWithItems_GetStringSelection(_arg0
)); 
 743     wxPyEndAllowThreads(__tstate
); 
 744     if (PyErr_Occurred()) return NULL
; 
 747     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
 749     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 758 static void  wxControlWithItems_Append(wxControlWithItems 
*self
,const wxString 
& item
,PyObject 
* clientData
) { 
 760                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
 761                 self
->Append(item
, data
); 
 765 static PyObject 
*_wrap_wxControlWithItems_Append(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 766     PyObject 
* _resultobj
; 
 767     wxControlWithItems 
* _arg0
; 
 769     PyObject 
* _arg2 
= (PyObject 
*) NULL
; 
 770     PyObject 
* _argo0 
= 0; 
 771     PyObject 
* _obj1 
= 0; 
 772     PyObject 
* _obj2 
= 0; 
 773     char *_kwnames
[] = { "self","item","clientData", NULL 
}; 
 776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))  
 779         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 780         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 781             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p."); 
 786     _arg1 
= wxString_in_helper(_obj1
); 
 795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 796     wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
); 
 798     wxPyEndAllowThreads(__tstate
); 
 799     if (PyErr_Occurred()) return NULL
; 
 800 }    Py_INCREF(Py_None
); 
 801     _resultobj 
= Py_None
; 
 809 static PyObject 
* wxControlWithItems_GetClientData(wxControlWithItems 
*self
,int  n
) { 
 810             wxPyClientData
* data 
= (wxPyClientData
*)self
->GetClientObject(n
); 
 812                 Py_INCREF(data
->m_obj
); 
 819 static PyObject 
*_wrap_wxControlWithItems_GetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 820     PyObject 
* _resultobj
; 
 822     wxControlWithItems 
* _arg0
; 
 824     PyObject 
* _argo0 
= 0; 
 825     char *_kwnames
[] = { "self","n", NULL 
}; 
 828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))  
 831         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 832         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 833             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p."); 
 838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 839     _result 
= (PyObject 
*)wxControlWithItems_GetClientData(_arg0
,_arg1
); 
 841     wxPyEndAllowThreads(__tstate
); 
 842     if (PyErr_Occurred()) return NULL
; 
 844   _resultobj 
= _result
; 
 849 static void  wxControlWithItems_SetClientData(wxControlWithItems 
*self
,int  n
,PyObject 
* clientData
) { 
 850             wxPyClientData
* data 
= new wxPyClientData(clientData
); 
 851             self
->SetClientObject(n
, data
); 
 853 static PyObject 
*_wrap_wxControlWithItems_SetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 854     PyObject 
* _resultobj
; 
 855     wxControlWithItems 
* _arg0
; 
 858     PyObject 
* _argo0 
= 0; 
 859     PyObject 
* _obj2 
= 0; 
 860     char *_kwnames
[] = { "self","n","clientData", NULL 
}; 
 863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
 866         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 867         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 868             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p."); 
 876     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 877     wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
); 
 879     wxPyEndAllowThreads(__tstate
); 
 880     if (PyErr_Occurred()) return NULL
; 
 881 }    Py_INCREF(Py_None
); 
 882     _resultobj 
= Py_None
; 
 886 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0)  (_swigobj->Append(_swigarg0)) 
 887 static PyObject 
*_wrap_wxControlWithItems_AppendItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 888     PyObject 
* _resultobj
; 
 889     wxControlWithItems 
* _arg0
; 
 890     wxArrayString 
* _arg1
; 
 891     PyObject 
* _argo0 
= 0; 
 892     PyObject 
* _obj1 
= 0; 
 893     char *_kwnames
[] = { "self","strings", NULL 
}; 
 896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))  
 899         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 900         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) { 
 901             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p."); 
 906     if (! PySequence_Check(_obj1
)) { 
 907         PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
 910     _arg1 
= new wxArrayString
; 
 911     int i
, len
=PySequence_Length(_obj1
); 
 912     for (i
=0; i
<len
; i
++) { 
 913         PyObject
* item 
= PySequence_GetItem(_obj1
, i
); 
 915         PyObject
* str  
= PyObject_Unicode(item
); 
 917         PyObject
* str  
= PyObject_Str(item
); 
 919         _arg1
->Add(Py2wxString(str
)); 
 925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 926     wxControlWithItems_AppendItems(_arg0
,*_arg1
); 
 928     wxPyEndAllowThreads(__tstate
); 
 929     if (PyErr_Occurred()) return NULL
; 
 930 }    Py_INCREF(Py_None
); 
 931     _resultobj 
= Py_None
; 
 939 static void *SwigwxButtonTowxControl(void *ptr
) { 
 942     src 
= (wxButton 
*) ptr
; 
 943     dest 
= (wxControl 
*) src
; 
 944     return (void *) dest
; 
 947 static void *SwigwxButtonTowxWindow(void *ptr
) { 
 950     src 
= (wxButton 
*) ptr
; 
 951     dest 
= (wxWindow 
*) src
; 
 952     return (void *) dest
; 
 955 static void *SwigwxButtonTowxEvtHandler(void *ptr
) { 
 958     src 
= (wxButton 
*) ptr
; 
 959     dest 
= (wxEvtHandler 
*) src
; 
 960     return (void *) dest
; 
 963 static void *SwigwxButtonTowxObject(void *ptr
) { 
 966     src 
= (wxButton 
*) ptr
; 
 967     dest 
= (wxObject 
*) src
; 
 968     return (void *) dest
; 
 971 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
 972 static PyObject 
*_wrap_new_wxButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 973     PyObject 
* _resultobj
; 
 978     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
 979     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
 980     long  _arg5 
= (long ) 0; 
 981     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
 982     wxString 
* _arg7 
= (wxString 
*) &wxPyButtonNameStr
; 
 983     PyObject 
* _argo0 
= 0; 
 984     PyObject 
* _obj2 
= 0; 
 986     PyObject 
* _obj3 
= 0; 
 988     PyObject 
* _obj4 
= 0; 
 989     PyObject 
* _argo6 
= 0; 
 990     PyObject 
* _obj7 
= 0; 
 991     char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL 
}; 
 995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
 998         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 999         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
1000             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p."); 
1005     _arg2 
= wxString_in_helper(_obj2
); 
1012     if (! wxPoint_helper(_obj3
, &_arg3
)) 
1018     if (! wxSize_helper(_obj4
, &_arg4
)) 
1022         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
1023             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p."); 
1029     _arg7 
= wxString_in_helper(_obj7
); 
1034     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1035     _result 
= (wxButton 
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
1037     wxPyEndAllowThreads(__tstate
); 
1038     if (PyErr_Occurred()) return NULL
; 
1040         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p"); 
1041         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1044         _resultobj 
= Py_None
; 
1057 #define new_wxPreButton() (new wxButton()) 
1058 static PyObject 
*_wrap_new_wxPreButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1059     PyObject 
* _resultobj
; 
1061     char *_kwnames
[] = {  NULL 
}; 
1065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))  
1068     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1069     _result 
= (wxButton 
*)new_wxPreButton(); 
1071     wxPyEndAllowThreads(__tstate
); 
1072     if (PyErr_Occurred()) return NULL
; 
1074         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p"); 
1075         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1078         _resultobj 
= Py_None
; 
1083 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
1084 static PyObject 
*_wrap_wxButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1085     PyObject 
* _resultobj
; 
1091     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
1092     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
1093     long  _arg6 
= (long ) 0; 
1094     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
1095     wxString 
* _arg8 
= (wxString 
*) &wxPyButtonNameStr
; 
1096     PyObject 
* _argo0 
= 0; 
1097     PyObject 
* _argo1 
= 0; 
1098     PyObject 
* _obj3 
= 0; 
1100     PyObject 
* _obj4 
= 0; 
1102     PyObject 
* _obj5 
= 0; 
1103     PyObject 
* _argo7 
= 0; 
1104     PyObject 
* _obj8 
= 0; 
1105     char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL 
}; 
1108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
1111         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1112         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) { 
1113             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p."); 
1118         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1119         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
1120             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p."); 
1125     _arg3 
= wxString_in_helper(_obj3
); 
1132     if (! wxPoint_helper(_obj4
, &_arg4
)) 
1138     if (! wxSize_helper(_obj5
, &_arg5
)) 
1142         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
1143             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p."); 
1149     _arg8 
= wxString_in_helper(_obj8
); 
1154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1155     _result 
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
1157     wxPyEndAllowThreads(__tstate
); 
1158     if (PyErr_Occurred()) return NULL
; 
1159 }    _resultobj 
= Py_BuildValue("i",_result
); 
1171 #define wxButton_SetDefault(_swigobj)  (_swigobj->SetDefault()) 
1172 static PyObject 
*_wrap_wxButton_SetDefault(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1173     PyObject 
* _resultobj
; 
1175     PyObject 
* _argo0 
= 0; 
1176     char *_kwnames
[] = { "self", NULL 
}; 
1179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))  
1182         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1183         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) { 
1184             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p."); 
1189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1190     wxButton_SetDefault(_arg0
); 
1192     wxPyEndAllowThreads(__tstate
); 
1193     if (PyErr_Occurred()) return NULL
; 
1194 }    Py_INCREF(Py_None
); 
1195     _resultobj 
= Py_None
; 
1199 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0)  (_swigobj->SetBackgroundColour(_swigarg0)) 
1200 static PyObject 
*_wrap_wxButton_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1201     PyObject 
* _resultobj
; 
1204     PyObject 
* _argo0 
= 0; 
1206     PyObject 
* _obj1 
= 0; 
1207     char *_kwnames
[] = { "self","colour", NULL 
}; 
1210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))  
1213         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1214         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) { 
1215             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p."); 
1221     if (! wxColour_helper(_obj1
, &_arg1
)) 
1225     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1226     wxButton_SetBackgroundColour(_arg0
,*_arg1
); 
1228     wxPyEndAllowThreads(__tstate
); 
1229     if (PyErr_Occurred()) return NULL
; 
1230 }    Py_INCREF(Py_None
); 
1231     _resultobj 
= Py_None
; 
1235 #define wxButton_SetForegroundColour(_swigobj,_swigarg0)  (_swigobj->SetForegroundColour(_swigarg0)) 
1236 static PyObject 
*_wrap_wxButton_SetForegroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1237     PyObject 
* _resultobj
; 
1240     PyObject 
* _argo0 
= 0; 
1242     PyObject 
* _obj1 
= 0; 
1243     char *_kwnames
[] = { "self","colour", NULL 
}; 
1246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))  
1249         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1250         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) { 
1251             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p."); 
1257     if (! wxColour_helper(_obj1
, &_arg1
)) 
1261     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1262     wxButton_SetForegroundColour(_arg0
,*_arg1
); 
1264     wxPyEndAllowThreads(__tstate
); 
1265     if (PyErr_Occurred()) return NULL
; 
1266 }    Py_INCREF(Py_None
); 
1267     _resultobj 
= Py_None
; 
1271 static PyObject 
*_wrap_wxButton_GetDefaultSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1272     PyObject 
* _resultobj
; 
1274     char *_kwnames
[] = {  NULL 
}; 
1278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))  
1281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1282     _result 
= new wxSize (wxButton::GetDefaultSize()); 
1284     wxPyEndAllowThreads(__tstate
); 
1285     if (PyErr_Occurred()) return NULL
; 
1286 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
1287     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1291 static void *SwigwxBitmapButtonTowxButton(void *ptr
) { 
1292     wxBitmapButton 
*src
; 
1294     src 
= (wxBitmapButton 
*) ptr
; 
1295     dest 
= (wxButton 
*) src
; 
1296     return (void *) dest
; 
1299 static void *SwigwxBitmapButtonTowxControl(void *ptr
) { 
1300     wxBitmapButton 
*src
; 
1302     src 
= (wxBitmapButton 
*) ptr
; 
1303     dest 
= (wxControl 
*) src
; 
1304     return (void *) dest
; 
1307 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) { 
1308     wxBitmapButton 
*src
; 
1310     src 
= (wxBitmapButton 
*) ptr
; 
1311     dest 
= (wxWindow 
*) src
; 
1312     return (void *) dest
; 
1315 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) { 
1316     wxBitmapButton 
*src
; 
1318     src 
= (wxBitmapButton 
*) ptr
; 
1319     dest 
= (wxEvtHandler 
*) src
; 
1320     return (void *) dest
; 
1323 static void *SwigwxBitmapButtonTowxObject(void *ptr
) { 
1324     wxBitmapButton 
*src
; 
1326     src 
= (wxBitmapButton 
*) ptr
; 
1327     dest 
= (wxObject 
*) src
; 
1328     return (void *) dest
; 
1331 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
1332 static PyObject 
*_wrap_new_wxBitmapButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1333     PyObject 
* _resultobj
; 
1334     wxBitmapButton 
* _result
; 
1338     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
1339     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
1340     long  _arg5 
= (long ) wxBU_AUTODRAW
; 
1341     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
1342     wxString 
* _arg7 
= (wxString 
*) &wxPyButtonNameStr
; 
1343     PyObject 
* _argo0 
= 0; 
1344     PyObject 
* _argo2 
= 0; 
1346     PyObject 
* _obj3 
= 0; 
1348     PyObject 
* _obj4 
= 0; 
1349     PyObject 
* _argo6 
= 0; 
1350     PyObject 
* _obj7 
= 0; 
1351     char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL 
}; 
1355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
1358         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1359         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
1360             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p."); 
1365         if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) { 
1366             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p."); 
1373     if (! wxPoint_helper(_obj3
, &_arg3
)) 
1379     if (! wxSize_helper(_obj4
, &_arg4
)) 
1383         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
1384             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p."); 
1390     _arg7 
= wxString_in_helper(_obj7
); 
1395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1396     _result 
= (wxBitmapButton 
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
1398     wxPyEndAllowThreads(__tstate
); 
1399     if (PyErr_Occurred()) return NULL
; 
1401         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p"); 
1402         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1405         _resultobj 
= Py_None
; 
1414 #define new_wxPreBitmapButton() (new wxBitmapButton()) 
1415 static PyObject 
*_wrap_new_wxPreBitmapButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1416     PyObject 
* _resultobj
; 
1417     wxBitmapButton 
* _result
; 
1418     char *_kwnames
[] = {  NULL 
}; 
1422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))  
1425     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1426     _result 
= (wxBitmapButton 
*)new_wxPreBitmapButton(); 
1428     wxPyEndAllowThreads(__tstate
); 
1429     if (PyErr_Occurred()) return NULL
; 
1431         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p"); 
1432         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1435         _resultobj 
= Py_None
; 
1440 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
1441 static PyObject 
*_wrap_wxBitmapButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1442     PyObject 
* _resultobj
; 
1444     wxBitmapButton 
* _arg0
; 
1448     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
1449     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
1450     long  _arg6 
= (long ) wxBU_AUTODRAW
; 
1451     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
1452     wxString 
* _arg8 
= (wxString 
*) &wxPyButtonNameStr
; 
1453     PyObject 
* _argo0 
= 0; 
1454     PyObject 
* _argo1 
= 0; 
1455     PyObject 
* _argo3 
= 0; 
1457     PyObject 
* _obj4 
= 0; 
1459     PyObject 
* _obj5 
= 0; 
1460     PyObject 
* _argo7 
= 0; 
1461     PyObject 
* _obj8 
= 0; 
1462     char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL 
}; 
1465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
1468         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1469         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1470             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p."); 
1475         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1476         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
1477             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p."); 
1482         if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) { 
1483             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p."); 
1490     if (! wxPoint_helper(_obj4
, &_arg4
)) 
1496     if (! wxSize_helper(_obj5
, &_arg5
)) 
1500         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
1501             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p."); 
1507     _arg8 
= wxString_in_helper(_obj8
); 
1512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1513     _result 
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
1515     wxPyEndAllowThreads(__tstate
); 
1516     if (PyErr_Occurred()) return NULL
; 
1517 }    _resultobj 
= Py_BuildValue("i",_result
); 
1525 #define wxBitmapButton_GetBitmapLabel(_swigobj)  (_swigobj->GetBitmapLabel()) 
1526 static PyObject 
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1527     PyObject 
* _resultobj
; 
1529     wxBitmapButton 
* _arg0
; 
1530     PyObject 
* _argo0 
= 0; 
1531     char *_kwnames
[] = { "self", NULL 
}; 
1535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))  
1538         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1539         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1540             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p."); 
1545     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1546     _result 
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
)); 
1548     wxPyEndAllowThreads(__tstate
); 
1549     if (PyErr_Occurred()) return NULL
; 
1550 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
1551     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1555 #define wxBitmapButton_GetBitmapDisabled(_swigobj)  (_swigobj->GetBitmapDisabled()) 
1556 static PyObject 
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1557     PyObject 
* _resultobj
; 
1559     wxBitmapButton 
* _arg0
; 
1560     PyObject 
* _argo0 
= 0; 
1561     char *_kwnames
[] = { "self", NULL 
}; 
1565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))  
1568         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1569         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1570             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p."); 
1575     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1576     _result 
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
)); 
1578     wxPyEndAllowThreads(__tstate
); 
1579     if (PyErr_Occurred()) return NULL
; 
1580 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
1581     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1585 #define wxBitmapButton_GetBitmapFocus(_swigobj)  (_swigobj->GetBitmapFocus()) 
1586 static PyObject 
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1587     PyObject 
* _resultobj
; 
1589     wxBitmapButton 
* _arg0
; 
1590     PyObject 
* _argo0 
= 0; 
1591     char *_kwnames
[] = { "self", NULL 
}; 
1595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))  
1598         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1599         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1600             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p."); 
1605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1606     _result 
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
)); 
1608     wxPyEndAllowThreads(__tstate
); 
1609     if (PyErr_Occurred()) return NULL
; 
1610 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
1611     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1615 #define wxBitmapButton_GetBitmapSelected(_swigobj)  (_swigobj->GetBitmapSelected()) 
1616 static PyObject 
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1617     PyObject 
* _resultobj
; 
1619     wxBitmapButton 
* _arg0
; 
1620     PyObject 
* _argo0 
= 0; 
1621     char *_kwnames
[] = { "self", NULL 
}; 
1625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))  
1628         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1629         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1630             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p."); 
1635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1636     _result 
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
)); 
1638     wxPyEndAllowThreads(__tstate
); 
1639     if (PyErr_Occurred()) return NULL
; 
1640 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
1641     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1645 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0)  (_swigobj->SetBitmapDisabled(_swigarg0)) 
1646 static PyObject 
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1647     PyObject 
* _resultobj
; 
1648     wxBitmapButton 
* _arg0
; 
1650     PyObject 
* _argo0 
= 0; 
1651     PyObject 
* _argo1 
= 0; 
1652     char *_kwnames
[] = { "self","bitmap", NULL 
}; 
1655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))  
1658         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1659         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1660             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p."); 
1665         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1666             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p."); 
1671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1672     wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
); 
1674     wxPyEndAllowThreads(__tstate
); 
1675     if (PyErr_Occurred()) return NULL
; 
1676 }    Py_INCREF(Py_None
); 
1677     _resultobj 
= Py_None
; 
1681 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0)  (_swigobj->SetBitmapFocus(_swigarg0)) 
1682 static PyObject 
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1683     PyObject 
* _resultobj
; 
1684     wxBitmapButton 
* _arg0
; 
1686     PyObject 
* _argo0 
= 0; 
1687     PyObject 
* _argo1 
= 0; 
1688     char *_kwnames
[] = { "self","bitmap", NULL 
}; 
1691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))  
1694         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1695         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1696             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p."); 
1701         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1702             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p."); 
1707     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1708     wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
); 
1710     wxPyEndAllowThreads(__tstate
); 
1711     if (PyErr_Occurred()) return NULL
; 
1712 }    Py_INCREF(Py_None
); 
1713     _resultobj 
= Py_None
; 
1717 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0)  (_swigobj->SetBitmapSelected(_swigarg0)) 
1718 static PyObject 
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1719     PyObject 
* _resultobj
; 
1720     wxBitmapButton 
* _arg0
; 
1722     PyObject 
* _argo0 
= 0; 
1723     PyObject 
* _argo1 
= 0; 
1724     char *_kwnames
[] = { "self","bitmap", NULL 
}; 
1727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))  
1730         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1731         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1732             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p."); 
1737         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1738             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p."); 
1743     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1744     wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
); 
1746     wxPyEndAllowThreads(__tstate
); 
1747     if (PyErr_Occurred()) return NULL
; 
1748 }    Py_INCREF(Py_None
); 
1749     _resultobj 
= Py_None
; 
1753 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0)  (_swigobj->SetBitmapLabel(_swigarg0)) 
1754 static PyObject 
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1755     PyObject 
* _resultobj
; 
1756     wxBitmapButton 
* _arg0
; 
1758     PyObject 
* _argo0 
= 0; 
1759     PyObject 
* _argo1 
= 0; 
1760     char *_kwnames
[] = { "self","bitmap", NULL 
}; 
1763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))  
1766         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1767         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1768             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p."); 
1773         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1774             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p."); 
1779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1780     wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
); 
1782     wxPyEndAllowThreads(__tstate
); 
1783     if (PyErr_Occurred()) return NULL
; 
1784 }    Py_INCREF(Py_None
); 
1785     _resultobj 
= Py_None
; 
1789 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetMargins(_swigarg0,_swigarg1)) 
1790 static PyObject 
*_wrap_wxBitmapButton_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1791     PyObject 
* _resultobj
; 
1792     wxBitmapButton 
* _arg0
; 
1795     PyObject 
* _argo0 
= 0; 
1796     char *_kwnames
[] = { "self","x","y", NULL 
}; 
1799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
1802         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1803         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1804             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p."); 
1809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1810     wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
); 
1812     wxPyEndAllowThreads(__tstate
); 
1813     if (PyErr_Occurred()) return NULL
; 
1814 }    Py_INCREF(Py_None
); 
1815     _resultobj 
= Py_None
; 
1819 #define wxBitmapButton_GetMarginX(_swigobj)  (_swigobj->GetMarginX()) 
1820 static PyObject 
*_wrap_wxBitmapButton_GetMarginX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1821     PyObject 
* _resultobj
; 
1823     wxBitmapButton 
* _arg0
; 
1824     PyObject 
* _argo0 
= 0; 
1825     char *_kwnames
[] = { "self", NULL 
}; 
1828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))  
1831         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1832         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1833             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p."); 
1838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1839     _result 
= (int )wxBitmapButton_GetMarginX(_arg0
); 
1841     wxPyEndAllowThreads(__tstate
); 
1842     if (PyErr_Occurred()) return NULL
; 
1843 }    _resultobj 
= Py_BuildValue("i",_result
); 
1847 #define wxBitmapButton_GetMarginY(_swigobj)  (_swigobj->GetMarginY()) 
1848 static PyObject 
*_wrap_wxBitmapButton_GetMarginY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1849     PyObject 
* _resultobj
; 
1851     wxBitmapButton 
* _arg0
; 
1852     PyObject 
* _argo0 
= 0; 
1853     char *_kwnames
[] = { "self", NULL 
}; 
1856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))  
1859         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1860         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) { 
1861             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p."); 
1866     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1867     _result 
= (int )wxBitmapButton_GetMarginY(_arg0
); 
1869     wxPyEndAllowThreads(__tstate
); 
1870     if (PyErr_Occurred()) return NULL
; 
1871 }    _resultobj 
= Py_BuildValue("i",_result
); 
1875 static void *SwigwxCheckBoxTowxControl(void *ptr
) { 
1878     src 
= (wxCheckBox 
*) ptr
; 
1879     dest 
= (wxControl 
*) src
; 
1880     return (void *) dest
; 
1883 static void *SwigwxCheckBoxTowxWindow(void *ptr
) { 
1886     src 
= (wxCheckBox 
*) ptr
; 
1887     dest 
= (wxWindow 
*) src
; 
1888     return (void *) dest
; 
1891 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) { 
1894     src 
= (wxCheckBox 
*) ptr
; 
1895     dest 
= (wxEvtHandler 
*) src
; 
1896     return (void *) dest
; 
1899 static void *SwigwxCheckBoxTowxObject(void *ptr
) { 
1902     src 
= (wxCheckBox 
*) ptr
; 
1903     dest 
= (wxObject 
*) src
; 
1904     return (void *) dest
; 
1907 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
1908 static PyObject 
*_wrap_new_wxCheckBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1909     PyObject 
* _resultobj
; 
1910     wxCheckBox 
* _result
; 
1914     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
1915     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
1916     long  _arg5 
= (long ) 0; 
1917     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
1918     wxString 
* _arg7 
= (wxString 
*) &wxPyCheckBoxNameStr
; 
1919     PyObject 
* _argo0 
= 0; 
1920     PyObject 
* _obj2 
= 0; 
1922     PyObject 
* _obj3 
= 0; 
1924     PyObject 
* _obj4 
= 0; 
1925     PyObject 
* _argo6 
= 0; 
1926     PyObject 
* _obj7 
= 0; 
1927     char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL 
}; 
1931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
1934         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1935         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
1936             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p."); 
1941     _arg2 
= wxString_in_helper(_obj2
); 
1948     if (! wxPoint_helper(_obj3
, &_arg3
)) 
1954     if (! wxSize_helper(_obj4
, &_arg4
)) 
1958         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
1959             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p."); 
1965     _arg7 
= wxString_in_helper(_obj7
); 
1970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1971     _result 
= (wxCheckBox 
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
1973     wxPyEndAllowThreads(__tstate
); 
1974     if (PyErr_Occurred()) return NULL
; 
1976         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p"); 
1977         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1980         _resultobj 
= Py_None
; 
1993 #define new_wxPreCheckBox() (new wxCheckBox()) 
1994 static PyObject 
*_wrap_new_wxPreCheckBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1995     PyObject 
* _resultobj
; 
1996     wxCheckBox 
* _result
; 
1997     char *_kwnames
[] = {  NULL 
}; 
2001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))  
2004     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2005     _result 
= (wxCheckBox 
*)new_wxPreCheckBox(); 
2007     wxPyEndAllowThreads(__tstate
); 
2008     if (PyErr_Occurred()) return NULL
; 
2010         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p"); 
2011         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2014         _resultobj 
= Py_None
; 
2019 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
2020 static PyObject 
*_wrap_wxCheckBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2021     PyObject 
* _resultobj
; 
2027     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
2028     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
2029     long  _arg6 
= (long ) 0; 
2030     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
2031     wxString 
* _arg8 
= (wxString 
*) &wxPyCheckBoxNameStr
; 
2032     PyObject 
* _argo0 
= 0; 
2033     PyObject 
* _argo1 
= 0; 
2034     PyObject 
* _obj3 
= 0; 
2036     PyObject 
* _obj4 
= 0; 
2038     PyObject 
* _obj5 
= 0; 
2039     PyObject 
* _argo7 
= 0; 
2040     PyObject 
* _obj8 
= 0; 
2041     char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL 
}; 
2044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
2047         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2048         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) { 
2049             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p."); 
2054         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2055         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
2056             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p."); 
2061     _arg3 
= wxString_in_helper(_obj3
); 
2068     if (! wxPoint_helper(_obj4
, &_arg4
)) 
2074     if (! wxSize_helper(_obj5
, &_arg5
)) 
2078         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
2079             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p."); 
2085     _arg8 
= wxString_in_helper(_obj8
); 
2090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2091     _result 
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
2093     wxPyEndAllowThreads(__tstate
); 
2094     if (PyErr_Occurred()) return NULL
; 
2095 }    _resultobj 
= Py_BuildValue("i",_result
); 
2107 #define wxCheckBox_GetValue(_swigobj)  (_swigobj->GetValue()) 
2108 static PyObject 
*_wrap_wxCheckBox_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2109     PyObject 
* _resultobj
; 
2112     PyObject 
* _argo0 
= 0; 
2113     char *_kwnames
[] = { "self", NULL 
}; 
2116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))  
2119         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2120         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) { 
2121             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p."); 
2126     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2127     _result 
= (bool )wxCheckBox_GetValue(_arg0
); 
2129     wxPyEndAllowThreads(__tstate
); 
2130     if (PyErr_Occurred()) return NULL
; 
2131 }    _resultobj 
= Py_BuildValue("i",_result
); 
2135 #define wxCheckBox_IsChecked(_swigobj)  (_swigobj->IsChecked()) 
2136 static PyObject 
*_wrap_wxCheckBox_IsChecked(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2137     PyObject 
* _resultobj
; 
2140     PyObject 
* _argo0 
= 0; 
2141     char *_kwnames
[] = { "self", NULL 
}; 
2144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_IsChecked",_kwnames
,&_argo0
))  
2147         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2148         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) { 
2149             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p."); 
2154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2155     _result 
= (bool )wxCheckBox_IsChecked(_arg0
); 
2157     wxPyEndAllowThreads(__tstate
); 
2158     if (PyErr_Occurred()) return NULL
; 
2159 }    _resultobj 
= Py_BuildValue("i",_result
); 
2163 #define wxCheckBox_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
2164 static PyObject 
*_wrap_wxCheckBox_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2165     PyObject 
* _resultobj
; 
2168     PyObject 
* _argo0 
= 0; 
2170     char *_kwnames
[] = { "self","state", NULL 
}; 
2173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))  
2176         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2177         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) { 
2178             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p."); 
2182     _arg1 
= (bool ) tempbool1
; 
2184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2185     wxCheckBox_SetValue(_arg0
,_arg1
); 
2187     wxPyEndAllowThreads(__tstate
); 
2188     if (PyErr_Occurred()) return NULL
; 
2189 }    Py_INCREF(Py_None
); 
2190     _resultobj 
= Py_None
; 
2194 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) { 
2196     wxControlWithItems 
*dest
; 
2197     src 
= (wxChoice 
*) ptr
; 
2198     dest 
= (wxControlWithItems 
*) src
; 
2199     return (void *) dest
; 
2202 static void *SwigwxChoiceTowxControl(void *ptr
) { 
2205     src 
= (wxChoice 
*) ptr
; 
2206     dest 
= (wxControl 
*) src
; 
2207     return (void *) dest
; 
2210 static void *SwigwxChoiceTowxWindow(void *ptr
) { 
2213     src 
= (wxChoice 
*) ptr
; 
2214     dest 
= (wxWindow 
*) src
; 
2215     return (void *) dest
; 
2218 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) { 
2221     src 
= (wxChoice 
*) ptr
; 
2222     dest 
= (wxEvtHandler 
*) src
; 
2223     return (void *) dest
; 
2226 static void *SwigwxChoiceTowxObject(void *ptr
) { 
2229     src 
= (wxChoice 
*) ptr
; 
2230     dest 
= (wxObject 
*) src
; 
2231     return (void *) dest
; 
2234 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) 
2235 static PyObject 
*_wrap_new_wxChoice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2236     PyObject 
* _resultobj
; 
2240     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
2241     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
2242     int  _arg4 
= (int ) 0; 
2243     wxString 
* _arg5 
= (wxString 
*) NULL
; 
2244     long  _arg6 
= (long ) 0; 
2245     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
2246     wxString 
* _arg8 
= (wxString 
*) &wxPyChoiceNameStr
; 
2247     PyObject 
* _argo0 
= 0; 
2249     PyObject 
* _obj2 
= 0; 
2251     PyObject 
* _obj3 
= 0; 
2252     PyObject 
* _obj5 
= 0; 
2253     PyObject 
* _argo7 
= 0; 
2254     PyObject 
* _obj8 
= 0; 
2255     char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL 
}; 
2259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
2262         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2263         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
2264             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p."); 
2271     if (! wxPoint_helper(_obj2
, &_arg2
)) 
2277     if (! wxSize_helper(_obj3
, &_arg3
)) 
2282     _arg5 
= wxString_LIST_helper(_obj5
); 
2283     if (_arg5 
== NULL
) { 
2288         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
2289             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p."); 
2295     _arg8 
= wxString_in_helper(_obj8
); 
2301         _arg4 
= PyList_Size(_obj5
); 
2308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2309     _result 
= (wxChoice 
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
); 
2311     wxPyEndAllowThreads(__tstate
); 
2312     if (PyErr_Occurred()) return NULL
; 
2314         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p"); 
2315         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2318         _resultobj 
= Py_None
; 
2330 #define new_wxPreChoice() (new wxChoice()) 
2331 static PyObject 
*_wrap_new_wxPreChoice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2332     PyObject 
* _resultobj
; 
2334     char *_kwnames
[] = {  NULL 
}; 
2338     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))  
2341     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2342     _result 
= (wxChoice 
*)new_wxPreChoice(); 
2344     wxPyEndAllowThreads(__tstate
); 
2345     if (PyErr_Occurred()) return NULL
; 
2347         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p"); 
2348         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2351         _resultobj 
= Py_None
; 
2356 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) 
2357 static PyObject 
*_wrap_wxChoice_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2358     PyObject 
* _resultobj
; 
2363     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
2364     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
2365     int  _arg5 
= (int ) 0; 
2366     wxString 
* _arg6 
= (wxString 
*) NULL
; 
2367     long  _arg7 
= (long ) 0; 
2368     wxValidator 
* _arg8 
= (wxValidator 
*) &wxDefaultValidator
; 
2369     wxString 
* _arg9 
= (wxString 
*) &wxPyChoiceNameStr
; 
2370     PyObject 
* _argo0 
= 0; 
2371     PyObject 
* _argo1 
= 0; 
2373     PyObject 
* _obj3 
= 0; 
2375     PyObject 
* _obj4 
= 0; 
2376     PyObject 
* _obj6 
= 0; 
2377     PyObject 
* _argo8 
= 0; 
2378     PyObject 
* _obj9 
= 0; 
2379     char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL 
}; 
2382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))  
2385         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2386         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2387             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p."); 
2392         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2393         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
2394             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p."); 
2401     if (! wxPoint_helper(_obj3
, &_arg3
)) 
2407     if (! wxSize_helper(_obj4
, &_arg4
)) 
2412     _arg6 
= wxString_LIST_helper(_obj6
); 
2413     if (_arg6 
== NULL
) { 
2418         if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) { 
2419             PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p."); 
2425     _arg9 
= wxString_in_helper(_obj9
); 
2431         _arg5 
= PyList_Size(_obj6
); 
2438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2439     _result 
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
); 
2441     wxPyEndAllowThreads(__tstate
); 
2442     if (PyErr_Occurred()) return NULL
; 
2443 }    _resultobj 
= Py_BuildValue("i",_result
); 
2454 #define wxChoice_Clear(_swigobj)  (_swigobj->Clear()) 
2455 static PyObject 
*_wrap_wxChoice_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2456     PyObject 
* _resultobj
; 
2458     PyObject 
* _argo0 
= 0; 
2459     char *_kwnames
[] = { "self", NULL 
}; 
2462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))  
2465         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2466         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2467             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p."); 
2472     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2473     wxChoice_Clear(_arg0
); 
2475     wxPyEndAllowThreads(__tstate
); 
2476     if (PyErr_Occurred()) return NULL
; 
2477 }    Py_INCREF(Py_None
); 
2478     _resultobj 
= Py_None
; 
2482 #define wxChoice_GetColumns(_swigobj)  (_swigobj->GetColumns()) 
2483 static PyObject 
*_wrap_wxChoice_GetColumns(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2484     PyObject 
* _resultobj
; 
2487     PyObject 
* _argo0 
= 0; 
2488     char *_kwnames
[] = { "self", NULL 
}; 
2491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))  
2494         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2495         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2496             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p."); 
2501     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2502     _result 
= (int )wxChoice_GetColumns(_arg0
); 
2504     wxPyEndAllowThreads(__tstate
); 
2505     if (PyErr_Occurred()) return NULL
; 
2506 }    _resultobj 
= Py_BuildValue("i",_result
); 
2510 #define wxChoice_SetColumns(_swigobj,_swigarg0)  (_swigobj->SetColumns(_swigarg0)) 
2511 static PyObject 
*_wrap_wxChoice_SetColumns(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2512     PyObject 
* _resultobj
; 
2514     int  _arg1 
= (int ) 1; 
2515     PyObject 
* _argo0 
= 0; 
2516     char *_kwnames
[] = { "self","n", NULL 
}; 
2519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))  
2522         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2523         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2524             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p."); 
2529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2530     wxChoice_SetColumns(_arg0
,_arg1
); 
2532     wxPyEndAllowThreads(__tstate
); 
2533     if (PyErr_Occurred()) return NULL
; 
2534 }    Py_INCREF(Py_None
); 
2535     _resultobj 
= Py_None
; 
2539 #define wxChoice_SetSelection(_swigobj,_swigarg0)  (_swigobj->SetSelection(_swigarg0)) 
2540 static PyObject 
*_wrap_wxChoice_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2541     PyObject 
* _resultobj
; 
2544     PyObject 
* _argo0 
= 0; 
2545     char *_kwnames
[] = { "self","n", NULL 
}; 
2548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))  
2551         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2552         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2553             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p."); 
2558     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2559     wxChoice_SetSelection(_arg0
,_arg1
); 
2561     wxPyEndAllowThreads(__tstate
); 
2562     if (PyErr_Occurred()) return NULL
; 
2563 }    Py_INCREF(Py_None
); 
2564     _resultobj 
= Py_None
; 
2568 #define wxChoice_SetStringSelection(_swigobj,_swigarg0)  (_swigobj->SetStringSelection(_swigarg0)) 
2569 static PyObject 
*_wrap_wxChoice_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2570     PyObject 
* _resultobj
; 
2573     PyObject 
* _argo0 
= 0; 
2574     PyObject 
* _obj1 
= 0; 
2575     char *_kwnames
[] = { "self","string", NULL 
}; 
2578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))  
2581         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2582         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2583             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p."); 
2588     _arg1 
= wxString_in_helper(_obj1
); 
2593     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2594     wxChoice_SetStringSelection(_arg0
,*_arg1
); 
2596     wxPyEndAllowThreads(__tstate
); 
2597     if (PyErr_Occurred()) return NULL
; 
2598 }    Py_INCREF(Py_None
); 
2599     _resultobj 
= Py_None
; 
2607 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetString(_swigarg0,_swigarg1)) 
2608 static PyObject 
*_wrap_wxChoice_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2609     PyObject 
* _resultobj
; 
2613     PyObject 
* _argo0 
= 0; 
2614     PyObject 
* _obj2 
= 0; 
2615     char *_kwnames
[] = { "self","n","s", NULL 
}; 
2618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
2621         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2622         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) { 
2623             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p."); 
2628     _arg2 
= wxString_in_helper(_obj2
); 
2633     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2634     wxChoice_SetString(_arg0
,_arg1
,*_arg2
); 
2636     wxPyEndAllowThreads(__tstate
); 
2637     if (PyErr_Occurred()) return NULL
; 
2638 }    Py_INCREF(Py_None
); 
2639     _resultobj 
= Py_None
; 
2647 static void *SwigwxComboBoxTowxControl(void *ptr
) { 
2650     src 
= (wxComboBox 
*) ptr
; 
2651     dest 
= (wxControl 
*) src
; 
2652     return (void *) dest
; 
2655 static void *SwigwxComboBoxTowxWindow(void *ptr
) { 
2658     src 
= (wxComboBox 
*) ptr
; 
2659     dest 
= (wxWindow 
*) src
; 
2660     return (void *) dest
; 
2663 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) { 
2666     src 
= (wxComboBox 
*) ptr
; 
2667     dest 
= (wxEvtHandler 
*) src
; 
2668     return (void *) dest
; 
2671 static void *SwigwxComboBoxTowxObject(void *ptr
) { 
2674     src 
= (wxComboBox 
*) ptr
; 
2675     dest 
= (wxObject 
*) src
; 
2676     return (void *) dest
; 
2679 #define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) 
2680 static PyObject 
*_wrap_new_wxComboBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2681     PyObject 
* _resultobj
; 
2682     wxComboBox 
* _result
; 
2685     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
2686     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
2687     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
2688     int  _arg5 
= (int ) 0; 
2689     wxString 
* _arg6 
= (wxString 
*) NULL
; 
2690     long  _arg7 
= (long ) 0; 
2691     wxValidator 
* _arg8 
= (wxValidator 
*) &wxDefaultValidator
; 
2692     wxString 
* _arg9 
= (wxString 
*) &wxPyComboBoxNameStr
; 
2693     PyObject 
* _argo0 
= 0; 
2694     PyObject 
* _obj2 
= 0; 
2696     PyObject 
* _obj3 
= 0; 
2698     PyObject 
* _obj4 
= 0; 
2699     PyObject 
* _obj6 
= 0; 
2700     PyObject 
* _argo8 
= 0; 
2701     PyObject 
* _obj9 
= 0; 
2702     char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL 
}; 
2706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))  
2709         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2710         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
2711             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p."); 
2717     _arg2 
= wxString_in_helper(_obj2
); 
2724     if (! wxPoint_helper(_obj3
, &_arg3
)) 
2730     if (! wxSize_helper(_obj4
, &_arg4
)) 
2735     _arg6 
= wxString_LIST_helper(_obj6
); 
2736     if (_arg6 
== NULL
) { 
2741         if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) { 
2742             PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p."); 
2748     _arg9 
= wxString_in_helper(_obj9
); 
2754         _arg5 
= PyList_Size(_obj6
); 
2761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2762     _result 
= (wxComboBox 
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
); 
2764     wxPyEndAllowThreads(__tstate
); 
2765     if (PyErr_Occurred()) return NULL
; 
2767         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p"); 
2768         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2771         _resultobj 
= Py_None
; 
2787 #define new_wxPreComboBox() (new wxComboBox()) 
2788 static PyObject 
*_wrap_new_wxPreComboBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2789     PyObject 
* _resultobj
; 
2790     wxComboBox 
* _result
; 
2791     char *_kwnames
[] = {  NULL 
}; 
2795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))  
2798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2799     _result 
= (wxComboBox 
*)new_wxPreComboBox(); 
2801     wxPyEndAllowThreads(__tstate
); 
2802     if (PyErr_Occurred()) return NULL
; 
2804         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p"); 
2805         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2808         _resultobj 
= Py_None
; 
2813 #define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) 
2814 static PyObject 
*_wrap_wxComboBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2815     PyObject 
* _resultobj
; 
2820     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
2821     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
2822     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
2823     int  _arg6 
= (int ) 0; 
2824     wxString 
* _arg7 
= (wxString 
*) NULL
; 
2825     long  _arg8 
= (long ) 0; 
2826     wxValidator 
* _arg9 
= (wxValidator 
*) &wxDefaultValidator
; 
2827     wxString 
* _arg10 
= (wxString 
*) &wxPyComboBoxNameStr
; 
2828     PyObject 
* _argo0 
= 0; 
2829     PyObject 
* _argo1 
= 0; 
2830     PyObject 
* _obj3 
= 0; 
2832     PyObject 
* _obj4 
= 0; 
2834     PyObject 
* _obj5 
= 0; 
2835     PyObject 
* _obj7 
= 0; 
2836     PyObject 
* _argo9 
= 0; 
2837     PyObject 
* _obj10 
= 0; 
2838     char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL 
}; 
2841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))  
2844         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2845         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
2846             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p."); 
2851         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2852         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
2853             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p."); 
2859     _arg3 
= wxString_in_helper(_obj3
); 
2866     if (! wxPoint_helper(_obj4
, &_arg4
)) 
2872     if (! wxSize_helper(_obj5
, &_arg5
)) 
2877     _arg7 
= wxString_LIST_helper(_obj7
); 
2878     if (_arg7 
== NULL
) { 
2883         if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) { 
2884             PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p."); 
2890     _arg10 
= wxString_in_helper(_obj10
); 
2896         _arg6 
= PyList_Size(_obj7
); 
2903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2904     _result 
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
); 
2906     wxPyEndAllowThreads(__tstate
); 
2907     if (PyErr_Occurred()) return NULL
; 
2908 }    _resultobj 
= Py_BuildValue("i",_result
); 
2923 #define wxComboBox_Copy(_swigobj)  (_swigobj->Copy()) 
2924 static PyObject 
*_wrap_wxComboBox_Copy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2925     PyObject 
* _resultobj
; 
2927     PyObject 
* _argo0 
= 0; 
2928     char *_kwnames
[] = { "self", NULL 
}; 
2931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))  
2934         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2935         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
2936             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p."); 
2941     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2942     wxComboBox_Copy(_arg0
); 
2944     wxPyEndAllowThreads(__tstate
); 
2945     if (PyErr_Occurred()) return NULL
; 
2946 }    Py_INCREF(Py_None
); 
2947     _resultobj 
= Py_None
; 
2951 #define wxComboBox_Cut(_swigobj)  (_swigobj->Cut()) 
2952 static PyObject 
*_wrap_wxComboBox_Cut(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2953     PyObject 
* _resultobj
; 
2955     PyObject 
* _argo0 
= 0; 
2956     char *_kwnames
[] = { "self", NULL 
}; 
2959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))  
2962         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2963         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
2964             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p."); 
2969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2970     wxComboBox_Cut(_arg0
); 
2972     wxPyEndAllowThreads(__tstate
); 
2973     if (PyErr_Occurred()) return NULL
; 
2974 }    Py_INCREF(Py_None
); 
2975     _resultobj 
= Py_None
; 
2979 #define wxComboBox_GetInsertionPoint(_swigobj)  (_swigobj->GetInsertionPoint()) 
2980 static PyObject 
*_wrap_wxComboBox_GetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2981     PyObject 
* _resultobj
; 
2984     PyObject 
* _argo0 
= 0; 
2985     char *_kwnames
[] = { "self", NULL 
}; 
2988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))  
2991         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2992         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
2993             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p."); 
2998     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2999     _result 
= (long )wxComboBox_GetInsertionPoint(_arg0
); 
3001     wxPyEndAllowThreads(__tstate
); 
3002     if (PyErr_Occurred()) return NULL
; 
3003 }    _resultobj 
= Py_BuildValue("l",_result
); 
3007 #define wxComboBox_GetLastPosition(_swigobj)  (_swigobj->GetLastPosition()) 
3008 static PyObject 
*_wrap_wxComboBox_GetLastPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3009     PyObject 
* _resultobj
; 
3012     PyObject 
* _argo0 
= 0; 
3013     char *_kwnames
[] = { "self", NULL 
}; 
3016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))  
3019         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3020         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3021             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p."); 
3026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3027     _result 
= (long )wxComboBox_GetLastPosition(_arg0
); 
3029     wxPyEndAllowThreads(__tstate
); 
3030     if (PyErr_Occurred()) return NULL
; 
3031 }    _resultobj 
= Py_BuildValue("l",_result
); 
3035 #define wxComboBox_GetValue(_swigobj)  (_swigobj->GetValue()) 
3036 static PyObject 
*_wrap_wxComboBox_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3037     PyObject 
* _resultobj
; 
3040     PyObject 
* _argo0 
= 0; 
3041     char *_kwnames
[] = { "self", NULL 
}; 
3044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))  
3047         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3048         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3049             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p."); 
3054     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3055     _result 
= new wxString (wxComboBox_GetValue(_arg0
)); 
3057     wxPyEndAllowThreads(__tstate
); 
3058     if (PyErr_Occurred()) return NULL
; 
3061     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3063     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3072 #define wxComboBox_Paste(_swigobj)  (_swigobj->Paste()) 
3073 static PyObject 
*_wrap_wxComboBox_Paste(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3074     PyObject 
* _resultobj
; 
3076     PyObject 
* _argo0 
= 0; 
3077     char *_kwnames
[] = { "self", NULL 
}; 
3080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))  
3083         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3084         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3085             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p."); 
3090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3091     wxComboBox_Paste(_arg0
); 
3093     wxPyEndAllowThreads(__tstate
); 
3094     if (PyErr_Occurred()) return NULL
; 
3095 }    Py_INCREF(Py_None
); 
3096     _resultobj 
= Py_None
; 
3100 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2)) 
3101 static PyObject 
*_wrap_wxComboBox_Replace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3102     PyObject 
* _resultobj
; 
3107     PyObject 
* _argo0 
= 0; 
3108     PyObject 
* _obj3 
= 0; 
3109     char *_kwnames
[] = { "self","from","to","text", NULL 
}; 
3112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))  
3115         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3116         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3117             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p."); 
3122     _arg3 
= wxString_in_helper(_obj3
); 
3127     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3128     wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
); 
3130     wxPyEndAllowThreads(__tstate
); 
3131     if (PyErr_Occurred()) return NULL
; 
3132 }    Py_INCREF(Py_None
); 
3133     _resultobj 
= Py_None
; 
3141 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Remove(_swigarg0,_swigarg1)) 
3142 static PyObject 
*_wrap_wxComboBox_Remove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3143     PyObject 
* _resultobj
; 
3147     PyObject 
* _argo0 
= 0; 
3148     char *_kwnames
[] = { "self","from","to", NULL 
}; 
3151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
3154         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3155         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3156             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p."); 
3161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3162     wxComboBox_Remove(_arg0
,_arg1
,_arg2
); 
3164     wxPyEndAllowThreads(__tstate
); 
3165     if (PyErr_Occurred()) return NULL
; 
3166 }    Py_INCREF(Py_None
); 
3167     _resultobj 
= Py_None
; 
3171 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0)  (_swigobj->SetInsertionPoint(_swigarg0)) 
3172 static PyObject 
*_wrap_wxComboBox_SetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3173     PyObject 
* _resultobj
; 
3176     PyObject 
* _argo0 
= 0; 
3177     char *_kwnames
[] = { "self","pos", NULL 
}; 
3180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))  
3183         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3184         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3185             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p."); 
3190     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3191     wxComboBox_SetInsertionPoint(_arg0
,_arg1
); 
3193     wxPyEndAllowThreads(__tstate
); 
3194     if (PyErr_Occurred()) return NULL
; 
3195 }    Py_INCREF(Py_None
); 
3196     _resultobj 
= Py_None
; 
3200 #define wxComboBox_SetInsertionPointEnd(_swigobj)  (_swigobj->SetInsertionPointEnd()) 
3201 static PyObject 
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3202     PyObject 
* _resultobj
; 
3204     PyObject 
* _argo0 
= 0; 
3205     char *_kwnames
[] = { "self", NULL 
}; 
3208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))  
3211         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3212         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3213             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p."); 
3218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3219     wxComboBox_SetInsertionPointEnd(_arg0
); 
3221     wxPyEndAllowThreads(__tstate
); 
3222     if (PyErr_Occurred()) return NULL
; 
3223 }    Py_INCREF(Py_None
); 
3224     _resultobj 
= Py_None
; 
3228 #define wxComboBox_SetSelection(_swigobj,_swigarg0)  (_swigobj->SetSelection(_swigarg0)) 
3229 static PyObject 
*_wrap_wxComboBox_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3230     PyObject 
* _resultobj
; 
3233     PyObject 
* _argo0 
= 0; 
3234     char *_kwnames
[] = { "self","n", NULL 
}; 
3237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))  
3240         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3241         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3242             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p."); 
3247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3248     wxComboBox_SetSelection(_arg0
,_arg1
); 
3250     wxPyEndAllowThreads(__tstate
); 
3251     if (PyErr_Occurred()) return NULL
; 
3252 }    Py_INCREF(Py_None
); 
3253     _resultobj 
= Py_None
; 
3257 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetSelection(_swigarg0,_swigarg1)) 
3258 static PyObject 
*_wrap_wxComboBox_SetMark(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3259     PyObject 
* _resultobj
; 
3263     PyObject 
* _argo0 
= 0; 
3264     char *_kwnames
[] = { "self","from","to", NULL 
}; 
3267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
3270         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3271         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3272             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p."); 
3277     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3278     wxComboBox_SetMark(_arg0
,_arg1
,_arg2
); 
3280     wxPyEndAllowThreads(__tstate
); 
3281     if (PyErr_Occurred()) return NULL
; 
3282 }    Py_INCREF(Py_None
); 
3283     _resultobj 
= Py_None
; 
3287 #define wxComboBox_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
3288 static PyObject 
*_wrap_wxComboBox_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3289     PyObject 
* _resultobj
; 
3292     PyObject 
* _argo0 
= 0; 
3293     PyObject 
* _obj1 
= 0; 
3294     char *_kwnames
[] = { "self","text", NULL 
}; 
3297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))  
3300         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3301         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3302             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p."); 
3307     _arg1 
= wxString_in_helper(_obj1
); 
3312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3313     wxComboBox_SetValue(_arg0
,*_arg1
); 
3315     wxPyEndAllowThreads(__tstate
); 
3316     if (PyErr_Occurred()) return NULL
; 
3317 }    Py_INCREF(Py_None
); 
3318     _resultobj 
= Py_None
; 
3326 #define wxComboBox_SetEditable(_swigobj,_swigarg0)  (_swigobj->SetEditable(_swigarg0)) 
3327 static PyObject 
*_wrap_wxComboBox_SetEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3328     PyObject 
* _resultobj
; 
3331     PyObject 
* _argo0 
= 0; 
3333     char *_kwnames
[] = { "self","editable", NULL 
}; 
3336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))  
3339         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3340         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3341             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p."); 
3345     _arg1 
= (bool ) tempbool1
; 
3347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3348     wxComboBox_SetEditable(_arg0
,_arg1
); 
3350     wxPyEndAllowThreads(__tstate
); 
3351     if (PyErr_Occurred()) return NULL
; 
3352 }    Py_INCREF(Py_None
); 
3353     _resultobj 
= Py_None
; 
3357 #define wxComboBox_Clear(_swigobj)  (_swigobj->Clear()) 
3358 static PyObject 
*_wrap_wxComboBox_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3359     PyObject 
* _resultobj
; 
3361     PyObject 
* _argo0 
= 0; 
3362     char *_kwnames
[] = { "self", NULL 
}; 
3365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))  
3368         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3369         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3370             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p."); 
3375     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3376     wxComboBox_Clear(_arg0
); 
3378     wxPyEndAllowThreads(__tstate
); 
3379     if (PyErr_Occurred()) return NULL
; 
3380 }    Py_INCREF(Py_None
); 
3381     _resultobj 
= Py_None
; 
3385 #define wxComboBox_Delete(_swigobj,_swigarg0)  (_swigobj->Delete(_swigarg0)) 
3386 static PyObject 
*_wrap_wxComboBox_Delete(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3387     PyObject 
* _resultobj
; 
3390     PyObject 
* _argo0 
= 0; 
3391     char *_kwnames
[] = { "self","n", NULL 
}; 
3394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))  
3397         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3398         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3399             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p."); 
3404     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3405     wxComboBox_Delete(_arg0
,_arg1
); 
3407     wxPyEndAllowThreads(__tstate
); 
3408     if (PyErr_Occurred()) return NULL
; 
3409 }    Py_INCREF(Py_None
); 
3410     _resultobj 
= Py_None
; 
3414 #define wxComboBox_GetCount(_swigobj)  (_swigobj->GetCount()) 
3415 static PyObject 
*_wrap_wxComboBox_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3416     PyObject 
* _resultobj
; 
3419     PyObject 
* _argo0 
= 0; 
3420     char *_kwnames
[] = { "self", NULL 
}; 
3423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))  
3426         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3427         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3428             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p."); 
3433     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3434     _result 
= (int )wxComboBox_GetCount(_arg0
); 
3436     wxPyEndAllowThreads(__tstate
); 
3437     if (PyErr_Occurred()) return NULL
; 
3438 }    _resultobj 
= Py_BuildValue("i",_result
); 
3442 #define wxComboBox_GetString(_swigobj,_swigarg0)  (_swigobj->GetString(_swigarg0)) 
3443 static PyObject 
*_wrap_wxComboBox_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3444     PyObject 
* _resultobj
; 
3448     PyObject 
* _argo0 
= 0; 
3449     char *_kwnames
[] = { "self","n", NULL 
}; 
3452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))  
3455         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3456         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3457             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p."); 
3462     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3463     _result 
= new wxString (wxComboBox_GetString(_arg0
,_arg1
)); 
3465     wxPyEndAllowThreads(__tstate
); 
3466     if (PyErr_Occurred()) return NULL
; 
3469     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3471     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3480 #define wxComboBox_FindString(_swigobj,_swigarg0)  (_swigobj->FindString(_swigarg0)) 
3481 static PyObject 
*_wrap_wxComboBox_FindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3482     PyObject 
* _resultobj
; 
3486     PyObject 
* _argo0 
= 0; 
3487     PyObject 
* _obj1 
= 0; 
3488     char *_kwnames
[] = { "self","s", NULL 
}; 
3491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))  
3494         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3495         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3496             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p."); 
3501     _arg1 
= wxString_in_helper(_obj1
); 
3506     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3507     _result 
= (int )wxComboBox_FindString(_arg0
,*_arg1
); 
3509     wxPyEndAllowThreads(__tstate
); 
3510     if (PyErr_Occurred()) return NULL
; 
3511 }    _resultobj 
= Py_BuildValue("i",_result
); 
3519 #define wxComboBox_GetSelection(_swigobj)  (_swigobj->GetSelection()) 
3520 static PyObject 
*_wrap_wxComboBox_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3521     PyObject 
* _resultobj
; 
3524     PyObject 
* _argo0 
= 0; 
3525     char *_kwnames
[] = { "self", NULL 
}; 
3528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))  
3531         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3532         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3533             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p."); 
3538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3539     _result 
= (int )wxComboBox_GetSelection(_arg0
); 
3541     wxPyEndAllowThreads(__tstate
); 
3542     if (PyErr_Occurred()) return NULL
; 
3543 }    _resultobj 
= Py_BuildValue("i",_result
); 
3547 #define wxComboBox_GetStringSelection(_swigobj)  (_swigobj->GetStringSelection()) 
3548 static PyObject 
*_wrap_wxComboBox_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3549     PyObject 
* _resultobj
; 
3552     PyObject 
* _argo0 
= 0; 
3553     char *_kwnames
[] = { "self", NULL 
}; 
3556     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))  
3559         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3560         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3561             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p."); 
3566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3567     _result 
= new wxString (wxComboBox_GetStringSelection(_arg0
)); 
3569     wxPyEndAllowThreads(__tstate
); 
3570     if (PyErr_Occurred()) return NULL
; 
3573     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3575     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3584 static void  wxComboBox_Append(wxComboBox 
*self
,const wxString 
& item
,PyObject 
* clientData
) { 
3586                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
3587                 self
->Append(item
, data
); 
3591 static PyObject 
*_wrap_wxComboBox_Append(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3592     PyObject 
* _resultobj
; 
3595     PyObject 
* _arg2 
= (PyObject 
*) NULL
; 
3596     PyObject 
* _argo0 
= 0; 
3597     PyObject 
* _obj1 
= 0; 
3598     PyObject 
* _obj2 
= 0; 
3599     char *_kwnames
[] = { "self","item","clientData", NULL 
}; 
3602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))  
3605         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3606         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3607             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p."); 
3612     _arg1 
= wxString_in_helper(_obj1
); 
3621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3622     wxComboBox_Append(_arg0
,*_arg1
,_arg2
); 
3624     wxPyEndAllowThreads(__tstate
); 
3625     if (PyErr_Occurred()) return NULL
; 
3626 }    Py_INCREF(Py_None
); 
3627     _resultobj 
= Py_None
; 
3635 static PyObject 
* wxComboBox_GetClientData(wxComboBox 
*self
,int  n
) { 
3636             wxPyClientData
* data 
= (wxPyClientData
*)self
->GetClientObject(n
); 
3638                 Py_INCREF(data
->m_obj
); 
3645 static PyObject 
*_wrap_wxComboBox_GetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3646     PyObject 
* _resultobj
; 
3650     PyObject 
* _argo0 
= 0; 
3651     char *_kwnames
[] = { "self","n", NULL 
}; 
3654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))  
3657         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3658         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3659             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p."); 
3664     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3665     _result 
= (PyObject 
*)wxComboBox_GetClientData(_arg0
,_arg1
); 
3667     wxPyEndAllowThreads(__tstate
); 
3668     if (PyErr_Occurred()) return NULL
; 
3670   _resultobj 
= _result
; 
3675 static void  wxComboBox_SetClientData(wxComboBox 
*self
,int  n
,PyObject 
* clientData
) { 
3676             wxPyClientData
* data 
= new wxPyClientData(clientData
); 
3677             self
->SetClientObject(n
, data
); 
3679 static PyObject 
*_wrap_wxComboBox_SetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3680     PyObject 
* _resultobj
; 
3684     PyObject 
* _argo0 
= 0; 
3685     PyObject 
* _obj2 
= 0; 
3686     char *_kwnames
[] = { "self","n","clientData", NULL 
}; 
3689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
3692         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3693         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) { 
3694             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p."); 
3702     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3703     wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
); 
3705     wxPyEndAllowThreads(__tstate
); 
3706     if (PyErr_Occurred()) return NULL
; 
3707 }    Py_INCREF(Py_None
); 
3708     _resultobj 
= Py_None
; 
3712 static void *SwigwxGaugeTowxControl(void *ptr
) { 
3715     src 
= (wxGauge 
*) ptr
; 
3716     dest 
= (wxControl 
*) src
; 
3717     return (void *) dest
; 
3720 static void *SwigwxGaugeTowxWindow(void *ptr
) { 
3723     src 
= (wxGauge 
*) ptr
; 
3724     dest 
= (wxWindow 
*) src
; 
3725     return (void *) dest
; 
3728 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) { 
3731     src 
= (wxGauge 
*) ptr
; 
3732     dest 
= (wxEvtHandler 
*) src
; 
3733     return (void *) dest
; 
3736 static void *SwigwxGaugeTowxObject(void *ptr
) { 
3739     src 
= (wxGauge 
*) ptr
; 
3740     dest 
= (wxObject 
*) src
; 
3741     return (void *) dest
; 
3744 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
3745 static PyObject 
*_wrap_new_wxGauge(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3746     PyObject 
* _resultobj
; 
3751     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
3752     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
3753     long  _arg5 
= (long ) wxGA_HORIZONTAL
; 
3754     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
3755     wxString 
* _arg7 
= (wxString 
*) &wxPyGaugeNameStr
; 
3756     PyObject 
* _argo0 
= 0; 
3758     PyObject 
* _obj3 
= 0; 
3760     PyObject 
* _obj4 
= 0; 
3761     PyObject 
* _argo6 
= 0; 
3762     PyObject 
* _obj7 
= 0; 
3763     char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL 
}; 
3767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
3770         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3771         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
3772             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p."); 
3779     if (! wxPoint_helper(_obj3
, &_arg3
)) 
3785     if (! wxSize_helper(_obj4
, &_arg4
)) 
3789         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
3790             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p."); 
3796     _arg7 
= wxString_in_helper(_obj7
); 
3801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3802     _result 
= (wxGauge 
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
3804     wxPyEndAllowThreads(__tstate
); 
3805     if (PyErr_Occurred()) return NULL
; 
3807         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p"); 
3808         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3811         _resultobj 
= Py_None
; 
3820 #define new_wxPreGauge() (new wxGauge()) 
3821 static PyObject 
*_wrap_new_wxPreGauge(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3822     PyObject 
* _resultobj
; 
3824     char *_kwnames
[] = {  NULL 
}; 
3828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))  
3831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3832     _result 
= (wxGauge 
*)new_wxPreGauge(); 
3834     wxPyEndAllowThreads(__tstate
); 
3835     if (PyErr_Occurred()) return NULL
; 
3837         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p"); 
3838         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3841         _resultobj 
= Py_None
; 
3846 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
3847 static PyObject 
*_wrap_wxGauge_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3848     PyObject 
* _resultobj
; 
3854     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
3855     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
3856     long  _arg6 
= (long ) wxGA_HORIZONTAL
; 
3857     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
3858     wxString 
* _arg8 
= (wxString 
*) &wxPyGaugeNameStr
; 
3859     PyObject 
* _argo0 
= 0; 
3860     PyObject 
* _argo1 
= 0; 
3862     PyObject 
* _obj4 
= 0; 
3864     PyObject 
* _obj5 
= 0; 
3865     PyObject 
* _argo7 
= 0; 
3866     PyObject 
* _obj8 
= 0; 
3867     char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL 
}; 
3870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
3873         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3874         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
3875             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p."); 
3880         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3881         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3882             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p."); 
3889     if (! wxPoint_helper(_obj4
, &_arg4
)) 
3895     if (! wxSize_helper(_obj5
, &_arg5
)) 
3899         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
3900             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p."); 
3906     _arg8 
= wxString_in_helper(_obj8
); 
3911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3912     _result 
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
3914     wxPyEndAllowThreads(__tstate
); 
3915     if (PyErr_Occurred()) return NULL
; 
3916 }    _resultobj 
= Py_BuildValue("i",_result
); 
3924 #define wxGauge_GetBezelFace(_swigobj)  (_swigobj->GetBezelFace()) 
3925 static PyObject 
*_wrap_wxGauge_GetBezelFace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3926     PyObject 
* _resultobj
; 
3929     PyObject 
* _argo0 
= 0; 
3930     char *_kwnames
[] = { "self", NULL 
}; 
3933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))  
3936         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3937         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
3938             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p."); 
3943     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3944     _result 
= (int )wxGauge_GetBezelFace(_arg0
); 
3946     wxPyEndAllowThreads(__tstate
); 
3947     if (PyErr_Occurred()) return NULL
; 
3948 }    _resultobj 
= Py_BuildValue("i",_result
); 
3952 #define wxGauge_GetRange(_swigobj)  (_swigobj->GetRange()) 
3953 static PyObject 
*_wrap_wxGauge_GetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3954     PyObject 
* _resultobj
; 
3957     PyObject 
* _argo0 
= 0; 
3958     char *_kwnames
[] = { "self", NULL 
}; 
3961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))  
3964         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3965         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
3966             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p."); 
3971     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3972     _result 
= (int )wxGauge_GetRange(_arg0
); 
3974     wxPyEndAllowThreads(__tstate
); 
3975     if (PyErr_Occurred()) return NULL
; 
3976 }    _resultobj 
= Py_BuildValue("i",_result
); 
3980 #define wxGauge_GetShadowWidth(_swigobj)  (_swigobj->GetShadowWidth()) 
3981 static PyObject 
*_wrap_wxGauge_GetShadowWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3982     PyObject 
* _resultobj
; 
3985     PyObject 
* _argo0 
= 0; 
3986     char *_kwnames
[] = { "self", NULL 
}; 
3989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))  
3992         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3993         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
3994             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p."); 
3999     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4000     _result 
= (int )wxGauge_GetShadowWidth(_arg0
); 
4002     wxPyEndAllowThreads(__tstate
); 
4003     if (PyErr_Occurred()) return NULL
; 
4004 }    _resultobj 
= Py_BuildValue("i",_result
); 
4008 #define wxGauge_GetValue(_swigobj)  (_swigobj->GetValue()) 
4009 static PyObject 
*_wrap_wxGauge_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4010     PyObject 
* _resultobj
; 
4013     PyObject 
* _argo0 
= 0; 
4014     char *_kwnames
[] = { "self", NULL 
}; 
4017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))  
4020         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4021         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
4022             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p."); 
4027     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4028     _result 
= (int )wxGauge_GetValue(_arg0
); 
4030     wxPyEndAllowThreads(__tstate
); 
4031     if (PyErr_Occurred()) return NULL
; 
4032 }    _resultobj 
= Py_BuildValue("i",_result
); 
4036 #define wxGauge_SetBezelFace(_swigobj,_swigarg0)  (_swigobj->SetBezelFace(_swigarg0)) 
4037 static PyObject 
*_wrap_wxGauge_SetBezelFace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4038     PyObject 
* _resultobj
; 
4041     PyObject 
* _argo0 
= 0; 
4042     char *_kwnames
[] = { "self","width", NULL 
}; 
4045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))  
4048         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4049         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
4050             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p."); 
4055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4056     wxGauge_SetBezelFace(_arg0
,_arg1
); 
4058     wxPyEndAllowThreads(__tstate
); 
4059     if (PyErr_Occurred()) return NULL
; 
4060 }    Py_INCREF(Py_None
); 
4061     _resultobj 
= Py_None
; 
4065 #define wxGauge_SetRange(_swigobj,_swigarg0)  (_swigobj->SetRange(_swigarg0)) 
4066 static PyObject 
*_wrap_wxGauge_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4067     PyObject 
* _resultobj
; 
4070     PyObject 
* _argo0 
= 0; 
4071     char *_kwnames
[] = { "self","range", NULL 
}; 
4074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))  
4077         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4078         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
4079             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p."); 
4084     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4085     wxGauge_SetRange(_arg0
,_arg1
); 
4087     wxPyEndAllowThreads(__tstate
); 
4088     if (PyErr_Occurred()) return NULL
; 
4089 }    Py_INCREF(Py_None
); 
4090     _resultobj 
= Py_None
; 
4094 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0)  (_swigobj->SetShadowWidth(_swigarg0)) 
4095 static PyObject 
*_wrap_wxGauge_SetShadowWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4096     PyObject 
* _resultobj
; 
4099     PyObject 
* _argo0 
= 0; 
4100     char *_kwnames
[] = { "self","width", NULL 
}; 
4103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))  
4106         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4107         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
4108             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p."); 
4113     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4114     wxGauge_SetShadowWidth(_arg0
,_arg1
); 
4116     wxPyEndAllowThreads(__tstate
); 
4117     if (PyErr_Occurred()) return NULL
; 
4118 }    Py_INCREF(Py_None
); 
4119     _resultobj 
= Py_None
; 
4123 #define wxGauge_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
4124 static PyObject 
*_wrap_wxGauge_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4125     PyObject 
* _resultobj
; 
4128     PyObject 
* _argo0 
= 0; 
4129     char *_kwnames
[] = { "self","pos", NULL 
}; 
4132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))  
4135         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4136         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) { 
4137             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p."); 
4142     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4143     wxGauge_SetValue(_arg0
,_arg1
); 
4145     wxPyEndAllowThreads(__tstate
); 
4146     if (PyErr_Occurred()) return NULL
; 
4147 }    Py_INCREF(Py_None
); 
4148     _resultobj 
= Py_None
; 
4152 static void *SwigwxStaticBoxTowxControl(void *ptr
) { 
4155     src 
= (wxStaticBox 
*) ptr
; 
4156     dest 
= (wxControl 
*) src
; 
4157     return (void *) dest
; 
4160 static void *SwigwxStaticBoxTowxWindow(void *ptr
) { 
4163     src 
= (wxStaticBox 
*) ptr
; 
4164     dest 
= (wxWindow 
*) src
; 
4165     return (void *) dest
; 
4168 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) { 
4171     src 
= (wxStaticBox 
*) ptr
; 
4172     dest 
= (wxEvtHandler 
*) src
; 
4173     return (void *) dest
; 
4176 static void *SwigwxStaticBoxTowxObject(void *ptr
) { 
4179     src 
= (wxStaticBox 
*) ptr
; 
4180     dest 
= (wxObject 
*) src
; 
4181     return (void *) dest
; 
4184 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
4185 static PyObject 
*_wrap_new_wxStaticBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4186     PyObject 
* _resultobj
; 
4187     wxStaticBox 
* _result
; 
4191     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
4192     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
4193     long  _arg5 
= (long ) 0; 
4194     wxString 
* _arg6 
= (wxString 
*) &wxPyStaticBoxNameStr
; 
4195     PyObject 
* _argo0 
= 0; 
4196     PyObject 
* _obj2 
= 0; 
4198     PyObject 
* _obj3 
= 0; 
4200     PyObject 
* _obj4 
= 0; 
4201     PyObject 
* _obj6 
= 0; 
4202     char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL 
}; 
4206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
4209         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4210         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
4211             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p."); 
4216     _arg2 
= wxString_in_helper(_obj2
); 
4223     if (! wxPoint_helper(_obj3
, &_arg3
)) 
4229     if (! wxSize_helper(_obj4
, &_arg4
)) 
4234     _arg6 
= wxString_in_helper(_obj6
); 
4239     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4240     _result 
= (wxStaticBox 
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
4242     wxPyEndAllowThreads(__tstate
); 
4243     if (PyErr_Occurred()) return NULL
; 
4245         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p"); 
4246         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4249         _resultobj 
= Py_None
; 
4262 #define new_wxPreStaticBox() (new wxStaticBox()) 
4263 static PyObject 
*_wrap_new_wxPreStaticBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4264     PyObject 
* _resultobj
; 
4265     wxStaticBox 
* _result
; 
4266     char *_kwnames
[] = {  NULL 
}; 
4270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))  
4273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4274     _result 
= (wxStaticBox 
*)new_wxPreStaticBox(); 
4276     wxPyEndAllowThreads(__tstate
); 
4277     if (PyErr_Occurred()) return NULL
; 
4279         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p"); 
4280         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4283         _resultobj 
= Py_None
; 
4288 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
4289 static PyObject 
*_wrap_wxStaticBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4290     PyObject 
* _resultobj
; 
4292     wxStaticBox 
* _arg0
; 
4296     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
4297     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
4298     long  _arg6 
= (long ) 0; 
4299     wxString 
* _arg7 
= (wxString 
*) &wxPyStaticBoxNameStr
; 
4300     PyObject 
* _argo0 
= 0; 
4301     PyObject 
* _argo1 
= 0; 
4302     PyObject 
* _obj3 
= 0; 
4304     PyObject 
* _obj4 
= 0; 
4306     PyObject 
* _obj5 
= 0; 
4307     PyObject 
* _obj7 
= 0; 
4308     char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL 
}; 
4311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))  
4314         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4315         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) { 
4316             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p."); 
4321         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
4322         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
4323             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p."); 
4328     _arg3 
= wxString_in_helper(_obj3
); 
4335     if (! wxPoint_helper(_obj4
, &_arg4
)) 
4341     if (! wxSize_helper(_obj5
, &_arg5
)) 
4346     _arg7 
= wxString_in_helper(_obj7
); 
4351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4352     _result 
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
); 
4354     wxPyEndAllowThreads(__tstate
); 
4355     if (PyErr_Occurred()) return NULL
; 
4356 }    _resultobj 
= Py_BuildValue("i",_result
); 
4368 static void *SwigwxStaticLineTowxControl(void *ptr
) { 
4371     src 
= (wxStaticLine 
*) ptr
; 
4372     dest 
= (wxControl 
*) src
; 
4373     return (void *) dest
; 
4376 static void *SwigwxStaticLineTowxWindow(void *ptr
) { 
4379     src 
= (wxStaticLine 
*) ptr
; 
4380     dest 
= (wxWindow 
*) src
; 
4381     return (void *) dest
; 
4384 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) { 
4387     src 
= (wxStaticLine 
*) ptr
; 
4388     dest 
= (wxEvtHandler 
*) src
; 
4389     return (void *) dest
; 
4392 static void *SwigwxStaticLineTowxObject(void *ptr
) { 
4395     src 
= (wxStaticLine 
*) ptr
; 
4396     dest 
= (wxObject 
*) src
; 
4397     return (void *) dest
; 
4400 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
4401 static PyObject 
*_wrap_new_wxStaticLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4402     PyObject 
* _resultobj
; 
4403     wxStaticLine 
* _result
; 
4406     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
4407     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
4408     long  _arg4 
= (long ) wxLI_HORIZONTAL
; 
4409     wxString 
* _arg5 
= (wxString 
*) &wxPyStaticTextNameStr
; 
4410     PyObject 
* _argo0 
= 0; 
4412     PyObject 
* _obj2 
= 0; 
4414     PyObject 
* _obj3 
= 0; 
4415     PyObject 
* _obj5 
= 0; 
4416     char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL 
}; 
4420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))  
4423         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4424         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
4425             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p."); 
4432     if (! wxPoint_helper(_obj2
, &_arg2
)) 
4438     if (! wxSize_helper(_obj3
, &_arg3
)) 
4443     _arg5 
= wxString_in_helper(_obj5
); 
4448     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4449     _result 
= (wxStaticLine 
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
); 
4451     wxPyEndAllowThreads(__tstate
); 
4452     if (PyErr_Occurred()) return NULL
; 
4454         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p"); 
4455         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4458         _resultobj 
= Py_None
; 
4467 #define new_wxPreStaticLine() (new wxStaticLine()) 
4468 static PyObject 
*_wrap_new_wxPreStaticLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4469     PyObject 
* _resultobj
; 
4470     wxStaticLine 
* _result
; 
4471     char *_kwnames
[] = {  NULL 
}; 
4475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))  
4478     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4479     _result 
= (wxStaticLine 
*)new_wxPreStaticLine(); 
4481     wxPyEndAllowThreads(__tstate
); 
4482     if (PyErr_Occurred()) return NULL
; 
4484         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p"); 
4485         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4488         _resultobj 
= Py_None
; 
4493 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
4494 static PyObject 
*_wrap_wxStaticLine_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4495     PyObject 
* _resultobj
; 
4497     wxStaticLine 
* _arg0
; 
4500     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
4501     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
4502     long  _arg5 
= (long ) wxLI_HORIZONTAL
; 
4503     wxString 
* _arg6 
= (wxString 
*) &wxPyStaticTextNameStr
; 
4504     PyObject 
* _argo0 
= 0; 
4505     PyObject 
* _argo1 
= 0; 
4507     PyObject 
* _obj3 
= 0; 
4509     PyObject 
* _obj4 
= 0; 
4510     PyObject 
* _obj6 
= 0; 
4511     char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL 
}; 
4514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
4517         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4518         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) { 
4519             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p."); 
4524         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
4525         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
4526             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p."); 
4533     if (! wxPoint_helper(_obj3
, &_arg3
)) 
4539     if (! wxSize_helper(_obj4
, &_arg4
)) 
4544     _arg6 
= wxString_in_helper(_obj6
); 
4549     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4550     _result 
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
4552     wxPyEndAllowThreads(__tstate
); 
4553     if (PyErr_Occurred()) return NULL
; 
4554 }    _resultobj 
= Py_BuildValue("i",_result
); 
4562 static void *SwigwxStaticTextTowxControl(void *ptr
) { 
4565     src 
= (wxStaticText 
*) ptr
; 
4566     dest 
= (wxControl 
*) src
; 
4567     return (void *) dest
; 
4570 static void *SwigwxStaticTextTowxWindow(void *ptr
) { 
4573     src 
= (wxStaticText 
*) ptr
; 
4574     dest 
= (wxWindow 
*) src
; 
4575     return (void *) dest
; 
4578 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) { 
4581     src 
= (wxStaticText 
*) ptr
; 
4582     dest 
= (wxEvtHandler 
*) src
; 
4583     return (void *) dest
; 
4586 static void *SwigwxStaticTextTowxObject(void *ptr
) { 
4589     src 
= (wxStaticText 
*) ptr
; 
4590     dest 
= (wxObject 
*) src
; 
4591     return (void *) dest
; 
4594 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
4595 static PyObject 
*_wrap_new_wxStaticText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4596     PyObject 
* _resultobj
; 
4597     wxStaticText 
* _result
; 
4601     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
4602     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
4603     long  _arg5 
= (long ) 0; 
4604     wxString 
* _arg6 
= (wxString 
*) &wxPyStaticTextNameStr
; 
4605     PyObject 
* _argo0 
= 0; 
4606     PyObject 
* _obj2 
= 0; 
4608     PyObject 
* _obj3 
= 0; 
4610     PyObject 
* _obj4 
= 0; 
4611     PyObject 
* _obj6 
= 0; 
4612     char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL 
}; 
4616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
4619         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4620         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
4621             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p."); 
4626     _arg2 
= wxString_in_helper(_obj2
); 
4633     if (! wxPoint_helper(_obj3
, &_arg3
)) 
4639     if (! wxSize_helper(_obj4
, &_arg4
)) 
4644     _arg6 
= wxString_in_helper(_obj6
); 
4649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4650     _result 
= (wxStaticText 
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
4652     wxPyEndAllowThreads(__tstate
); 
4653     if (PyErr_Occurred()) return NULL
; 
4655         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p"); 
4656         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4659         _resultobj 
= Py_None
; 
4672 #define new_wxPreStaticText() (new wxStaticText()) 
4673 static PyObject 
*_wrap_new_wxPreStaticText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4674     PyObject 
* _resultobj
; 
4675     wxStaticText 
* _result
; 
4676     char *_kwnames
[] = {  NULL 
}; 
4680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))  
4683     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4684     _result 
= (wxStaticText 
*)new_wxPreStaticText(); 
4686     wxPyEndAllowThreads(__tstate
); 
4687     if (PyErr_Occurred()) return NULL
; 
4689         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p"); 
4690         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4693         _resultobj 
= Py_None
; 
4698 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
4699 static PyObject 
*_wrap_wxStaticText_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4700     PyObject 
* _resultobj
; 
4702     wxStaticText 
* _arg0
; 
4706     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
4707     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
4708     long  _arg6 
= (long ) 0; 
4709     wxString 
* _arg7 
= (wxString 
*) &wxPyStaticTextNameStr
; 
4710     PyObject 
* _argo0 
= 0; 
4711     PyObject 
* _argo1 
= 0; 
4712     PyObject 
* _obj3 
= 0; 
4714     PyObject 
* _obj4 
= 0; 
4716     PyObject 
* _obj5 
= 0; 
4717     PyObject 
* _obj7 
= 0; 
4718     char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL 
}; 
4721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))  
4724         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4725         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) { 
4726             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p."); 
4731         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
4732         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
4733             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p."); 
4738     _arg3 
= wxString_in_helper(_obj3
); 
4745     if (! wxPoint_helper(_obj4
, &_arg4
)) 
4751     if (! wxSize_helper(_obj5
, &_arg5
)) 
4756     _arg7 
= wxString_in_helper(_obj7
); 
4761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4762     _result 
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
); 
4764     wxPyEndAllowThreads(__tstate
); 
4765     if (PyErr_Occurred()) return NULL
; 
4766 }    _resultobj 
= Py_BuildValue("i",_result
); 
4778 #define wxStaticText_GetLabel(_swigobj)  (_swigobj->GetLabel()) 
4779 static PyObject 
*_wrap_wxStaticText_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4780     PyObject 
* _resultobj
; 
4782     wxStaticText 
* _arg0
; 
4783     PyObject 
* _argo0 
= 0; 
4784     char *_kwnames
[] = { "self", NULL 
}; 
4787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))  
4790         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4791         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) { 
4792             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p."); 
4797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4798     _result 
= new wxString (wxStaticText_GetLabel(_arg0
)); 
4800     wxPyEndAllowThreads(__tstate
); 
4801     if (PyErr_Occurred()) return NULL
; 
4804     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
4806     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
4815 #define wxStaticText_SetLabel(_swigobj,_swigarg0)  (_swigobj->SetLabel(_swigarg0)) 
4816 static PyObject 
*_wrap_wxStaticText_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4817     PyObject 
* _resultobj
; 
4818     wxStaticText 
* _arg0
; 
4820     PyObject 
* _argo0 
= 0; 
4821     PyObject 
* _obj1 
= 0; 
4822     char *_kwnames
[] = { "self","label", NULL 
}; 
4825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))  
4828         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4829         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) { 
4830             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p."); 
4835     _arg1 
= wxString_in_helper(_obj1
); 
4840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4841     wxStaticText_SetLabel(_arg0
,*_arg1
); 
4843     wxPyEndAllowThreads(__tstate
); 
4844     if (PyErr_Occurred()) return NULL
; 
4845 }    Py_INCREF(Py_None
); 
4846     _resultobj 
= Py_None
; 
4854 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) { 
4856     wxControlWithItems 
*dest
; 
4857     src 
= (wxListBox 
*) ptr
; 
4858     dest 
= (wxControlWithItems 
*) src
; 
4859     return (void *) dest
; 
4862 static void *SwigwxListBoxTowxControl(void *ptr
) { 
4865     src 
= (wxListBox 
*) ptr
; 
4866     dest 
= (wxControl 
*) src
; 
4867     return (void *) dest
; 
4870 static void *SwigwxListBoxTowxWindow(void *ptr
) { 
4873     src 
= (wxListBox 
*) ptr
; 
4874     dest 
= (wxWindow 
*) src
; 
4875     return (void *) dest
; 
4878 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) { 
4881     src 
= (wxListBox 
*) ptr
; 
4882     dest 
= (wxEvtHandler 
*) src
; 
4883     return (void *) dest
; 
4886 static void *SwigwxListBoxTowxObject(void *ptr
) { 
4889     src 
= (wxListBox 
*) ptr
; 
4890     dest 
= (wxObject 
*) src
; 
4891     return (void *) dest
; 
4894 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) 
4895 static PyObject 
*_wrap_new_wxListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4896     PyObject 
* _resultobj
; 
4897     wxListBox 
* _result
; 
4900     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
4901     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
4903     wxString 
* _arg5 
= (wxString 
*) NULL
; 
4904     long  _arg6 
= (long ) 0; 
4905     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
4906     wxString 
* _arg8 
= (wxString 
*) &wxPyListBoxNameStr
; 
4907     PyObject 
* _argo0 
= 0; 
4909     PyObject 
* _obj2 
= 0; 
4911     PyObject 
* _obj3 
= 0; 
4912     PyObject 
* _obj5 
= 0; 
4913     PyObject 
* _argo7 
= 0; 
4914     PyObject 
* _obj8 
= 0; 
4915     char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL 
}; 
4919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
4922         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4923         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
4924             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p."); 
4931     if (! wxPoint_helper(_obj2
, &_arg2
)) 
4937     if (! wxSize_helper(_obj3
, &_arg3
)) 
4942     _arg5 
= wxString_LIST_helper(_obj5
); 
4943     if (_arg5 
== NULL
) { 
4948         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
4949             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p."); 
4955     _arg8 
= wxString_in_helper(_obj8
); 
4961         _arg4 
= PyList_Size(_obj5
); 
4968     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4969     _result 
= (wxListBox 
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
); 
4971     wxPyEndAllowThreads(__tstate
); 
4972     if (PyErr_Occurred()) return NULL
; 
4974         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p"); 
4975         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4978         _resultobj 
= Py_None
; 
4990 #define new_wxPreListBox() (new wxListBox()) 
4991 static PyObject 
*_wrap_new_wxPreListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4992     PyObject 
* _resultobj
; 
4993     wxListBox 
* _result
; 
4994     char *_kwnames
[] = {  NULL 
}; 
4998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))  
5001     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5002     _result 
= (wxListBox 
*)new_wxPreListBox(); 
5004     wxPyEndAllowThreads(__tstate
); 
5005     if (PyErr_Occurred()) return NULL
; 
5007         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p"); 
5008         _resultobj 
= Py_BuildValue("s",_ptemp
); 
5011         _resultobj 
= Py_None
; 
5016 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) 
5017 static PyObject 
*_wrap_wxListBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5018     PyObject 
* _resultobj
; 
5023     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
5024     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
5026     wxString 
* _arg6 
= (wxString 
*) NULL
; 
5027     long  _arg7 
= (long ) 0; 
5028     wxValidator 
* _arg8 
= (wxValidator 
*) &wxDefaultValidator
; 
5029     wxString 
* _arg9 
= (wxString 
*) &wxPyListBoxNameStr
; 
5030     PyObject 
* _argo0 
= 0; 
5031     PyObject 
* _argo1 
= 0; 
5033     PyObject 
* _obj3 
= 0; 
5035     PyObject 
* _obj4 
= 0; 
5036     PyObject 
* _obj6 
= 0; 
5037     PyObject 
* _argo8 
= 0; 
5038     PyObject 
* _obj9 
= 0; 
5039     char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL 
}; 
5042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))  
5045         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5046         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5047             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p."); 
5052         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
5053         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
5054             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p."); 
5061     if (! wxPoint_helper(_obj3
, &_arg3
)) 
5067     if (! wxSize_helper(_obj4
, &_arg4
)) 
5072     _arg6 
= wxString_LIST_helper(_obj6
); 
5073     if (_arg6 
== NULL
) { 
5078         if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) { 
5079             PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p."); 
5085     _arg9 
= wxString_in_helper(_obj9
); 
5091         _arg5 
= PyList_Size(_obj6
); 
5098     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5099     _result 
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
); 
5101     wxPyEndAllowThreads(__tstate
); 
5102     if (PyErr_Occurred()) return NULL
; 
5103 }    _resultobj 
= Py_BuildValue("i",_result
); 
5114 #define wxListBox_Clear(_swigobj)  (_swigobj->Clear()) 
5115 static PyObject 
*_wrap_wxListBox_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5116     PyObject 
* _resultobj
; 
5118     PyObject 
* _argo0 
= 0; 
5119     char *_kwnames
[] = { "self", NULL 
}; 
5122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))  
5125         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5126         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5127             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p."); 
5132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5133     wxListBox_Clear(_arg0
); 
5135     wxPyEndAllowThreads(__tstate
); 
5136     if (PyErr_Occurred()) return NULL
; 
5137 }    Py_INCREF(Py_None
); 
5138     _resultobj 
= Py_None
; 
5142 #define wxListBox_Deselect(_swigobj,_swigarg0)  (_swigobj->Deselect(_swigarg0)) 
5143 static PyObject 
*_wrap_wxListBox_Deselect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5144     PyObject 
* _resultobj
; 
5147     PyObject 
* _argo0 
= 0; 
5148     char *_kwnames
[] = { "self","n", NULL 
}; 
5151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))  
5154         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5155         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5156             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p."); 
5161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5162     wxListBox_Deselect(_arg0
,_arg1
); 
5164     wxPyEndAllowThreads(__tstate
); 
5165     if (PyErr_Occurred()) return NULL
; 
5166 }    Py_INCREF(Py_None
); 
5167     _resultobj 
= Py_None
; 
5171 static PyObject 
* wxListBox_GetSelections(wxListBox 
*self
) { 
5173           self
->GetSelections(lst
); 
5174           PyObject 
*tup 
= PyTuple_New(lst
.GetCount()); 
5175           for(size_t i
=0; i
<lst
.GetCount(); i
++) { 
5176               PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
])); 
5180 static PyObject 
*_wrap_wxListBox_GetSelections(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5181     PyObject 
* _resultobj
; 
5184     PyObject 
* _argo0 
= 0; 
5185     char *_kwnames
[] = { "self", NULL 
}; 
5188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))  
5191         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5192         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5193             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p."); 
5198     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5199     _result 
= (PyObject 
*)wxListBox_GetSelections(_arg0
); 
5201     wxPyEndAllowThreads(__tstate
); 
5202     if (PyErr_Occurred()) return NULL
; 
5204   _resultobj 
= _result
; 
5209 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2)) 
5210 static PyObject 
*_wrap_wxListBox_InsertItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5211     PyObject 
* _resultobj
; 
5216     PyObject 
* _argo0 
= 0; 
5217     PyObject 
* _obj2 
= 0; 
5218     char *_kwnames
[] = { "self","choices","pos", NULL 
}; 
5221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))  
5224         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5225         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5226             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p."); 
5231     _arg2 
= wxString_LIST_helper(_obj2
); 
5232     if (_arg2 
== NULL
) { 
5238         _arg1 
= PyList_Size(_obj2
); 
5245     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5246     wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
); 
5248     wxPyEndAllowThreads(__tstate
); 
5249     if (PyErr_Occurred()) return NULL
; 
5250 }    Py_INCREF(Py_None
); 
5251     _resultobj 
= Py_None
; 
5258 #define wxListBox_IsSelected(_swigobj,_swigarg0)  (_swigobj->IsSelected(_swigarg0)) 
5259 static PyObject 
*_wrap_wxListBox_IsSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5260     PyObject 
* _resultobj
; 
5264     PyObject 
* _argo0 
= 0; 
5265     char *_kwnames
[] = { "self","n", NULL 
}; 
5268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))  
5271         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5272         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5273             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p."); 
5278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5279     _result 
= (bool )wxListBox_IsSelected(_arg0
,_arg1
); 
5281     wxPyEndAllowThreads(__tstate
); 
5282     if (PyErr_Occurred()) return NULL
; 
5283 }    _resultobj 
= Py_BuildValue("i",_result
); 
5287 #define wxListBox_Selected(_swigobj,_swigarg0)  (_swigobj->Selected(_swigarg0)) 
5288 static PyObject 
*_wrap_wxListBox_Selected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5289     PyObject 
* _resultobj
; 
5293     PyObject 
* _argo0 
= 0; 
5294     char *_kwnames
[] = { "self","n", NULL 
}; 
5297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))  
5300         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5301         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5302             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p."); 
5307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5308     _result 
= (bool )wxListBox_Selected(_arg0
,_arg1
); 
5310     wxPyEndAllowThreads(__tstate
); 
5311     if (PyErr_Occurred()) return NULL
; 
5312 }    _resultobj 
= Py_BuildValue("i",_result
); 
5316 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Set(_swigarg0,_swigarg1)) 
5317 static PyObject 
*_wrap_wxListBox_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5318     PyObject 
* _resultobj
; 
5322     PyObject 
* _argo0 
= 0; 
5323     PyObject 
* _obj2 
= 0; 
5324     char *_kwnames
[] = { "self","choices", NULL 
}; 
5327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))  
5330         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5331         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5332             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p."); 
5338     _arg2 
= wxString_LIST_helper(_obj2
); 
5339     if (_arg2 
== NULL
) { 
5345         _arg1 
= PyList_Size(_obj2
); 
5352     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5353     wxListBox_Set(_arg0
,_arg1
,_arg2
); 
5355     wxPyEndAllowThreads(__tstate
); 
5356     if (PyErr_Occurred()) return NULL
; 
5357 }    Py_INCREF(Py_None
); 
5358     _resultobj 
= Py_None
; 
5365 #define wxListBox_SetFirstItem(_swigobj,_swigarg0)  (_swigobj->SetFirstItem(_swigarg0)) 
5366 static PyObject 
*_wrap_wxListBox_SetFirstItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5367     PyObject 
* _resultobj
; 
5370     PyObject 
* _argo0 
= 0; 
5371     char *_kwnames
[] = { "self","n", NULL 
}; 
5374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))  
5377         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5378         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5379             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p."); 
5384     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5385     wxListBox_SetFirstItem(_arg0
,_arg1
); 
5387     wxPyEndAllowThreads(__tstate
); 
5388     if (PyErr_Occurred()) return NULL
; 
5389 }    Py_INCREF(Py_None
); 
5390     _resultobj 
= Py_None
; 
5394 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0)  (_swigobj->SetFirstItem(_swigarg0)) 
5395 static PyObject 
*_wrap_wxListBox_SetFirstItemStr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5396     PyObject 
* _resultobj
; 
5399     PyObject 
* _argo0 
= 0; 
5400     PyObject 
* _obj1 
= 0; 
5401     char *_kwnames
[] = { "self","string", NULL 
}; 
5404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))  
5407         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5408         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5409             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p."); 
5414     _arg1 
= wxString_in_helper(_obj1
); 
5419     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5420     wxListBox_SetFirstItemStr(_arg0
,*_arg1
); 
5422     wxPyEndAllowThreads(__tstate
); 
5423     if (PyErr_Occurred()) return NULL
; 
5424 }    Py_INCREF(Py_None
); 
5425     _resultobj 
= Py_None
; 
5433 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetSelection(_swigarg0,_swigarg1)) 
5434 static PyObject 
*_wrap_wxListBox_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5435     PyObject 
* _resultobj
; 
5438     bool  _arg2 
= (bool ) TRUE
; 
5439     PyObject 
* _argo0 
= 0; 
5440     int tempbool2 
= (int) TRUE
; 
5441     char *_kwnames
[] = { "self","n","select", NULL 
}; 
5444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
5447         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5448         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5449             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p."); 
5453     _arg2 
= (bool ) tempbool2
; 
5455     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5456     wxListBox_SetSelection(_arg0
,_arg1
,_arg2
); 
5458     wxPyEndAllowThreads(__tstate
); 
5459     if (PyErr_Occurred()) return NULL
; 
5460 }    Py_INCREF(Py_None
); 
5461     _resultobj 
= Py_None
; 
5465 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetString(_swigarg0,_swigarg1)) 
5466 static PyObject 
*_wrap_wxListBox_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5467     PyObject 
* _resultobj
; 
5471     PyObject 
* _argo0 
= 0; 
5472     PyObject 
* _obj2 
= 0; 
5473     char *_kwnames
[] = { "self","n","string", NULL 
}; 
5476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
5479         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5480         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5481             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p."); 
5486     _arg2 
= wxString_in_helper(_obj2
); 
5491     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5492     wxListBox_SetString(_arg0
,_arg1
,*_arg2
); 
5494     wxPyEndAllowThreads(__tstate
); 
5495     if (PyErr_Occurred()) return NULL
; 
5496 }    Py_INCREF(Py_None
); 
5497     _resultobj 
= Py_None
; 
5505 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetStringSelection(_swigarg0,_swigarg1)) 
5506 static PyObject 
*_wrap_wxListBox_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5507     PyObject 
* _resultobj
; 
5510     bool  _arg2 
= (bool ) TRUE
; 
5511     PyObject 
* _argo0 
= 0; 
5512     PyObject 
* _obj1 
= 0; 
5513     int tempbool2 
= (int) TRUE
; 
5514     char *_kwnames
[] = { "self","string","select", NULL 
}; 
5517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))  
5520         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5521         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) { 
5522             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p."); 
5527     _arg1 
= wxString_in_helper(_obj1
); 
5531     _arg2 
= (bool ) tempbool2
; 
5533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5534     wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
); 
5536     wxPyEndAllowThreads(__tstate
); 
5537     if (PyErr_Occurred()) return NULL
; 
5538 }    Py_INCREF(Py_None
); 
5539     _resultobj 
= Py_None
; 
5547 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) { 
5548     wxCheckListBox 
*src
; 
5550     src 
= (wxCheckListBox 
*) ptr
; 
5551     dest 
= (wxListBox 
*) src
; 
5552     return (void *) dest
; 
5555 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) { 
5556     wxCheckListBox 
*src
; 
5557     wxControlWithItems 
*dest
; 
5558     src 
= (wxCheckListBox 
*) ptr
; 
5559     dest 
= (wxControlWithItems 
*) src
; 
5560     return (void *) dest
; 
5563 static void *SwigwxCheckListBoxTowxControl(void *ptr
) { 
5564     wxCheckListBox 
*src
; 
5566     src 
= (wxCheckListBox 
*) ptr
; 
5567     dest 
= (wxControl 
*) src
; 
5568     return (void *) dest
; 
5571 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) { 
5572     wxCheckListBox 
*src
; 
5574     src 
= (wxCheckListBox 
*) ptr
; 
5575     dest 
= (wxWindow 
*) src
; 
5576     return (void *) dest
; 
5579 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) { 
5580     wxCheckListBox 
*src
; 
5582     src 
= (wxCheckListBox 
*) ptr
; 
5583     dest 
= (wxEvtHandler 
*) src
; 
5584     return (void *) dest
; 
5587 static void *SwigwxCheckListBoxTowxObject(void *ptr
) { 
5588     wxCheckListBox 
*src
; 
5590     src 
= (wxCheckListBox 
*) ptr
; 
5591     dest 
= (wxObject 
*) src
; 
5592     return (void *) dest
; 
5595 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) 
5596 static PyObject 
*_wrap_new_wxCheckListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5597     PyObject 
* _resultobj
; 
5598     wxCheckListBox 
* _result
; 
5601     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
5602     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
5603     int  _arg4 
= (int ) 0; 
5604     wxString 
* _arg5 
= (wxString 
*) NULL
; 
5605     long  _arg6 
= (long ) 0; 
5606     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
5607     wxString 
* _arg8 
= (wxString 
*) &wxPyListBoxNameStr
; 
5608     PyObject 
* _argo0 
= 0; 
5610     PyObject 
* _obj2 
= 0; 
5612     PyObject 
* _obj3 
= 0; 
5613     PyObject 
* _obj5 
= 0; 
5614     PyObject 
* _argo7 
= 0; 
5615     PyObject 
* _obj8 
= 0; 
5616     char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL 
}; 
5620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
5623         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5624         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
5625             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p."); 
5632     if (! wxPoint_helper(_obj2
, &_arg2
)) 
5638     if (! wxSize_helper(_obj3
, &_arg3
)) 
5643     _arg5 
= wxString_LIST_helper(_obj5
); 
5644     if (_arg5 
== NULL
) { 
5649         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
5650             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p."); 
5656     _arg8 
= wxString_in_helper(_obj8
); 
5662         _arg4 
= PyList_Size(_obj5
); 
5669     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5670     _result 
= (wxCheckListBox 
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
); 
5672     wxPyEndAllowThreads(__tstate
); 
5673     if (PyErr_Occurred()) return NULL
; 
5675         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p"); 
5676         _resultobj 
= Py_BuildValue("s",_ptemp
); 
5679         _resultobj 
= Py_None
; 
5691 #define new_wxPreCheckListBox() (new wxCheckListBox()) 
5692 static PyObject 
*_wrap_new_wxPreCheckListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5693     PyObject 
* _resultobj
; 
5694     wxCheckListBox 
* _result
; 
5695     char *_kwnames
[] = {  NULL 
}; 
5699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))  
5702     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5703     _result 
= (wxCheckListBox 
*)new_wxPreCheckListBox(); 
5705     wxPyEndAllowThreads(__tstate
); 
5706     if (PyErr_Occurred()) return NULL
; 
5708         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p"); 
5709         _resultobj 
= Py_BuildValue("s",_ptemp
); 
5712         _resultobj 
= Py_None
; 
5717 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) 
5718 static PyObject 
*_wrap_wxCheckListBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5719     PyObject 
* _resultobj
; 
5721     wxCheckListBox 
* _arg0
; 
5724     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
5725     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
5726     int  _arg5 
= (int ) 0; 
5727     wxString 
* _arg6 
= (wxString 
*) NULL
; 
5728     long  _arg7 
= (long ) 0; 
5729     wxValidator 
* _arg8 
= (wxValidator 
*) &wxDefaultValidator
; 
5730     wxString 
* _arg9 
= (wxString 
*) &wxPyListBoxNameStr
; 
5731     PyObject 
* _argo0 
= 0; 
5732     PyObject 
* _argo1 
= 0; 
5734     PyObject 
* _obj3 
= 0; 
5736     PyObject 
* _obj4 
= 0; 
5737     PyObject 
* _obj6 
= 0; 
5738     PyObject 
* _argo8 
= 0; 
5739     PyObject 
* _obj9 
= 0; 
5740     char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL 
}; 
5743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))  
5746         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5747         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
5748             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p."); 
5753         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
5754         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
5755             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p."); 
5762     if (! wxPoint_helper(_obj3
, &_arg3
)) 
5768     if (! wxSize_helper(_obj4
, &_arg4
)) 
5773     _arg6 
= wxString_LIST_helper(_obj6
); 
5774     if (_arg6 
== NULL
) { 
5779         if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) { 
5780             PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p."); 
5786     _arg9 
= wxString_in_helper(_obj9
); 
5792         _arg5 
= PyList_Size(_obj6
); 
5799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5800     _result 
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
); 
5802     wxPyEndAllowThreads(__tstate
); 
5803     if (PyErr_Occurred()) return NULL
; 
5804 }    _resultobj 
= Py_BuildValue("i",_result
); 
5815 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0)  (_swigobj->IsChecked(_swigarg0)) 
5816 static PyObject 
*_wrap_wxCheckListBox_IsChecked(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5817     PyObject 
* _resultobj
; 
5819     wxCheckListBox 
* _arg0
; 
5821     PyObject 
* _argo0 
= 0; 
5822     char *_kwnames
[] = { "self","uiIndex", NULL 
}; 
5825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))  
5828         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5829         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
5830             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p."); 
5835     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5836     _result 
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
); 
5838     wxPyEndAllowThreads(__tstate
); 
5839     if (PyErr_Occurred()) return NULL
; 
5840 }    _resultobj 
= Py_BuildValue("i",_result
); 
5844 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Check(_swigarg0,_swigarg1)) 
5845 static PyObject 
*_wrap_wxCheckListBox_Check(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5846     PyObject 
* _resultobj
; 
5847     wxCheckListBox 
* _arg0
; 
5849     int  _arg2 
= (int ) TRUE
; 
5850     PyObject 
* _argo0 
= 0; 
5851     char *_kwnames
[] = { "self","uiIndex","bCheck", NULL 
}; 
5854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
5857         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5858         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
5859             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p."); 
5864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5865     wxCheckListBox_Check(_arg0
,_arg1
,_arg2
); 
5867     wxPyEndAllowThreads(__tstate
); 
5868     if (PyErr_Occurred()) return NULL
; 
5869 }    Py_INCREF(Py_None
); 
5870     _resultobj 
= Py_None
; 
5874 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2)) 
5875 static PyObject 
*_wrap_wxCheckListBox_InsertItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5876     PyObject 
* _resultobj
; 
5877     wxCheckListBox 
* _arg0
; 
5881     PyObject 
* _argo0 
= 0; 
5882     PyObject 
* _obj2 
= 0; 
5883     char *_kwnames
[] = { "self","choices","pos", NULL 
}; 
5886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))  
5889         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5890         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
5891             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p."); 
5896     _arg2 
= wxString_LIST_helper(_obj2
); 
5897     if (_arg2 
== NULL
) { 
5903         _arg1 
= PyList_Size(_obj2
); 
5910     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5911     wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
); 
5913     wxPyEndAllowThreads(__tstate
); 
5914     if (PyErr_Occurred()) return NULL
; 
5915 }    Py_INCREF(Py_None
); 
5916     _resultobj 
= Py_None
; 
5923 #define wxCheckListBox_GetItemHeight(_swigobj)  (_swigobj->GetItemHeight()) 
5924 static PyObject 
*_wrap_wxCheckListBox_GetItemHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5925     PyObject 
* _resultobj
; 
5927     wxCheckListBox 
* _arg0
; 
5928     PyObject 
* _argo0 
= 0; 
5929     char *_kwnames
[] = { "self", NULL 
}; 
5932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))  
5935         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5936         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
5937             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p."); 
5942     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5943     _result 
= (int )wxCheckListBox_GetItemHeight(_arg0
); 
5945     wxPyEndAllowThreads(__tstate
); 
5946     if (PyErr_Occurred()) return NULL
; 
5947 }    _resultobj 
= Py_BuildValue("i",_result
); 
5951 #define wxCheckListBox_HitTest(_swigobj,_swigarg0)  (_swigobj->HitTest(_swigarg0)) 
5952 static PyObject 
*_wrap_wxCheckListBox_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5953     PyObject 
* _resultobj
; 
5955     wxCheckListBox 
* _arg0
; 
5957     PyObject 
* _argo0 
= 0; 
5959     PyObject 
* _obj1 
= 0; 
5960     char *_kwnames
[] = { "self","pt", NULL 
}; 
5963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCheckListBox_HitTest",_kwnames
,&_argo0
,&_obj1
))  
5966         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
5967         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
5968             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p."); 
5974     if (! wxPoint_helper(_obj1
, &_arg1
)) 
5978     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5979     _result 
= (int )wxCheckListBox_HitTest(_arg0
,*_arg1
); 
5981     wxPyEndAllowThreads(__tstate
); 
5982     if (PyErr_Occurred()) return NULL
; 
5983 }    _resultobj 
= Py_BuildValue("i",_result
); 
5987 #define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1)  (_swigobj->HitTest(_swigarg0,_swigarg1)) 
5988 static PyObject 
*_wrap_wxCheckListBox_HitTestXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5989     PyObject 
* _resultobj
; 
5991     wxCheckListBox 
* _arg0
; 
5994     PyObject 
* _argo0 
= 0; 
5995     char *_kwnames
[] = { "self","x","y", NULL 
}; 
5998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCheckListBox_HitTestXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
6001         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6002         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) { 
6003             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p."); 
6008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6009     _result 
= (int )wxCheckListBox_HitTestXY(_arg0
,_arg1
,_arg2
); 
6011     wxPyEndAllowThreads(__tstate
); 
6012     if (PyErr_Occurred()) return NULL
; 
6013 }    _resultobj 
= Py_BuildValue("i",_result
); 
6017 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
6018 static PyObject 
*_wrap_new_wxTextAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6019     PyObject 
* _resultobj
; 
6020     wxTextAttr 
* _result
; 
6021     wxColour 
* _arg0 
= (wxColour 
*) &wxNullColour
; 
6022     wxColour 
* _arg1 
= (wxColour 
*) &wxNullColour
; 
6023     wxFont 
* _arg2 
= (wxFont 
*) &wxNullFont
; 
6024     wxTextAttrAlignment  _arg3 
= (wxTextAttrAlignment 
) (wxTEXT_ALIGNMENT_DEFAULT
); 
6026     PyObject 
* _obj0 
= 0; 
6028     PyObject 
* _obj1 
= 0; 
6029     PyObject 
* _argo2 
= 0; 
6030     char *_kwnames
[] = { "colText","colBack","font","alignment", NULL 
}; 
6034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOi:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
,&_arg3
))  
6039     if (! wxColour_helper(_obj0
, &_arg0
)) 
6045     if (! wxColour_helper(_obj1
, &_arg1
)) 
6049         if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) { 
6050             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p."); 
6055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6056     _result 
= (wxTextAttr 
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
,_arg3
); 
6058     wxPyEndAllowThreads(__tstate
); 
6059     if (PyErr_Occurred()) return NULL
; 
6061         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p"); 
6062         _resultobj 
= Py_BuildValue("s",_ptemp
); 
6065         _resultobj 
= Py_None
; 
6070 #define delete_wxTextAttr(_swigobj) (delete _swigobj) 
6071 static PyObject 
*_wrap_delete_wxTextAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6072     PyObject 
* _resultobj
; 
6074     PyObject 
* _argo0 
= 0; 
6075     char *_kwnames
[] = { "self", NULL 
}; 
6078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))  
6081         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6082         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6083             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p."); 
6088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6089     delete_wxTextAttr(_arg0
); 
6091     wxPyEndAllowThreads(__tstate
); 
6092     if (PyErr_Occurred()) return NULL
; 
6093 }    Py_INCREF(Py_None
); 
6094     _resultobj 
= Py_None
; 
6098 #define wxTextAttr_Init(_swigobj)  (_swigobj->Init()) 
6099 static PyObject 
*_wrap_wxTextAttr_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6100     PyObject 
* _resultobj
; 
6102     PyObject 
* _argo0 
= 0; 
6103     char *_kwnames
[] = { "self", NULL 
}; 
6106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_Init",_kwnames
,&_argo0
))  
6109         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6110         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6111             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p."); 
6116     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6117     wxTextAttr_Init(_arg0
); 
6119     wxPyEndAllowThreads(__tstate
); 
6120     if (PyErr_Occurred()) return NULL
; 
6121 }    Py_INCREF(Py_None
); 
6122     _resultobj 
= Py_None
; 
6126 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0)  (_swigobj->SetTextColour(_swigarg0)) 
6127 static PyObject 
*_wrap_wxTextAttr_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6128     PyObject 
* _resultobj
; 
6131     PyObject 
* _argo0 
= 0; 
6133     PyObject 
* _obj1 
= 0; 
6134     char *_kwnames
[] = { "self","colText", NULL 
}; 
6137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))  
6140         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6141         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6142             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p."); 
6148     if (! wxColour_helper(_obj1
, &_arg1
)) 
6152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6153     wxTextAttr_SetTextColour(_arg0
,*_arg1
); 
6155     wxPyEndAllowThreads(__tstate
); 
6156     if (PyErr_Occurred()) return NULL
; 
6157 }    Py_INCREF(Py_None
); 
6158     _resultobj 
= Py_None
; 
6162 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0)  (_swigobj->SetBackgroundColour(_swigarg0)) 
6163 static PyObject 
*_wrap_wxTextAttr_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6164     PyObject 
* _resultobj
; 
6167     PyObject 
* _argo0 
= 0; 
6169     PyObject 
* _obj1 
= 0; 
6170     char *_kwnames
[] = { "self","colBack", NULL 
}; 
6173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))  
6176         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6177         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6178             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p."); 
6184     if (! wxColour_helper(_obj1
, &_arg1
)) 
6188     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6189     wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
); 
6191     wxPyEndAllowThreads(__tstate
); 
6192     if (PyErr_Occurred()) return NULL
; 
6193 }    Py_INCREF(Py_None
); 
6194     _resultobj 
= Py_None
; 
6198 #define wxTextAttr_SetFont(_swigobj,_swigarg0)  (_swigobj->SetFont(_swigarg0)) 
6199 static PyObject 
*_wrap_wxTextAttr_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6200     PyObject 
* _resultobj
; 
6203     PyObject 
* _argo0 
= 0; 
6204     PyObject 
* _argo1 
= 0; 
6205     char *_kwnames
[] = { "self","font", NULL 
}; 
6208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))  
6211         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6212         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6213             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p."); 
6218         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
6219             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p."); 
6224     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6225     wxTextAttr_SetFont(_arg0
,*_arg1
); 
6227     wxPyEndAllowThreads(__tstate
); 
6228     if (PyErr_Occurred()) return NULL
; 
6229 }    Py_INCREF(Py_None
); 
6230     _resultobj 
= Py_None
; 
6234 #define wxTextAttr_SetAlignment(_swigobj,_swigarg0)  (_swigobj->SetAlignment(_swigarg0)) 
6235 static PyObject 
*_wrap_wxTextAttr_SetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6236     PyObject 
* _resultobj
; 
6238     wxTextAttrAlignment  _arg1
; 
6239     PyObject 
* _argo0 
= 0; 
6240     char *_kwnames
[] = { "self","alignment", NULL 
}; 
6243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
))  
6246         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6247         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6248             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p."); 
6253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6254     wxTextAttr_SetAlignment(_arg0
,_arg1
); 
6256     wxPyEndAllowThreads(__tstate
); 
6257     if (PyErr_Occurred()) return NULL
; 
6258 }    Py_INCREF(Py_None
); 
6259     _resultobj 
= Py_None
; 
6263 #define wxTextAttr_SetTabs(_swigobj,_swigarg0)  (_swigobj->SetTabs(_swigarg0)) 
6264 static PyObject 
*_wrap_wxTextAttr_SetTabs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6265     PyObject 
* _resultobj
; 
6268     PyObject 
* _argo0 
= 0; 
6269     PyObject 
* _obj1 
= 0; 
6270     char *_kwnames
[] = { "self","tabs", NULL 
}; 
6273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTabs",_kwnames
,&_argo0
,&_obj1
))  
6276         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6277         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6278             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p."); 
6283     if (! PySequence_Check(_obj1
)) { 
6284         PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
6287     _arg1 
= new wxArrayInt
; 
6288     int i
, len
=PySequence_Length(_obj1
); 
6289     for (i
=0; i
<len
; i
++) { 
6290         PyObject
* item 
= PySequence_GetItem(_obj1
, i
); 
6291         PyObject
* number  
= PyNumber_Int(item
); 
6292         _arg1
->Add(PyInt_AS_LONG(number
)); 
6298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6299     wxTextAttr_SetTabs(_arg0
,*_arg1
); 
6301     wxPyEndAllowThreads(__tstate
); 
6302     if (PyErr_Occurred()) return NULL
; 
6303 }    Py_INCREF(Py_None
); 
6304     _resultobj 
= Py_None
; 
6312 #define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0)  (_swigobj->SetLeftIndent(_swigarg0)) 
6313 static PyObject 
*_wrap_wxTextAttr_SetLeftIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6314     PyObject 
* _resultobj
; 
6317     PyObject 
* _argo0 
= 0; 
6318     char *_kwnames
[] = { "self","indent", NULL 
}; 
6321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetLeftIndent",_kwnames
,&_argo0
,&_arg1
))  
6324         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6325         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6326             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p."); 
6331     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6332     wxTextAttr_SetLeftIndent(_arg0
,_arg1
); 
6334     wxPyEndAllowThreads(__tstate
); 
6335     if (PyErr_Occurred()) return NULL
; 
6336 }    Py_INCREF(Py_None
); 
6337     _resultobj 
= Py_None
; 
6341 #define wxTextAttr_SetRightIndent(_swigobj,_swigarg0)  (_swigobj->SetRightIndent(_swigarg0)) 
6342 static PyObject 
*_wrap_wxTextAttr_SetRightIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6343     PyObject 
* _resultobj
; 
6346     PyObject 
* _argo0 
= 0; 
6347     char *_kwnames
[] = { "self","indent", NULL 
}; 
6350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetRightIndent",_kwnames
,&_argo0
,&_arg1
))  
6353         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6354         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6355             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p."); 
6360     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6361     wxTextAttr_SetRightIndent(_arg0
,_arg1
); 
6363     wxPyEndAllowThreads(__tstate
); 
6364     if (PyErr_Occurred()) return NULL
; 
6365 }    Py_INCREF(Py_None
); 
6366     _resultobj 
= Py_None
; 
6370 #define wxTextAttr_SetFlags(_swigobj,_swigarg0)  (_swigobj->SetFlags(_swigarg0)) 
6371 static PyObject 
*_wrap_wxTextAttr_SetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6372     PyObject 
* _resultobj
; 
6375     PyObject 
* _argo0 
= 0; 
6376     char *_kwnames
[] = { "self","flags", NULL 
}; 
6379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextAttr_SetFlags",_kwnames
,&_argo0
,&_arg1
))  
6382         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6383         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6384             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p."); 
6389     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6390     wxTextAttr_SetFlags(_arg0
,_arg1
); 
6392     wxPyEndAllowThreads(__tstate
); 
6393     if (PyErr_Occurred()) return NULL
; 
6394 }    Py_INCREF(Py_None
); 
6395     _resultobj 
= Py_None
; 
6399 #define wxTextAttr_HasTextColour(_swigobj)  (_swigobj->HasTextColour()) 
6400 static PyObject 
*_wrap_wxTextAttr_HasTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6401     PyObject 
* _resultobj
; 
6404     PyObject 
* _argo0 
= 0; 
6405     char *_kwnames
[] = { "self", NULL 
}; 
6408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))  
6411         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6412         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6413             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p."); 
6418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6419     _result 
= (bool )wxTextAttr_HasTextColour(_arg0
); 
6421     wxPyEndAllowThreads(__tstate
); 
6422     if (PyErr_Occurred()) return NULL
; 
6423 }    _resultobj 
= Py_BuildValue("i",_result
); 
6427 #define wxTextAttr_HasBackgroundColour(_swigobj)  (_swigobj->HasBackgroundColour()) 
6428 static PyObject 
*_wrap_wxTextAttr_HasBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6429     PyObject 
* _resultobj
; 
6432     PyObject 
* _argo0 
= 0; 
6433     char *_kwnames
[] = { "self", NULL 
}; 
6436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))  
6439         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6440         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6441             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p."); 
6446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6447     _result 
= (bool )wxTextAttr_HasBackgroundColour(_arg0
); 
6449     wxPyEndAllowThreads(__tstate
); 
6450     if (PyErr_Occurred()) return NULL
; 
6451 }    _resultobj 
= Py_BuildValue("i",_result
); 
6455 #define wxTextAttr_HasFont(_swigobj)  (_swigobj->HasFont()) 
6456 static PyObject 
*_wrap_wxTextAttr_HasFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6457     PyObject 
* _resultobj
; 
6460     PyObject 
* _argo0 
= 0; 
6461     char *_kwnames
[] = { "self", NULL 
}; 
6464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))  
6467         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6468         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6469             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p."); 
6474     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6475     _result 
= (bool )wxTextAttr_HasFont(_arg0
); 
6477     wxPyEndAllowThreads(__tstate
); 
6478     if (PyErr_Occurred()) return NULL
; 
6479 }    _resultobj 
= Py_BuildValue("i",_result
); 
6483 #define wxTextAttr_HasAlignment(_swigobj)  (_swigobj->HasAlignment()) 
6484 static PyObject 
*_wrap_wxTextAttr_HasAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6485     PyObject 
* _resultobj
; 
6488     PyObject 
* _argo0 
= 0; 
6489     char *_kwnames
[] = { "self", NULL 
}; 
6492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasAlignment",_kwnames
,&_argo0
))  
6495         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6496         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6497             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p."); 
6502     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6503     _result 
= (bool )wxTextAttr_HasAlignment(_arg0
); 
6505     wxPyEndAllowThreads(__tstate
); 
6506     if (PyErr_Occurred()) return NULL
; 
6507 }    _resultobj 
= Py_BuildValue("i",_result
); 
6511 #define wxTextAttr_HasTabs(_swigobj)  (_swigobj->HasTabs()) 
6512 static PyObject 
*_wrap_wxTextAttr_HasTabs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6513     PyObject 
* _resultobj
; 
6516     PyObject 
* _argo0 
= 0; 
6517     char *_kwnames
[] = { "self", NULL 
}; 
6520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTabs",_kwnames
,&_argo0
))  
6523         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6524         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6525             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p."); 
6530     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6531     _result 
= (bool )wxTextAttr_HasTabs(_arg0
); 
6533     wxPyEndAllowThreads(__tstate
); 
6534     if (PyErr_Occurred()) return NULL
; 
6535 }    _resultobj 
= Py_BuildValue("i",_result
); 
6539 #define wxTextAttr_HasLeftIndent(_swigobj)  (_swigobj->HasLeftIndent()) 
6540 static PyObject 
*_wrap_wxTextAttr_HasLeftIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6541     PyObject 
* _resultobj
; 
6544     PyObject 
* _argo0 
= 0; 
6545     char *_kwnames
[] = { "self", NULL 
}; 
6548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasLeftIndent",_kwnames
,&_argo0
))  
6551         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6552         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6553             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p."); 
6558     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6559     _result 
= (bool )wxTextAttr_HasLeftIndent(_arg0
); 
6561     wxPyEndAllowThreads(__tstate
); 
6562     if (PyErr_Occurred()) return NULL
; 
6563 }    _resultobj 
= Py_BuildValue("i",_result
); 
6567 #define wxTextAttr_HasRightIndent(_swigobj)  (_swigobj->HasRightIndent()) 
6568 static PyObject 
*_wrap_wxTextAttr_HasRightIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6569     PyObject 
* _resultobj
; 
6572     PyObject 
* _argo0 
= 0; 
6573     char *_kwnames
[] = { "self", NULL 
}; 
6576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasRightIndent",_kwnames
,&_argo0
))  
6579         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6580         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6581             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p."); 
6586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6587     _result 
= (bool )wxTextAttr_HasRightIndent(_arg0
); 
6589     wxPyEndAllowThreads(__tstate
); 
6590     if (PyErr_Occurred()) return NULL
; 
6591 }    _resultobj 
= Py_BuildValue("i",_result
); 
6595 #define wxTextAttr_HasFlag(_swigobj,_swigarg0)  (_swigobj->HasFlag(_swigarg0)) 
6596 static PyObject 
*_wrap_wxTextAttr_HasFlag(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6597     PyObject 
* _resultobj
; 
6601     PyObject 
* _argo0 
= 0; 
6602     char *_kwnames
[] = { "self","flag", NULL 
}; 
6605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextAttr_HasFlag",_kwnames
,&_argo0
,&_arg1
))  
6608         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6609         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6610             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p."); 
6615     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6616     _result 
= (bool )wxTextAttr_HasFlag(_arg0
,_arg1
); 
6618     wxPyEndAllowThreads(__tstate
); 
6619     if (PyErr_Occurred()) return NULL
; 
6620 }    _resultobj 
= Py_BuildValue("i",_result
); 
6624 #define wxTextAttr_GetTextColour(_swigobj)  (_swigobj->GetTextColour()) 
6625 static PyObject 
*_wrap_wxTextAttr_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6626     PyObject 
* _resultobj
; 
6629     PyObject 
* _argo0 
= 0; 
6630     char *_kwnames
[] = { "self", NULL 
}; 
6634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))  
6637         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6638         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6639             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p."); 
6644     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6645     _result 
= new wxColour (wxTextAttr_GetTextColour(_arg0
)); 
6647     wxPyEndAllowThreads(__tstate
); 
6648     if (PyErr_Occurred()) return NULL
; 
6649 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p"); 
6650     _resultobj 
= Py_BuildValue("s",_ptemp
); 
6654 #define wxTextAttr_GetBackgroundColour(_swigobj)  (_swigobj->GetBackgroundColour()) 
6655 static PyObject 
*_wrap_wxTextAttr_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6656     PyObject 
* _resultobj
; 
6659     PyObject 
* _argo0 
= 0; 
6660     char *_kwnames
[] = { "self", NULL 
}; 
6664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))  
6667         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6668         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6669             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p."); 
6674     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6675     _result 
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
)); 
6677     wxPyEndAllowThreads(__tstate
); 
6678     if (PyErr_Occurred()) return NULL
; 
6679 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p"); 
6680     _resultobj 
= Py_BuildValue("s",_ptemp
); 
6684 #define wxTextAttr_GetFont(_swigobj)  (_swigobj->GetFont()) 
6685 static PyObject 
*_wrap_wxTextAttr_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6686     PyObject 
* _resultobj
; 
6689     PyObject 
* _argo0 
= 0; 
6690     char *_kwnames
[] = { "self", NULL 
}; 
6694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))  
6697         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6698         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6699             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p."); 
6704     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6705     _result 
= new wxFont (wxTextAttr_GetFont(_arg0
)); 
6707     wxPyEndAllowThreads(__tstate
); 
6708     if (PyErr_Occurred()) return NULL
; 
6709 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p"); 
6710     _resultobj 
= Py_BuildValue("s",_ptemp
); 
6714 #define wxTextAttr_GetAlignment(_swigobj)  (_swigobj->GetAlignment()) 
6715 static PyObject 
*_wrap_wxTextAttr_GetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6716     PyObject 
* _resultobj
; 
6717     wxTextAttrAlignment  _result
; 
6719     PyObject 
* _argo0 
= 0; 
6720     char *_kwnames
[] = { "self", NULL 
}; 
6723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetAlignment",_kwnames
,&_argo0
))  
6726         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6727         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6728             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p."); 
6733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6734     _result 
= (wxTextAttrAlignment 
)wxTextAttr_GetAlignment(_arg0
); 
6736     wxPyEndAllowThreads(__tstate
); 
6737     if (PyErr_Occurred()) return NULL
; 
6738 }    _resultobj 
= Py_BuildValue("i",_result
); 
6742 #define wxTextAttr_GetTabs(_swigobj)  (_swigobj->GetTabs()) 
6743 static PyObject 
*_wrap_wxTextAttr_GetTabs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6744     PyObject 
* _resultobj
; 
6745     wxArrayInt 
* _result
; 
6747     PyObject 
* _argo0 
= 0; 
6748     char *_kwnames
[] = { "self", NULL 
}; 
6751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTabs",_kwnames
,&_argo0
))  
6754         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6755         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6756             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p."); 
6761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6762     const wxArrayInt 
& _result_ref 
= wxTextAttr_GetTabs(_arg0
); 
6763     _result 
= (wxArrayInt 
*) &_result_ref
; 
6765     wxPyEndAllowThreads(__tstate
); 
6766     if (PyErr_Occurred()) return NULL
; 
6768     _resultobj 
= PyList_New(0); 
6770     for (idx 
= 0; idx 
< _result
->GetCount(); idx 
+= 1) { 
6771         PyObject
* val 
= PyInt_FromLong(_result
->Item(idx
)); 
6772         PyList_Append(_resultobj
, val
); 
6779 #define wxTextAttr_GetLeftIndent(_swigobj)  (_swigobj->GetLeftIndent()) 
6780 static PyObject 
*_wrap_wxTextAttr_GetLeftIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6781     PyObject 
* _resultobj
; 
6784     PyObject 
* _argo0 
= 0; 
6785     char *_kwnames
[] = { "self", NULL 
}; 
6788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetLeftIndent",_kwnames
,&_argo0
))  
6791         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6792         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6793             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p."); 
6798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6799     _result 
= (long )wxTextAttr_GetLeftIndent(_arg0
); 
6801     wxPyEndAllowThreads(__tstate
); 
6802     if (PyErr_Occurred()) return NULL
; 
6803 }    _resultobj 
= Py_BuildValue("l",_result
); 
6807 #define wxTextAttr_GetRightIndent(_swigobj)  (_swigobj->GetRightIndent()) 
6808 static PyObject 
*_wrap_wxTextAttr_GetRightIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6809     PyObject 
* _resultobj
; 
6812     PyObject 
* _argo0 
= 0; 
6813     char *_kwnames
[] = { "self", NULL 
}; 
6816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetRightIndent",_kwnames
,&_argo0
))  
6819         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6820         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6821             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p."); 
6826     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6827     _result 
= (long )wxTextAttr_GetRightIndent(_arg0
); 
6829     wxPyEndAllowThreads(__tstate
); 
6830     if (PyErr_Occurred()) return NULL
; 
6831 }    _resultobj 
= Py_BuildValue("l",_result
); 
6835 #define wxTextAttr_GetFlags(_swigobj)  (_swigobj->GetFlags()) 
6836 static PyObject 
*_wrap_wxTextAttr_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6837     PyObject 
* _resultobj
; 
6840     PyObject 
* _argo0 
= 0; 
6841     char *_kwnames
[] = { "self", NULL 
}; 
6844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFlags",_kwnames
,&_argo0
))  
6847         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6848         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6849             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p."); 
6854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6855     _result 
= (long )wxTextAttr_GetFlags(_arg0
); 
6857     wxPyEndAllowThreads(__tstate
); 
6858     if (PyErr_Occurred()) return NULL
; 
6859 }    _resultobj 
= Py_BuildValue("l",_result
); 
6863 #define wxTextAttr_IsDefault(_swigobj)  (_swigobj->IsDefault()) 
6864 static PyObject 
*_wrap_wxTextAttr_IsDefault(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6865     PyObject 
* _resultobj
; 
6868     PyObject 
* _argo0 
= 0; 
6869     char *_kwnames
[] = { "self", NULL 
}; 
6872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))  
6875         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6876         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6877             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p."); 
6882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6883     _result 
= (bool )wxTextAttr_IsDefault(_arg0
); 
6885     wxPyEndAllowThreads(__tstate
); 
6886     if (PyErr_Occurred()) return NULL
; 
6887 }    _resultobj 
= Py_BuildValue("i",_result
); 
6891 static PyObject 
*_wrap_wxTextAttr_Combine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6892     PyObject 
* _resultobj
; 
6893     wxTextAttr 
* _result
; 
6897     PyObject 
* _argo0 
= 0; 
6898     PyObject 
* _argo1 
= 0; 
6899     PyObject 
* _argo2 
= 0; 
6900     char *_kwnames
[] = { "attr","attrDef","text", NULL 
}; 
6904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))  
6907         if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) { 
6908             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p."); 
6913         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) { 
6914             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p."); 
6919         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
6920         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) { 
6921             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p."); 
6926     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6927     _result 
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
)); 
6929     wxPyEndAllowThreads(__tstate
); 
6930     if (PyErr_Occurred()) return NULL
; 
6931 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p"); 
6932     _resultobj 
= Py_BuildValue("s",_ptemp
); 
6936 static void *SwigwxTextCtrlTowxControl(void *ptr
) { 
6939     src 
= (wxTextCtrl 
*) ptr
; 
6940     dest 
= (wxControl 
*) src
; 
6941     return (void *) dest
; 
6944 static void *SwigwxTextCtrlTowxWindow(void *ptr
) { 
6947     src 
= (wxTextCtrl 
*) ptr
; 
6948     dest 
= (wxWindow 
*) src
; 
6949     return (void *) dest
; 
6952 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) { 
6955     src 
= (wxTextCtrl 
*) ptr
; 
6956     dest 
= (wxEvtHandler 
*) src
; 
6957     return (void *) dest
; 
6960 static void *SwigwxTextCtrlTowxObject(void *ptr
) { 
6963     src 
= (wxTextCtrl 
*) ptr
; 
6964     dest 
= (wxObject 
*) src
; 
6965     return (void *) dest
; 
6968 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
6969 static PyObject 
*_wrap_new_wxTextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6970     PyObject 
* _resultobj
; 
6971     wxTextCtrl 
* _result
; 
6974     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
6975     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
6976     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
6977     long  _arg5 
= (long ) 0; 
6978     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
6979     wxString 
* _arg7 
= (wxString 
*) &wxPyTextCtrlNameStr
; 
6980     PyObject 
* _argo0 
= 0; 
6981     PyObject 
* _obj2 
= 0; 
6983     PyObject 
* _obj3 
= 0; 
6985     PyObject 
* _obj4 
= 0; 
6986     PyObject 
* _argo6 
= 0; 
6987     PyObject 
* _obj7 
= 0; 
6988     char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL 
}; 
6992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
6995         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
6996         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
6997             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p."); 
7003     _arg2 
= wxString_in_helper(_obj2
); 
7010     if (! wxPoint_helper(_obj3
, &_arg3
)) 
7016     if (! wxSize_helper(_obj4
, &_arg4
)) 
7020         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
7021             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p."); 
7027     _arg7 
= wxString_in_helper(_obj7
); 
7032     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7033     _result 
= (wxTextCtrl 
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
7035     wxPyEndAllowThreads(__tstate
); 
7036     if (PyErr_Occurred()) return NULL
; 
7038         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p"); 
7039         _resultobj 
= Py_BuildValue("s",_ptemp
); 
7042         _resultobj 
= Py_None
; 
7055 #define new_wxPreTextCtrl() (new wxTextCtrl()) 
7056 static PyObject 
*_wrap_new_wxPreTextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7057     PyObject 
* _resultobj
; 
7058     wxTextCtrl 
* _result
; 
7059     char *_kwnames
[] = {  NULL 
}; 
7063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))  
7066     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7067     _result 
= (wxTextCtrl 
*)new_wxPreTextCtrl(); 
7069     wxPyEndAllowThreads(__tstate
); 
7070     if (PyErr_Occurred()) return NULL
; 
7072         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p"); 
7073         _resultobj 
= Py_BuildValue("s",_ptemp
); 
7076         _resultobj 
= Py_None
; 
7081 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
7082 static PyObject 
*_wrap_wxTextCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7083     PyObject 
* _resultobj
; 
7088     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
7089     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
7090     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
7091     long  _arg6 
= (long ) 0; 
7092     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
7093     wxString 
* _arg8 
= (wxString 
*) &wxPyTextCtrlNameStr
; 
7094     PyObject 
* _argo0 
= 0; 
7095     PyObject 
* _argo1 
= 0; 
7096     PyObject 
* _obj3 
= 0; 
7098     PyObject 
* _obj4 
= 0; 
7100     PyObject 
* _obj5 
= 0; 
7101     PyObject 
* _argo7 
= 0; 
7102     PyObject 
* _obj8 
= 0; 
7103     char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL 
}; 
7106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
7109         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7110         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7111             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p."); 
7116         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
7117         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
7118             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p."); 
7124     _arg3 
= wxString_in_helper(_obj3
); 
7131     if (! wxPoint_helper(_obj4
, &_arg4
)) 
7137     if (! wxSize_helper(_obj5
, &_arg5
)) 
7141         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
7142             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p."); 
7148     _arg8 
= wxString_in_helper(_obj8
); 
7153     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7154     _result 
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
7156     wxPyEndAllowThreads(__tstate
); 
7157     if (PyErr_Occurred()) return NULL
; 
7158 }    _resultobj 
= Py_BuildValue("i",_result
); 
7170 #define wxTextCtrl_GetValue(_swigobj)  (_swigobj->GetValue()) 
7171 static PyObject 
*_wrap_wxTextCtrl_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7172     PyObject 
* _resultobj
; 
7175     PyObject 
* _argo0 
= 0; 
7176     char *_kwnames
[] = { "self", NULL 
}; 
7179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))  
7182         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7183         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7184             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p."); 
7189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7190     _result 
= new wxString (wxTextCtrl_GetValue(_arg0
)); 
7192     wxPyEndAllowThreads(__tstate
); 
7193     if (PyErr_Occurred()) return NULL
; 
7196     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
7198     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
7207 #define wxTextCtrl_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
7208 static PyObject 
*_wrap_wxTextCtrl_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7209     PyObject 
* _resultobj
; 
7212     PyObject 
* _argo0 
= 0; 
7213     PyObject 
* _obj1 
= 0; 
7214     char *_kwnames
[] = { "self","value", NULL 
}; 
7217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))  
7220         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7221         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7222             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p."); 
7227     _arg1 
= wxString_in_helper(_obj1
); 
7232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7233     wxTextCtrl_SetValue(_arg0
,*_arg1
); 
7235     wxPyEndAllowThreads(__tstate
); 
7236     if (PyErr_Occurred()) return NULL
; 
7237 }    Py_INCREF(Py_None
); 
7238     _resultobj 
= Py_None
; 
7246 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1)  (_swigobj->GetRange(_swigarg0,_swigarg1)) 
7247 static PyObject 
*_wrap_wxTextCtrl_GetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7248     PyObject 
* _resultobj
; 
7253     PyObject 
* _argo0 
= 0; 
7254     char *_kwnames
[] = { "self","from","to", NULL 
}; 
7257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
7260         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7261         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7262             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p."); 
7267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7268     _result 
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
)); 
7270     wxPyEndAllowThreads(__tstate
); 
7271     if (PyErr_Occurred()) return NULL
; 
7274     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
7276     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
7285 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0)  (_swigobj->GetLineLength(_swigarg0)) 
7286 static PyObject 
*_wrap_wxTextCtrl_GetLineLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7287     PyObject 
* _resultobj
; 
7291     PyObject 
* _argo0 
= 0; 
7292     char *_kwnames
[] = { "self","lineNo", NULL 
}; 
7295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))  
7298         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7299         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7300             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p."); 
7305     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7306     _result 
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
); 
7308     wxPyEndAllowThreads(__tstate
); 
7309     if (PyErr_Occurred()) return NULL
; 
7310 }    _resultobj 
= Py_BuildValue("i",_result
); 
7314 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0)  (_swigobj->GetLineText(_swigarg0)) 
7315 static PyObject 
*_wrap_wxTextCtrl_GetLineText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7316     PyObject 
* _resultobj
; 
7320     PyObject 
* _argo0 
= 0; 
7321     char *_kwnames
[] = { "self","lineNo", NULL 
}; 
7324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))  
7327         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7328         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7329             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p."); 
7334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7335     _result 
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
)); 
7337     wxPyEndAllowThreads(__tstate
); 
7338     if (PyErr_Occurred()) return NULL
; 
7341     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
7343     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
7352 #define wxTextCtrl_GetNumberOfLines(_swigobj)  (_swigobj->GetNumberOfLines()) 
7353 static PyObject 
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7354     PyObject 
* _resultobj
; 
7357     PyObject 
* _argo0 
= 0; 
7358     char *_kwnames
[] = { "self", NULL 
}; 
7361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))  
7364         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7365         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7366             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p."); 
7371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7372     _result 
= (int )wxTextCtrl_GetNumberOfLines(_arg0
); 
7374     wxPyEndAllowThreads(__tstate
); 
7375     if (PyErr_Occurred()) return NULL
; 
7376 }    _resultobj 
= Py_BuildValue("i",_result
); 
7380 #define wxTextCtrl_IsModified(_swigobj)  (_swigobj->IsModified()) 
7381 static PyObject 
*_wrap_wxTextCtrl_IsModified(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7382     PyObject 
* _resultobj
; 
7385     PyObject 
* _argo0 
= 0; 
7386     char *_kwnames
[] = { "self", NULL 
}; 
7389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))  
7392         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7393         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7394             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p."); 
7399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7400     _result 
= (bool )wxTextCtrl_IsModified(_arg0
); 
7402     wxPyEndAllowThreads(__tstate
); 
7403     if (PyErr_Occurred()) return NULL
; 
7404 }    _resultobj 
= Py_BuildValue("i",_result
); 
7408 #define wxTextCtrl_IsEditable(_swigobj)  (_swigobj->IsEditable()) 
7409 static PyObject 
*_wrap_wxTextCtrl_IsEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7410     PyObject 
* _resultobj
; 
7413     PyObject 
* _argo0 
= 0; 
7414     char *_kwnames
[] = { "self", NULL 
}; 
7417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))  
7420         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7421         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7422             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p."); 
7427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7428     _result 
= (bool )wxTextCtrl_IsEditable(_arg0
); 
7430     wxPyEndAllowThreads(__tstate
); 
7431     if (PyErr_Occurred()) return NULL
; 
7432 }    _resultobj 
= Py_BuildValue("i",_result
); 
7436 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1)  (_swigobj->GetSelection(_swigarg0,_swigarg1)) 
7437 static PyObject 
*_wrap_wxTextCtrl_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7438     PyObject 
* _resultobj
; 
7444     PyObject 
* _argo0 
= 0; 
7445     char *_kwnames
[] = { "self", NULL 
}; 
7454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))  
7457         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7458         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7459             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p."); 
7464     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7465     wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
); 
7467     wxPyEndAllowThreads(__tstate
); 
7468     if (PyErr_Occurred()) return NULL
; 
7469 }    Py_INCREF(Py_None
); 
7470     _resultobj 
= Py_None
; 
7473     o 
= PyInt_FromLong((long) (*_arg1
)); 
7474     _resultobj 
= t_output_helper(_resultobj
, o
); 
7478     o 
= PyInt_FromLong((long) (*_arg2
)); 
7479     _resultobj 
= t_output_helper(_resultobj
, o
); 
7484 #define wxTextCtrl_GetStringSelection(_swigobj)  (_swigobj->GetStringSelection()) 
7485 static PyObject 
*_wrap_wxTextCtrl_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7486     PyObject 
* _resultobj
; 
7489     PyObject 
* _argo0 
= 0; 
7490     char *_kwnames
[] = { "self", NULL 
}; 
7493     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))  
7496         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7497         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7498             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p."); 
7503     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7504     _result 
= new wxString (wxTextCtrl_GetStringSelection(_arg0
)); 
7506     wxPyEndAllowThreads(__tstate
); 
7507     if (PyErr_Occurred()) return NULL
; 
7510     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
7512     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
7521 #define wxTextCtrl_Clear(_swigobj)  (_swigobj->Clear()) 
7522 static PyObject 
*_wrap_wxTextCtrl_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7523     PyObject 
* _resultobj
; 
7525     PyObject 
* _argo0 
= 0; 
7526     char *_kwnames
[] = { "self", NULL 
}; 
7529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))  
7532         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7533         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7534             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p."); 
7539     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7540     wxTextCtrl_Clear(_arg0
); 
7542     wxPyEndAllowThreads(__tstate
); 
7543     if (PyErr_Occurred()) return NULL
; 
7544 }    Py_INCREF(Py_None
); 
7545     _resultobj 
= Py_None
; 
7549 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2)) 
7550 static PyObject 
*_wrap_wxTextCtrl_Replace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7551     PyObject 
* _resultobj
; 
7556     PyObject 
* _argo0 
= 0; 
7557     PyObject 
* _obj3 
= 0; 
7558     char *_kwnames
[] = { "self","from","to","value", NULL 
}; 
7561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))  
7564         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7565         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7566             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p."); 
7571     _arg3 
= wxString_in_helper(_obj3
); 
7576     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7577     wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
); 
7579     wxPyEndAllowThreads(__tstate
); 
7580     if (PyErr_Occurred()) return NULL
; 
7581 }    Py_INCREF(Py_None
); 
7582     _resultobj 
= Py_None
; 
7590 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Remove(_swigarg0,_swigarg1)) 
7591 static PyObject 
*_wrap_wxTextCtrl_Remove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7592     PyObject 
* _resultobj
; 
7596     PyObject 
* _argo0 
= 0; 
7597     char *_kwnames
[] = { "self","from","to", NULL 
}; 
7600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
7603         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7604         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7605             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p."); 
7610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7611     wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
); 
7613     wxPyEndAllowThreads(__tstate
); 
7614     if (PyErr_Occurred()) return NULL
; 
7615 }    Py_INCREF(Py_None
); 
7616     _resultobj 
= Py_None
; 
7620 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0)  (_swigobj->LoadFile(_swigarg0)) 
7621 static PyObject 
*_wrap_wxTextCtrl_LoadFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7622     PyObject 
* _resultobj
; 
7626     PyObject 
* _argo0 
= 0; 
7627     PyObject 
* _obj1 
= 0; 
7628     char *_kwnames
[] = { "self","file", NULL 
}; 
7631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))  
7634         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7635         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7636             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p."); 
7641     _arg1 
= wxString_in_helper(_obj1
); 
7646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7647     _result 
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
); 
7649     wxPyEndAllowThreads(__tstate
); 
7650     if (PyErr_Occurred()) return NULL
; 
7651 }    _resultobj 
= Py_BuildValue("i",_result
); 
7659 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0)  (_swigobj->SaveFile(_swigarg0)) 
7660 static PyObject 
*_wrap_wxTextCtrl_SaveFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7661     PyObject 
* _resultobj
; 
7664     wxString 
* _arg1 
= (wxString 
*) &wxPyEmptyString
; 
7665     PyObject 
* _argo0 
= 0; 
7666     PyObject 
* _obj1 
= 0; 
7667     char *_kwnames
[] = { "self","file", NULL 
}; 
7670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))  
7673         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7674         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7675             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p."); 
7681     _arg1 
= wxString_in_helper(_obj1
); 
7686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7687     _result 
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
); 
7689     wxPyEndAllowThreads(__tstate
); 
7690     if (PyErr_Occurred()) return NULL
; 
7691 }    _resultobj 
= Py_BuildValue("i",_result
); 
7699 #define wxTextCtrl_DiscardEdits(_swigobj)  (_swigobj->DiscardEdits()) 
7700 static PyObject 
*_wrap_wxTextCtrl_DiscardEdits(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7701     PyObject 
* _resultobj
; 
7703     PyObject 
* _argo0 
= 0; 
7704     char *_kwnames
[] = { "self", NULL 
}; 
7707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))  
7710         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7711         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7712             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p."); 
7717     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7718     wxTextCtrl_DiscardEdits(_arg0
); 
7720     wxPyEndAllowThreads(__tstate
); 
7721     if (PyErr_Occurred()) return NULL
; 
7722 }    Py_INCREF(Py_None
); 
7723     _resultobj 
= Py_None
; 
7727 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0)  (_swigobj->SetMaxLength(_swigarg0)) 
7728 static PyObject 
*_wrap_wxTextCtrl_SetMaxLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7729     PyObject 
* _resultobj
; 
7731     unsigned long  _arg1
; 
7732     PyObject 
* _argo0 
= 0; 
7733     char *_kwnames
[] = { "self","len", NULL 
}; 
7736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))  
7739         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7740         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7741             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p."); 
7746     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7747     wxTextCtrl_SetMaxLength(_arg0
,_arg1
); 
7749     wxPyEndAllowThreads(__tstate
); 
7750     if (PyErr_Occurred()) return NULL
; 
7751 }    Py_INCREF(Py_None
); 
7752     _resultobj 
= Py_None
; 
7756 #define wxTextCtrl_WriteText(_swigobj,_swigarg0)  (_swigobj->WriteText(_swigarg0)) 
7757 static PyObject 
*_wrap_wxTextCtrl_WriteText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7758     PyObject 
* _resultobj
; 
7761     PyObject 
* _argo0 
= 0; 
7762     PyObject 
* _obj1 
= 0; 
7763     char *_kwnames
[] = { "self","text", NULL 
}; 
7766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))  
7769         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7770         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7771             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p."); 
7776     _arg1 
= wxString_in_helper(_obj1
); 
7781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7782     wxTextCtrl_WriteText(_arg0
,*_arg1
); 
7784     wxPyEndAllowThreads(__tstate
); 
7785     if (PyErr_Occurred()) return NULL
; 
7786 }    Py_INCREF(Py_None
); 
7787     _resultobj 
= Py_None
; 
7795 #define wxTextCtrl_AppendText(_swigobj,_swigarg0)  (_swigobj->AppendText(_swigarg0)) 
7796 static PyObject 
*_wrap_wxTextCtrl_AppendText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7797     PyObject 
* _resultobj
; 
7800     PyObject 
* _argo0 
= 0; 
7801     PyObject 
* _obj1 
= 0; 
7802     char *_kwnames
[] = { "self","text", NULL 
}; 
7805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))  
7808         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7809         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7810             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p."); 
7815     _arg1 
= wxString_in_helper(_obj1
); 
7820     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7821     wxTextCtrl_AppendText(_arg0
,*_arg1
); 
7823     wxPyEndAllowThreads(__tstate
); 
7824     if (PyErr_Occurred()) return NULL
; 
7825 }    Py_INCREF(Py_None
); 
7826     _resultobj 
= Py_None
; 
7834 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0)  (_swigobj->EmulateKeyPress(_swigarg0)) 
7835 static PyObject 
*_wrap_wxTextCtrl_EmulateKeyPress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7836     PyObject 
* _resultobj
; 
7840     PyObject 
* _argo0 
= 0; 
7841     PyObject 
* _argo1 
= 0; 
7842     char *_kwnames
[] = { "self","event", NULL 
}; 
7845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_EmulateKeyPress",_kwnames
,&_argo0
,&_argo1
))  
7848         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7849         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7850             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p."); 
7855         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) { 
7856             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p."); 
7861     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7862     _result 
= (bool )wxTextCtrl_EmulateKeyPress(_arg0
,*_arg1
); 
7864     wxPyEndAllowThreads(__tstate
); 
7865     if (PyErr_Occurred()) return NULL
; 
7866 }    _resultobj 
= Py_BuildValue("i",_result
); 
7870 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2)) 
7871 static PyObject 
*_wrap_wxTextCtrl_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7872     PyObject 
* _resultobj
; 
7878     PyObject 
* _argo0 
= 0; 
7879     PyObject 
* _argo3 
= 0; 
7880     char *_kwnames
[] = { "self","start","end","style", NULL 
}; 
7883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))  
7886         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7887         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7888             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p."); 
7893         if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) { 
7894             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p."); 
7899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7900     _result 
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
); 
7902     wxPyEndAllowThreads(__tstate
); 
7903     if (PyErr_Occurred()) return NULL
; 
7904 }    _resultobj 
= Py_BuildValue("i",_result
); 
7908 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0)  (_swigobj->SetDefaultStyle(_swigarg0)) 
7909 static PyObject 
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7910     PyObject 
* _resultobj
; 
7914     PyObject 
* _argo0 
= 0; 
7915     PyObject 
* _argo1 
= 0; 
7916     char *_kwnames
[] = { "self","style", NULL 
}; 
7919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))  
7922         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7923         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7924             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p."); 
7929         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) { 
7930             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p."); 
7935     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7936     _result 
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
); 
7938     wxPyEndAllowThreads(__tstate
); 
7939     if (PyErr_Occurred()) return NULL
; 
7940 }    _resultobj 
= Py_BuildValue("i",_result
); 
7944 #define wxTextCtrl_GetDefaultStyle(_swigobj)  (_swigobj->GetDefaultStyle()) 
7945 static PyObject 
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7946     PyObject 
* _resultobj
; 
7947     wxTextAttr 
* _result
; 
7949     PyObject 
* _argo0 
= 0; 
7950     char *_kwnames
[] = { "self", NULL 
}; 
7954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))  
7957         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7958         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7959             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p."); 
7964     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7965     const wxTextAttr 
& _result_ref 
= wxTextCtrl_GetDefaultStyle(_arg0
); 
7966     _result 
= (wxTextAttr 
*) &_result_ref
; 
7968     wxPyEndAllowThreads(__tstate
); 
7969     if (PyErr_Occurred()) return NULL
; 
7971         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p"); 
7972         _resultobj 
= Py_BuildValue("s",_ptemp
); 
7975         _resultobj 
= Py_None
; 
7980 #define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1)  (_swigobj->GetStyle(_swigarg0,_swigarg1)) 
7981 static PyObject 
*_wrap_wxTextCtrl_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7982     PyObject 
* _resultobj
; 
7987     PyObject 
* _argo0 
= 0; 
7988     PyObject 
* _argo2 
= 0; 
7989     char *_kwnames
[] = { "self","position","style", NULL 
}; 
7992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxTextCtrl_GetStyle",_kwnames
,&_argo0
,&_arg1
,&_argo2
))  
7995         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
7996         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
7997             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p."); 
8002         if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextAttr_p")) { 
8003             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p."); 
8008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8009     _result 
= (bool )wxTextCtrl_GetStyle(_arg0
,_arg1
,*_arg2
); 
8011     wxPyEndAllowThreads(__tstate
); 
8012     if (PyErr_Occurred()) return NULL
; 
8013 }    _resultobj 
= Py_BuildValue("i",_result
); 
8017 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1)  (_swigobj->XYToPosition(_swigarg0,_swigarg1)) 
8018 static PyObject 
*_wrap_wxTextCtrl_XYToPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8019     PyObject 
* _resultobj
; 
8024     PyObject 
* _argo0 
= 0; 
8025     char *_kwnames
[] = { "self","x","y", NULL 
}; 
8028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
8031         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8032         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8033             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p."); 
8038     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8039     _result 
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
); 
8041     wxPyEndAllowThreads(__tstate
); 
8042     if (PyErr_Occurred()) return NULL
; 
8043 }    _resultobj 
= Py_BuildValue("l",_result
); 
8047 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2)) 
8048 static PyObject 
*_wrap_wxTextCtrl_PositionToXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8049     PyObject 
* _resultobj
; 
8056     PyObject 
* _argo0 
= 0; 
8057     char *_kwnames
[] = { "self","pos", NULL 
}; 
8066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))  
8069         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8070         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8071             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p."); 
8076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8077     wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
); 
8079     wxPyEndAllowThreads(__tstate
); 
8080     if (PyErr_Occurred()) return NULL
; 
8081 }    Py_INCREF(Py_None
); 
8082     _resultobj 
= Py_None
; 
8085     o 
= PyInt_FromLong((long) (*_arg2
)); 
8086     _resultobj 
= t_output_helper(_resultobj
, o
); 
8090     o 
= PyInt_FromLong((long) (*_arg3
)); 
8091     _resultobj 
= t_output_helper(_resultobj
, o
); 
8096 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0)  (_swigobj->ShowPosition(_swigarg0)) 
8097 static PyObject 
*_wrap_wxTextCtrl_ShowPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8098     PyObject 
* _resultobj
; 
8101     PyObject 
* _argo0 
= 0; 
8102     char *_kwnames
[] = { "self","pos", NULL 
}; 
8105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))  
8108         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8109         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8110             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p."); 
8115     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8116     wxTextCtrl_ShowPosition(_arg0
,_arg1
); 
8118     wxPyEndAllowThreads(__tstate
); 
8119     if (PyErr_Occurred()) return NULL
; 
8120 }    Py_INCREF(Py_None
); 
8121     _resultobj 
= Py_None
; 
8125 #define wxTextCtrl_Copy(_swigobj)  (_swigobj->Copy()) 
8126 static PyObject 
*_wrap_wxTextCtrl_Copy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8127     PyObject 
* _resultobj
; 
8129     PyObject 
* _argo0 
= 0; 
8130     char *_kwnames
[] = { "self", NULL 
}; 
8133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))  
8136         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8137         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8138             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p."); 
8143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8144     wxTextCtrl_Copy(_arg0
); 
8146     wxPyEndAllowThreads(__tstate
); 
8147     if (PyErr_Occurred()) return NULL
; 
8148 }    Py_INCREF(Py_None
); 
8149     _resultobj 
= Py_None
; 
8153 #define wxTextCtrl_Cut(_swigobj)  (_swigobj->Cut()) 
8154 static PyObject 
*_wrap_wxTextCtrl_Cut(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8155     PyObject 
* _resultobj
; 
8157     PyObject 
* _argo0 
= 0; 
8158     char *_kwnames
[] = { "self", NULL 
}; 
8161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))  
8164         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8165         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8166             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p."); 
8171     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8172     wxTextCtrl_Cut(_arg0
); 
8174     wxPyEndAllowThreads(__tstate
); 
8175     if (PyErr_Occurred()) return NULL
; 
8176 }    Py_INCREF(Py_None
); 
8177     _resultobj 
= Py_None
; 
8181 #define wxTextCtrl_Paste(_swigobj)  (_swigobj->Paste()) 
8182 static PyObject 
*_wrap_wxTextCtrl_Paste(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8183     PyObject 
* _resultobj
; 
8185     PyObject 
* _argo0 
= 0; 
8186     char *_kwnames
[] = { "self", NULL 
}; 
8189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))  
8192         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8193         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8194             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p."); 
8199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8200     wxTextCtrl_Paste(_arg0
); 
8202     wxPyEndAllowThreads(__tstate
); 
8203     if (PyErr_Occurred()) return NULL
; 
8204 }    Py_INCREF(Py_None
); 
8205     _resultobj 
= Py_None
; 
8209 #define wxTextCtrl_CanCopy(_swigobj)  (_swigobj->CanCopy()) 
8210 static PyObject 
*_wrap_wxTextCtrl_CanCopy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8211     PyObject 
* _resultobj
; 
8214     PyObject 
* _argo0 
= 0; 
8215     char *_kwnames
[] = { "self", NULL 
}; 
8218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))  
8221         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8222         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8223             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p."); 
8228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8229     _result 
= (bool )wxTextCtrl_CanCopy(_arg0
); 
8231     wxPyEndAllowThreads(__tstate
); 
8232     if (PyErr_Occurred()) return NULL
; 
8233 }    _resultobj 
= Py_BuildValue("i",_result
); 
8237 #define wxTextCtrl_CanCut(_swigobj)  (_swigobj->CanCut()) 
8238 static PyObject 
*_wrap_wxTextCtrl_CanCut(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8239     PyObject 
* _resultobj
; 
8242     PyObject 
* _argo0 
= 0; 
8243     char *_kwnames
[] = { "self", NULL 
}; 
8246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))  
8249         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8250         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8251             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p."); 
8256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8257     _result 
= (bool )wxTextCtrl_CanCut(_arg0
); 
8259     wxPyEndAllowThreads(__tstate
); 
8260     if (PyErr_Occurred()) return NULL
; 
8261 }    _resultobj 
= Py_BuildValue("i",_result
); 
8265 #define wxTextCtrl_CanPaste(_swigobj)  (_swigobj->CanPaste()) 
8266 static PyObject 
*_wrap_wxTextCtrl_CanPaste(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8267     PyObject 
* _resultobj
; 
8270     PyObject 
* _argo0 
= 0; 
8271     char *_kwnames
[] = { "self", NULL 
}; 
8274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))  
8277         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8278         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8279             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p."); 
8284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8285     _result 
= (bool )wxTextCtrl_CanPaste(_arg0
); 
8287     wxPyEndAllowThreads(__tstate
); 
8288     if (PyErr_Occurred()) return NULL
; 
8289 }    _resultobj 
= Py_BuildValue("i",_result
); 
8293 #define wxTextCtrl_Undo(_swigobj)  (_swigobj->Undo()) 
8294 static PyObject 
*_wrap_wxTextCtrl_Undo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8295     PyObject 
* _resultobj
; 
8297     PyObject 
* _argo0 
= 0; 
8298     char *_kwnames
[] = { "self", NULL 
}; 
8301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))  
8304         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8305         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8306             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p."); 
8311     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8312     wxTextCtrl_Undo(_arg0
); 
8314     wxPyEndAllowThreads(__tstate
); 
8315     if (PyErr_Occurred()) return NULL
; 
8316 }    Py_INCREF(Py_None
); 
8317     _resultobj 
= Py_None
; 
8321 #define wxTextCtrl_Redo(_swigobj)  (_swigobj->Redo()) 
8322 static PyObject 
*_wrap_wxTextCtrl_Redo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8323     PyObject 
* _resultobj
; 
8325     PyObject 
* _argo0 
= 0; 
8326     char *_kwnames
[] = { "self", NULL 
}; 
8329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))  
8332         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8333         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8334             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p."); 
8339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8340     wxTextCtrl_Redo(_arg0
); 
8342     wxPyEndAllowThreads(__tstate
); 
8343     if (PyErr_Occurred()) return NULL
; 
8344 }    Py_INCREF(Py_None
); 
8345     _resultobj 
= Py_None
; 
8349 #define wxTextCtrl_CanUndo(_swigobj)  (_swigobj->CanUndo()) 
8350 static PyObject 
*_wrap_wxTextCtrl_CanUndo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8351     PyObject 
* _resultobj
; 
8354     PyObject 
* _argo0 
= 0; 
8355     char *_kwnames
[] = { "self", NULL 
}; 
8358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))  
8361         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8362         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8363             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p."); 
8368     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8369     _result 
= (bool )wxTextCtrl_CanUndo(_arg0
); 
8371     wxPyEndAllowThreads(__tstate
); 
8372     if (PyErr_Occurred()) return NULL
; 
8373 }    _resultobj 
= Py_BuildValue("i",_result
); 
8377 #define wxTextCtrl_CanRedo(_swigobj)  (_swigobj->CanRedo()) 
8378 static PyObject 
*_wrap_wxTextCtrl_CanRedo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8379     PyObject 
* _resultobj
; 
8382     PyObject 
* _argo0 
= 0; 
8383     char *_kwnames
[] = { "self", NULL 
}; 
8386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))  
8389         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8390         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8391             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p."); 
8396     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8397     _result 
= (bool )wxTextCtrl_CanRedo(_arg0
); 
8399     wxPyEndAllowThreads(__tstate
); 
8400     if (PyErr_Occurred()) return NULL
; 
8401 }    _resultobj 
= Py_BuildValue("i",_result
); 
8405 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0)  (_swigobj->SetInsertionPoint(_swigarg0)) 
8406 static PyObject 
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8407     PyObject 
* _resultobj
; 
8410     PyObject 
* _argo0 
= 0; 
8411     char *_kwnames
[] = { "self","pos", NULL 
}; 
8414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))  
8417         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8418         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8419             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p."); 
8424     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8425     wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
); 
8427     wxPyEndAllowThreads(__tstate
); 
8428     if (PyErr_Occurred()) return NULL
; 
8429 }    Py_INCREF(Py_None
); 
8430     _resultobj 
= Py_None
; 
8434 #define wxTextCtrl_SetInsertionPointEnd(_swigobj)  (_swigobj->SetInsertionPointEnd()) 
8435 static PyObject 
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8436     PyObject 
* _resultobj
; 
8438     PyObject 
* _argo0 
= 0; 
8439     char *_kwnames
[] = { "self", NULL 
}; 
8442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))  
8445         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8446         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8447             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p."); 
8452     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8453     wxTextCtrl_SetInsertionPointEnd(_arg0
); 
8455     wxPyEndAllowThreads(__tstate
); 
8456     if (PyErr_Occurred()) return NULL
; 
8457 }    Py_INCREF(Py_None
); 
8458     _resultobj 
= Py_None
; 
8462 #define wxTextCtrl_GetInsertionPoint(_swigobj)  (_swigobj->GetInsertionPoint()) 
8463 static PyObject 
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8464     PyObject 
* _resultobj
; 
8467     PyObject 
* _argo0 
= 0; 
8468     char *_kwnames
[] = { "self", NULL 
}; 
8471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))  
8474         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8475         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8476             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p."); 
8481     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8482     _result 
= (long )wxTextCtrl_GetInsertionPoint(_arg0
); 
8484     wxPyEndAllowThreads(__tstate
); 
8485     if (PyErr_Occurred()) return NULL
; 
8486 }    _resultobj 
= Py_BuildValue("l",_result
); 
8490 #define wxTextCtrl_GetLastPosition(_swigobj)  (_swigobj->GetLastPosition()) 
8491 static PyObject 
*_wrap_wxTextCtrl_GetLastPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8492     PyObject 
* _resultobj
; 
8495     PyObject 
* _argo0 
= 0; 
8496     char *_kwnames
[] = { "self", NULL 
}; 
8499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))  
8502         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8503         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8504             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p."); 
8509     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8510     _result 
= (long )wxTextCtrl_GetLastPosition(_arg0
); 
8512     wxPyEndAllowThreads(__tstate
); 
8513     if (PyErr_Occurred()) return NULL
; 
8514 }    _resultobj 
= Py_BuildValue("l",_result
); 
8518 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetSelection(_swigarg0,_swigarg1)) 
8519 static PyObject 
*_wrap_wxTextCtrl_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8520     PyObject 
* _resultobj
; 
8524     PyObject 
* _argo0 
= 0; 
8525     char *_kwnames
[] = { "self","from","to", NULL 
}; 
8528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
8531         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8532         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8533             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p."); 
8538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8539     wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
); 
8541     wxPyEndAllowThreads(__tstate
); 
8542     if (PyErr_Occurred()) return NULL
; 
8543 }    Py_INCREF(Py_None
); 
8544     _resultobj 
= Py_None
; 
8548 #define wxTextCtrl_SelectAll(_swigobj)  (_swigobj->SelectAll()) 
8549 static PyObject 
*_wrap_wxTextCtrl_SelectAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8550     PyObject 
* _resultobj
; 
8552     PyObject 
* _argo0 
= 0; 
8553     char *_kwnames
[] = { "self", NULL 
}; 
8556     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))  
8559         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8560         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8561             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p."); 
8566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8567     wxTextCtrl_SelectAll(_arg0
); 
8569     wxPyEndAllowThreads(__tstate
); 
8570     if (PyErr_Occurred()) return NULL
; 
8571 }    Py_INCREF(Py_None
); 
8572     _resultobj 
= Py_None
; 
8576 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0)  (_swigobj->SetEditable(_swigarg0)) 
8577 static PyObject 
*_wrap_wxTextCtrl_SetEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8578     PyObject 
* _resultobj
; 
8581     PyObject 
* _argo0 
= 0; 
8583     char *_kwnames
[] = { "self","editable", NULL 
}; 
8586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))  
8589         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8590         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8591             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p."); 
8595     _arg1 
= (bool ) tempbool1
; 
8597     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8598     wxTextCtrl_SetEditable(_arg0
,_arg1
); 
8600     wxPyEndAllowThreads(__tstate
); 
8601     if (PyErr_Occurred()) return NULL
; 
8602 }    Py_INCREF(Py_None
); 
8603     _resultobj 
= Py_None
; 
8607 #define wxTextCtrl_IsSingleLine(_swigobj)  (_swigobj->IsSingleLine()) 
8608 static PyObject 
*_wrap_wxTextCtrl_IsSingleLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8609     PyObject 
* _resultobj
; 
8612     PyObject 
* _argo0 
= 0; 
8613     char *_kwnames
[] = { "self", NULL 
}; 
8616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsSingleLine",_kwnames
,&_argo0
))  
8619         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8620         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8621             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p."); 
8626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8627     _result 
= (bool )wxTextCtrl_IsSingleLine(_arg0
); 
8629     wxPyEndAllowThreads(__tstate
); 
8630     if (PyErr_Occurred()) return NULL
; 
8631 }    _resultobj 
= Py_BuildValue("i",_result
); 
8635 #define wxTextCtrl_IsMultiLine(_swigobj)  (_swigobj->IsMultiLine()) 
8636 static PyObject 
*_wrap_wxTextCtrl_IsMultiLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8637     PyObject 
* _resultobj
; 
8640     PyObject 
* _argo0 
= 0; 
8641     char *_kwnames
[] = { "self", NULL 
}; 
8644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsMultiLine",_kwnames
,&_argo0
))  
8647         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8648         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8649             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p."); 
8654     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8655     _result 
= (bool )wxTextCtrl_IsMultiLine(_arg0
); 
8657     wxPyEndAllowThreads(__tstate
); 
8658     if (PyErr_Occurred()) return NULL
; 
8659 }    _resultobj 
= Py_BuildValue("i",_result
); 
8663 static void  wxTextCtrl_write(wxTextCtrl 
*self
,const wxString 
& text
) { 
8664             self
->AppendText(text
); 
8666 static PyObject 
*_wrap_wxTextCtrl_write(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8667     PyObject 
* _resultobj
; 
8670     PyObject 
* _argo0 
= 0; 
8671     PyObject 
* _obj1 
= 0; 
8672     char *_kwnames
[] = { "self","text", NULL 
}; 
8675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))  
8678         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8679         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8680             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p."); 
8685     _arg1 
= wxString_in_helper(_obj1
); 
8690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8691     wxTextCtrl_write(_arg0
,*_arg1
); 
8693     wxPyEndAllowThreads(__tstate
); 
8694     if (PyErr_Occurred()) return NULL
; 
8695 }    Py_INCREF(Py_None
); 
8696     _resultobj 
= Py_None
; 
8704 static wxString  
wxTextCtrl_GetString(wxTextCtrl 
*self
,long  from
,long  to
) { 
8705             return self
->GetValue().Mid(from
, to 
- from
); 
8707 static PyObject 
*_wrap_wxTextCtrl_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8708     PyObject 
* _resultobj
; 
8713     PyObject 
* _argo0 
= 0; 
8714     char *_kwnames
[] = { "self","from","to", NULL 
}; 
8717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
8720         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8721         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) { 
8722             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p."); 
8727     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8728     _result 
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
)); 
8730     wxPyEndAllowThreads(__tstate
); 
8731     if (PyErr_Occurred()) return NULL
; 
8734     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
8736     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
8745 static void *SwigwxScrollBarTowxControl(void *ptr
) { 
8748     src 
= (wxScrollBar 
*) ptr
; 
8749     dest 
= (wxControl 
*) src
; 
8750     return (void *) dest
; 
8753 static void *SwigwxScrollBarTowxWindow(void *ptr
) { 
8756     src 
= (wxScrollBar 
*) ptr
; 
8757     dest 
= (wxWindow 
*) src
; 
8758     return (void *) dest
; 
8761 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) { 
8764     src 
= (wxScrollBar 
*) ptr
; 
8765     dest 
= (wxEvtHandler 
*) src
; 
8766     return (void *) dest
; 
8769 static void *SwigwxScrollBarTowxObject(void *ptr
) { 
8772     src 
= (wxScrollBar 
*) ptr
; 
8773     dest 
= (wxObject 
*) src
; 
8774     return (void *) dest
; 
8777 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
8778 static PyObject 
*_wrap_new_wxScrollBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8779     PyObject 
* _resultobj
; 
8780     wxScrollBar 
* _result
; 
8782     wxWindowID  _arg1 
= (wxWindowID 
) -1; 
8783     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
8784     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
8785     long  _arg4 
= (long ) wxSB_HORIZONTAL
; 
8786     wxValidator 
* _arg5 
= (wxValidator 
*) &wxDefaultValidator
; 
8787     wxString 
* _arg6 
= (wxString 
*) &wxPyScrollBarNameStr
; 
8788     PyObject 
* _argo0 
= 0; 
8790     PyObject 
* _obj2 
= 0; 
8792     PyObject 
* _obj3 
= 0; 
8793     PyObject 
* _argo5 
= 0; 
8794     PyObject 
* _obj6 
= 0; 
8795     char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL 
}; 
8799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))  
8802         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8803         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
8804             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p."); 
8811     if (! wxPoint_helper(_obj2
, &_arg2
)) 
8817     if (! wxSize_helper(_obj3
, &_arg3
)) 
8821         if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) { 
8822             PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p."); 
8828     _arg6 
= wxString_in_helper(_obj6
); 
8833     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8834     _result 
= (wxScrollBar 
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
); 
8836     wxPyEndAllowThreads(__tstate
); 
8837     if (PyErr_Occurred()) return NULL
; 
8839         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p"); 
8840         _resultobj 
= Py_BuildValue("s",_ptemp
); 
8843         _resultobj 
= Py_None
; 
8852 #define new_wxPreScrollBar() (new wxScrollBar()) 
8853 static PyObject 
*_wrap_new_wxPreScrollBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8854     PyObject 
* _resultobj
; 
8855     wxScrollBar 
* _result
; 
8856     char *_kwnames
[] = {  NULL 
}; 
8860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))  
8863     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8864     _result 
= (wxScrollBar 
*)new_wxPreScrollBar(); 
8866     wxPyEndAllowThreads(__tstate
); 
8867     if (PyErr_Occurred()) return NULL
; 
8869         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p"); 
8870         _resultobj 
= Py_BuildValue("s",_ptemp
); 
8873         _resultobj 
= Py_None
; 
8878 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
8879 static PyObject 
*_wrap_wxScrollBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8880     PyObject 
* _resultobj
; 
8882     wxScrollBar 
* _arg0
; 
8884     wxWindowID  _arg2 
= (wxWindowID 
) -1; 
8885     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
8886     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
8887     long  _arg5 
= (long ) wxSB_HORIZONTAL
; 
8888     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
8889     wxString 
* _arg7 
= (wxString 
*) &wxPyScrollBarNameStr
; 
8890     PyObject 
* _argo0 
= 0; 
8891     PyObject 
* _argo1 
= 0; 
8893     PyObject 
* _obj3 
= 0; 
8895     PyObject 
* _obj4 
= 0; 
8896     PyObject 
* _argo6 
= 0; 
8897     PyObject 
* _obj7 
= 0; 
8898     char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL 
}; 
8901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
8904         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8905         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
8906             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p."); 
8911         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
8912         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
8913             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p."); 
8920     if (! wxPoint_helper(_obj3
, &_arg3
)) 
8926     if (! wxSize_helper(_obj4
, &_arg4
)) 
8930         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
8931             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p."); 
8937     _arg7 
= wxString_in_helper(_obj7
); 
8942     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8943     _result 
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
8945     wxPyEndAllowThreads(__tstate
); 
8946     if (PyErr_Occurred()) return NULL
; 
8947 }    _resultobj 
= Py_BuildValue("i",_result
); 
8955 #define wxScrollBar_GetRange(_swigobj)  (_swigobj->GetRange()) 
8956 static PyObject 
*_wrap_wxScrollBar_GetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8957     PyObject 
* _resultobj
; 
8959     wxScrollBar 
* _arg0
; 
8960     PyObject 
* _argo0 
= 0; 
8961     char *_kwnames
[] = { "self", NULL 
}; 
8964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))  
8967         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8968         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
8969             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p."); 
8974     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8975     _result 
= (int )wxScrollBar_GetRange(_arg0
); 
8977     wxPyEndAllowThreads(__tstate
); 
8978     if (PyErr_Occurred()) return NULL
; 
8979 }    _resultobj 
= Py_BuildValue("i",_result
); 
8983 #define wxScrollBar_GetPageSize(_swigobj)  (_swigobj->GetPageSize()) 
8984 static PyObject 
*_wrap_wxScrollBar_GetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8985     PyObject 
* _resultobj
; 
8987     wxScrollBar 
* _arg0
; 
8988     PyObject 
* _argo0 
= 0; 
8989     char *_kwnames
[] = { "self", NULL 
}; 
8992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))  
8995         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
8996         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
8997             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p."); 
9002     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9003     _result 
= (int )wxScrollBar_GetPageSize(_arg0
); 
9005     wxPyEndAllowThreads(__tstate
); 
9006     if (PyErr_Occurred()) return NULL
; 
9007 }    _resultobj 
= Py_BuildValue("i",_result
); 
9011 #define wxScrollBar_GetThumbPosition(_swigobj)  (_swigobj->GetThumbPosition()) 
9012 static PyObject 
*_wrap_wxScrollBar_GetThumbPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9013     PyObject 
* _resultobj
; 
9015     wxScrollBar 
* _arg0
; 
9016     PyObject 
* _argo0 
= 0; 
9017     char *_kwnames
[] = { "self", NULL 
}; 
9020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))  
9023         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9024         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
9025             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p."); 
9030     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9031     _result 
= (int )wxScrollBar_GetThumbPosition(_arg0
); 
9033     wxPyEndAllowThreads(__tstate
); 
9034     if (PyErr_Occurred()) return NULL
; 
9035 }    _resultobj 
= Py_BuildValue("i",_result
); 
9039 #define wxScrollBar_GetThumbSize(_swigobj)  (_swigobj->GetThumbSize()) 
9040 static PyObject 
*_wrap_wxScrollBar_GetThumbSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9041     PyObject 
* _resultobj
; 
9043     wxScrollBar 
* _arg0
; 
9044     PyObject 
* _argo0 
= 0; 
9045     char *_kwnames
[] = { "self", NULL 
}; 
9048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))  
9051         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9052         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
9053             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p."); 
9058     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9059     _result 
= (int )wxScrollBar_GetThumbSize(_arg0
); 
9061     wxPyEndAllowThreads(__tstate
); 
9062     if (PyErr_Occurred()) return NULL
; 
9063 }    _resultobj 
= Py_BuildValue("i",_result
); 
9067 #define wxScrollBar_IsVertical(_swigobj)  (_swigobj->IsVertical()) 
9068 static PyObject 
*_wrap_wxScrollBar_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9069     PyObject 
* _resultobj
; 
9071     wxScrollBar 
* _arg0
; 
9072     PyObject 
* _argo0 
= 0; 
9073     char *_kwnames
[] = { "self", NULL 
}; 
9076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))  
9079         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9080         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
9081             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p."); 
9086     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9087     _result 
= (bool )wxScrollBar_IsVertical(_arg0
); 
9089     wxPyEndAllowThreads(__tstate
); 
9090     if (PyErr_Occurred()) return NULL
; 
9091 }    _resultobj 
= Py_BuildValue("i",_result
); 
9095 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0)  (_swigobj->SetThumbPosition(_swigarg0)) 
9096 static PyObject 
*_wrap_wxScrollBar_SetThumbPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9097     PyObject 
* _resultobj
; 
9098     wxScrollBar 
* _arg0
; 
9100     PyObject 
* _argo0 
= 0; 
9101     char *_kwnames
[] = { "self","viewStart", NULL 
}; 
9104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))  
9107         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9108         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
9109             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p."); 
9114     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9115     wxScrollBar_SetThumbPosition(_arg0
,_arg1
); 
9117     wxPyEndAllowThreads(__tstate
); 
9118     if (PyErr_Occurred()) return NULL
; 
9119 }    Py_INCREF(Py_None
); 
9120     _resultobj 
= Py_None
; 
9124 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)  (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
9125 static PyObject 
*_wrap_wxScrollBar_SetScrollbar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9126     PyObject 
* _resultobj
; 
9127     wxScrollBar 
* _arg0
; 
9132     bool  _arg5 
= (bool ) TRUE
; 
9133     PyObject 
* _argo0 
= 0; 
9134     int tempbool5 
= (int) TRUE
; 
9135     char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL 
}; 
9138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))  
9141         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9142         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) { 
9143             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p."); 
9147     _arg5 
= (bool ) tempbool5
; 
9149     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9150     wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
); 
9152     wxPyEndAllowThreads(__tstate
); 
9153     if (PyErr_Occurred()) return NULL
; 
9154 }    Py_INCREF(Py_None
); 
9155     _resultobj 
= Py_None
; 
9159 static void *SwigwxSpinButtonTowxControl(void *ptr
) { 
9162     src 
= (wxSpinButton 
*) ptr
; 
9163     dest 
= (wxControl 
*) src
; 
9164     return (void *) dest
; 
9167 static void *SwigwxSpinButtonTowxWindow(void *ptr
) { 
9170     src 
= (wxSpinButton 
*) ptr
; 
9171     dest 
= (wxWindow 
*) src
; 
9172     return (void *) dest
; 
9175 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) { 
9178     src 
= (wxSpinButton 
*) ptr
; 
9179     dest 
= (wxEvtHandler 
*) src
; 
9180     return (void *) dest
; 
9183 static void *SwigwxSpinButtonTowxObject(void *ptr
) { 
9186     src 
= (wxSpinButton 
*) ptr
; 
9187     dest 
= (wxObject 
*) src
; 
9188     return (void *) dest
; 
9191 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
9192 static PyObject 
*_wrap_new_wxSpinButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9193     PyObject 
* _resultobj
; 
9194     wxSpinButton 
* _result
; 
9196     wxWindowID  _arg1 
= (wxWindowID 
) -1; 
9197     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
9198     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
9199     long  _arg4 
= (long ) wxSP_HORIZONTAL
; 
9200     wxString 
* _arg5 
= (wxString 
*) &wxPySPIN_BUTTON_NAME
; 
9201     PyObject 
* _argo0 
= 0; 
9203     PyObject 
* _obj2 
= 0; 
9205     PyObject 
* _obj3 
= 0; 
9206     PyObject 
* _obj5 
= 0; 
9207     char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL 
}; 
9211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))  
9214         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9215         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
9216             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p."); 
9223     if (! wxPoint_helper(_obj2
, &_arg2
)) 
9229     if (! wxSize_helper(_obj3
, &_arg3
)) 
9234     _arg5 
= wxString_in_helper(_obj5
); 
9239     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9240     _result 
= (wxSpinButton 
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
); 
9242     wxPyEndAllowThreads(__tstate
); 
9243     if (PyErr_Occurred()) return NULL
; 
9245         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p"); 
9246         _resultobj 
= Py_BuildValue("s",_ptemp
); 
9249         _resultobj 
= Py_None
; 
9258 #define new_wxPreSpinButton() (new wxSpinButton()) 
9259 static PyObject 
*_wrap_new_wxPreSpinButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9260     PyObject 
* _resultobj
; 
9261     wxSpinButton 
* _result
; 
9262     char *_kwnames
[] = {  NULL 
}; 
9266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))  
9269     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9270     _result 
= (wxSpinButton 
*)new_wxPreSpinButton(); 
9272     wxPyEndAllowThreads(__tstate
); 
9273     if (PyErr_Occurred()) return NULL
; 
9275         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p"); 
9276         _resultobj 
= Py_BuildValue("s",_ptemp
); 
9279         _resultobj 
= Py_None
; 
9284 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
9285 static PyObject 
*_wrap_wxSpinButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9286     PyObject 
* _resultobj
; 
9288     wxSpinButton 
* _arg0
; 
9290     wxWindowID  _arg2 
= (wxWindowID 
) -1; 
9291     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
9292     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
9293     long  _arg5 
= (long ) wxSP_HORIZONTAL
; 
9294     wxString 
* _arg6 
= (wxString 
*) &wxPySPIN_BUTTON_NAME
; 
9295     PyObject 
* _argo0 
= 0; 
9296     PyObject 
* _argo1 
= 0; 
9298     PyObject 
* _obj3 
= 0; 
9300     PyObject 
* _obj4 
= 0; 
9301     PyObject 
* _obj6 
= 0; 
9302     char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL 
}; 
9305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
9308         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9309         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) { 
9310             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p."); 
9315         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
9316         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
9317             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p."); 
9324     if (! wxPoint_helper(_obj3
, &_arg3
)) 
9330     if (! wxSize_helper(_obj4
, &_arg4
)) 
9335     _arg6 
= wxString_in_helper(_obj6
); 
9340     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9341     _result 
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
9343     wxPyEndAllowThreads(__tstate
); 
9344     if (PyErr_Occurred()) return NULL
; 
9345 }    _resultobj 
= Py_BuildValue("i",_result
); 
9353 #define wxSpinButton_GetMax(_swigobj)  (_swigobj->GetMax()) 
9354 static PyObject 
*_wrap_wxSpinButton_GetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9355     PyObject 
* _resultobj
; 
9357     wxSpinButton 
* _arg0
; 
9358     PyObject 
* _argo0 
= 0; 
9359     char *_kwnames
[] = { "self", NULL 
}; 
9362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))  
9365         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9366         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) { 
9367             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p."); 
9372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9373     _result 
= (int )wxSpinButton_GetMax(_arg0
); 
9375     wxPyEndAllowThreads(__tstate
); 
9376     if (PyErr_Occurred()) return NULL
; 
9377 }    _resultobj 
= Py_BuildValue("i",_result
); 
9381 #define wxSpinButton_GetMin(_swigobj)  (_swigobj->GetMin()) 
9382 static PyObject 
*_wrap_wxSpinButton_GetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9383     PyObject 
* _resultobj
; 
9385     wxSpinButton 
* _arg0
; 
9386     PyObject 
* _argo0 
= 0; 
9387     char *_kwnames
[] = { "self", NULL 
}; 
9390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))  
9393         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9394         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) { 
9395             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p."); 
9400     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9401     _result 
= (int )wxSpinButton_GetMin(_arg0
); 
9403     wxPyEndAllowThreads(__tstate
); 
9404     if (PyErr_Occurred()) return NULL
; 
9405 }    _resultobj 
= Py_BuildValue("i",_result
); 
9409 #define wxSpinButton_GetValue(_swigobj)  (_swigobj->GetValue()) 
9410 static PyObject 
*_wrap_wxSpinButton_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9411     PyObject 
* _resultobj
; 
9413     wxSpinButton 
* _arg0
; 
9414     PyObject 
* _argo0 
= 0; 
9415     char *_kwnames
[] = { "self", NULL 
}; 
9418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))  
9421         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9422         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) { 
9423             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p."); 
9428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9429     _result 
= (int )wxSpinButton_GetValue(_arg0
); 
9431     wxPyEndAllowThreads(__tstate
); 
9432     if (PyErr_Occurred()) return NULL
; 
9433 }    _resultobj 
= Py_BuildValue("i",_result
); 
9437 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetRange(_swigarg0,_swigarg1)) 
9438 static PyObject 
*_wrap_wxSpinButton_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9439     PyObject 
* _resultobj
; 
9440     wxSpinButton 
* _arg0
; 
9443     PyObject 
* _argo0 
= 0; 
9444     char *_kwnames
[] = { "self","min","max", NULL 
}; 
9447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
9450         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9451         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) { 
9452             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p."); 
9457     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9458     wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
); 
9460     wxPyEndAllowThreads(__tstate
); 
9461     if (PyErr_Occurred()) return NULL
; 
9462 }    Py_INCREF(Py_None
); 
9463     _resultobj 
= Py_None
; 
9467 #define wxSpinButton_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
9468 static PyObject 
*_wrap_wxSpinButton_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9469     PyObject 
* _resultobj
; 
9470     wxSpinButton 
* _arg0
; 
9472     PyObject 
* _argo0 
= 0; 
9473     char *_kwnames
[] = { "self","value", NULL 
}; 
9476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))  
9479         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9480         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) { 
9481             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p."); 
9486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9487     wxSpinButton_SetValue(_arg0
,_arg1
); 
9489     wxPyEndAllowThreads(__tstate
); 
9490     if (PyErr_Occurred()) return NULL
; 
9491 }    Py_INCREF(Py_None
); 
9492     _resultobj 
= Py_None
; 
9496 static void *SwigwxStaticBitmapTowxControl(void *ptr
) { 
9497     wxStaticBitmap 
*src
; 
9499     src 
= (wxStaticBitmap 
*) ptr
; 
9500     dest 
= (wxControl 
*) src
; 
9501     return (void *) dest
; 
9504 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) { 
9505     wxStaticBitmap 
*src
; 
9507     src 
= (wxStaticBitmap 
*) ptr
; 
9508     dest 
= (wxWindow 
*) src
; 
9509     return (void *) dest
; 
9512 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) { 
9513     wxStaticBitmap 
*src
; 
9515     src 
= (wxStaticBitmap 
*) ptr
; 
9516     dest 
= (wxEvtHandler 
*) src
; 
9517     return (void *) dest
; 
9520 static void *SwigwxStaticBitmapTowxObject(void *ptr
) { 
9521     wxStaticBitmap 
*src
; 
9523     src 
= (wxStaticBitmap 
*) ptr
; 
9524     dest 
= (wxObject 
*) src
; 
9525     return (void *) dest
; 
9528 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
9529 static PyObject 
*_wrap_new_wxStaticBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9530     PyObject 
* _resultobj
; 
9531     wxStaticBitmap 
* _result
; 
9535     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
9536     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
9537     long  _arg5 
= (long ) 0; 
9538     wxString 
* _arg6 
= (wxString 
*) &wxPyStaticBitmapNameStr
; 
9539     PyObject 
* _argo0 
= 0; 
9540     PyObject 
* _argo2 
= 0; 
9542     PyObject 
* _obj3 
= 0; 
9544     PyObject 
* _obj4 
= 0; 
9545     PyObject 
* _obj6 
= 0; 
9546     char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL 
}; 
9550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
9553         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9554         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
9555             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p."); 
9560         if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) { 
9561             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p."); 
9568     if (! wxPoint_helper(_obj3
, &_arg3
)) 
9574     if (! wxSize_helper(_obj4
, &_arg4
)) 
9579     _arg6 
= wxString_in_helper(_obj6
); 
9584     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9585     _result 
= (wxStaticBitmap 
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
9587     wxPyEndAllowThreads(__tstate
); 
9588     if (PyErr_Occurred()) return NULL
; 
9590         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p"); 
9591         _resultobj 
= Py_BuildValue("s",_ptemp
); 
9594         _resultobj 
= Py_None
; 
9603 #define new_wxPreStaticBitmap() (new wxStaticBitmap()) 
9604 static PyObject 
*_wrap_new_wxPreStaticBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9605     PyObject 
* _resultobj
; 
9606     wxStaticBitmap 
* _result
; 
9607     char *_kwnames
[] = {  NULL 
}; 
9611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))  
9614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9615     _result 
= (wxStaticBitmap 
*)new_wxPreStaticBitmap(); 
9617     wxPyEndAllowThreads(__tstate
); 
9618     if (PyErr_Occurred()) return NULL
; 
9620         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p"); 
9621         _resultobj 
= Py_BuildValue("s",_ptemp
); 
9624         _resultobj 
= Py_None
; 
9629 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
9630 static PyObject 
*_wrap_wxStaticBitmap_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9631     PyObject 
* _resultobj
; 
9633     wxStaticBitmap 
* _arg0
; 
9637     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
9638     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
9639     long  _arg6 
= (long ) 0; 
9640     wxString 
* _arg7 
= (wxString 
*) &wxPyStaticBitmapNameStr
; 
9641     PyObject 
* _argo0 
= 0; 
9642     PyObject 
* _argo1 
= 0; 
9643     PyObject 
* _argo3 
= 0; 
9645     PyObject 
* _obj4 
= 0; 
9647     PyObject 
* _obj5 
= 0; 
9648     PyObject 
* _obj7 
= 0; 
9649     char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL 
}; 
9652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))  
9655         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9656         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) { 
9657             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p."); 
9662         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
9663         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
9664             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p."); 
9669         if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) { 
9670             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p."); 
9677     if (! wxPoint_helper(_obj4
, &_arg4
)) 
9683     if (! wxSize_helper(_obj5
, &_arg5
)) 
9688     _arg7 
= wxString_in_helper(_obj7
); 
9693     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9694     _result 
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
); 
9696     wxPyEndAllowThreads(__tstate
); 
9697     if (PyErr_Occurred()) return NULL
; 
9698 }    _resultobj 
= Py_BuildValue("i",_result
); 
9706 #define wxStaticBitmap_GetBitmap(_swigobj)  (_swigobj->GetBitmap()) 
9707 static PyObject 
*_wrap_wxStaticBitmap_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9708     PyObject 
* _resultobj
; 
9710     wxStaticBitmap 
* _arg0
; 
9711     PyObject 
* _argo0 
= 0; 
9712     char *_kwnames
[] = { "self", NULL 
}; 
9716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))  
9719         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9720         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) { 
9721             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p."); 
9726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9727     _result 
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
)); 
9729     wxPyEndAllowThreads(__tstate
); 
9730     if (PyErr_Occurred()) return NULL
; 
9731 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
9732     _resultobj 
= Py_BuildValue("s",_ptemp
); 
9736 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0)  (_swigobj->SetBitmap(_swigarg0)) 
9737 static PyObject 
*_wrap_wxStaticBitmap_SetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9738     PyObject 
* _resultobj
; 
9739     wxStaticBitmap 
* _arg0
; 
9741     PyObject 
* _argo0 
= 0; 
9742     PyObject 
* _argo1 
= 0; 
9743     char *_kwnames
[] = { "self","bitmap", NULL 
}; 
9746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))  
9749         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9750         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) { 
9751             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p."); 
9756         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
9757             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p."); 
9762     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9763     wxStaticBitmap_SetBitmap(_arg0
,*_arg1
); 
9765     wxPyEndAllowThreads(__tstate
); 
9766     if (PyErr_Occurred()) return NULL
; 
9767 }    Py_INCREF(Py_None
); 
9768     _resultobj 
= Py_None
; 
9772 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0)  (_swigobj->SetIcon(_swigarg0)) 
9773 static PyObject 
*_wrap_wxStaticBitmap_SetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9774     PyObject 
* _resultobj
; 
9775     wxStaticBitmap 
* _arg0
; 
9777     PyObject 
* _argo0 
= 0; 
9778     PyObject 
* _argo1 
= 0; 
9779     char *_kwnames
[] = { "self","icon", NULL 
}; 
9782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))  
9785         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9786         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) { 
9787             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p."); 
9792         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) { 
9793             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p."); 
9798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9799     wxStaticBitmap_SetIcon(_arg0
,*_arg1
); 
9801     wxPyEndAllowThreads(__tstate
); 
9802     if (PyErr_Occurred()) return NULL
; 
9803 }    Py_INCREF(Py_None
); 
9804     _resultobj 
= Py_None
; 
9808 static void *SwigwxRadioBoxTowxControl(void *ptr
) { 
9811     src 
= (wxRadioBox 
*) ptr
; 
9812     dest 
= (wxControl 
*) src
; 
9813     return (void *) dest
; 
9816 static void *SwigwxRadioBoxTowxWindow(void *ptr
) { 
9819     src 
= (wxRadioBox 
*) ptr
; 
9820     dest 
= (wxWindow 
*) src
; 
9821     return (void *) dest
; 
9824 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) { 
9827     src 
= (wxRadioBox 
*) ptr
; 
9828     dest 
= (wxEvtHandler 
*) src
; 
9829     return (void *) dest
; 
9832 static void *SwigwxRadioBoxTowxObject(void *ptr
) { 
9835     src 
= (wxRadioBox 
*) ptr
; 
9836     dest 
= (wxObject 
*) src
; 
9837     return (void *) dest
; 
9840 #define new_wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (new wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10)) 
9841 static PyObject 
*_wrap_new_wxRadioBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9842     PyObject 
* _resultobj
; 
9843     wxRadioBox 
* _result
; 
9847     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
9848     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
9849     int  _arg5 
= (int ) 0; 
9850     wxString 
* _arg6 
= (wxString 
*) NULL
; 
9851     int  _arg7 
= (int ) 0; 
9852     long  _arg8 
= (long ) wxRA_HORIZONTAL
; 
9853     wxValidator 
* _arg9 
= (wxValidator 
*) &wxDefaultValidator
; 
9854     wxString 
* _arg10 
= (wxString 
*) &wxPyRadioBoxNameStr
; 
9855     PyObject 
* _argo0 
= 0; 
9856     PyObject 
* _obj2 
= 0; 
9858     PyObject 
* _obj3 
= 0; 
9860     PyObject 
* _obj4 
= 0; 
9861     PyObject 
* _obj6 
= 0; 
9862     PyObject 
* _argo9 
= 0; 
9863     PyObject 
* _obj10 
= 0; 
9864     char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL 
}; 
9868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))  
9871         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
9872         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
9873             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p."); 
9878     _arg2 
= wxString_in_helper(_obj2
); 
9885     if (! wxPoint_helper(_obj3
, &_arg3
)) 
9891     if (! wxSize_helper(_obj4
, &_arg4
)) 
9896     _arg6 
= wxString_LIST_helper(_obj6
); 
9897     if (_arg6 
== NULL
) { 
9902         if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) { 
9903             PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p."); 
9909     _arg10 
= wxString_in_helper(_obj10
); 
9915         _arg5 
= PyList_Size(_obj6
); 
9922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9923     _result 
= (wxRadioBox 
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
); 
9925     wxPyEndAllowThreads(__tstate
); 
9926     if (PyErr_Occurred()) return NULL
; 
9928         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p"); 
9929         _resultobj 
= Py_BuildValue("s",_ptemp
); 
9932         _resultobj 
= Py_None
; 
9948 #define new_wxPreRadioBox() (new wxRadioBox()) 
9949 static PyObject 
*_wrap_new_wxPreRadioBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9950     PyObject 
* _resultobj
; 
9951     wxRadioBox 
* _result
; 
9952     char *_kwnames
[] = {  NULL 
}; 
9956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))  
9959     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9960     _result 
= (wxRadioBox 
*)new_wxPreRadioBox(); 
9962     wxPyEndAllowThreads(__tstate
); 
9963     if (PyErr_Occurred()) return NULL
; 
9965         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p"); 
9966         _resultobj 
= Py_BuildValue("s",_ptemp
); 
9969         _resultobj 
= Py_None
; 
9974 #define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10)) 
9975 static PyObject 
*_wrap_wxRadioBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9976     PyObject 
* _resultobj
; 
9982     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
9983     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
9984     int  _arg6 
= (int ) 0; 
9985     wxString 
* _arg7 
= (wxString 
*) NULL
; 
9986     int  _arg8 
= (int ) 0; 
9987     long  _arg9 
= (long ) wxRA_HORIZONTAL
; 
9988     wxValidator 
* _arg10 
= (wxValidator 
*) &wxDefaultValidator
; 
9989     wxString 
* _arg11 
= (wxString 
*) &wxPyRadioBoxNameStr
; 
9990     PyObject 
* _argo0 
= 0; 
9991     PyObject 
* _argo1 
= 0; 
9992     PyObject 
* _obj3 
= 0; 
9994     PyObject 
* _obj4 
= 0; 
9996     PyObject 
* _obj5 
= 0; 
9997     PyObject 
* _obj7 
= 0; 
9998     PyObject 
* _argo10 
= 0; 
9999     PyObject 
* _obj11 
= 0; 
10000     char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL 
}; 
10003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))  
10006         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10007         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10008             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p."); 
10013         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
10014         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
10015             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p."); 
10020     _arg3 
= wxString_in_helper(_obj3
); 
10027     if (! wxPoint_helper(_obj4
, &_arg4
)) 
10033     if (! wxSize_helper(_obj5
, &_arg5
)) 
10038     _arg7 
= wxString_LIST_helper(_obj7
); 
10039     if (_arg7 
== NULL
) { 
10044         if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) { 
10045             PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p."); 
10051     _arg11 
= wxString_in_helper(_obj11
); 
10052     if (_arg11 
== NULL
) 
10057         _arg6 
= PyList_Size(_obj7
); 
10064     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10065     _result 
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
); 
10067     wxPyEndAllowThreads(__tstate
); 
10068     if (PyErr_Occurred()) return NULL
; 
10069 }    _resultobj 
= Py_BuildValue("i",_result
); 
10084 #define wxRadioBox_Enable(_swigobj,_swigarg0)  (_swigobj->Enable(_swigarg0)) 
10085 static PyObject 
*_wrap_wxRadioBox_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10086     PyObject 
* _resultobj
; 
10087     wxRadioBox 
* _arg0
; 
10089     PyObject 
* _argo0 
= 0; 
10091     char *_kwnames
[] = { "self","enable", NULL 
}; 
10094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))  
10097         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10098         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10099             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p."); 
10103     _arg1 
= (bool ) tempbool1
; 
10105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10106     wxRadioBox_Enable(_arg0
,_arg1
); 
10108     wxPyEndAllowThreads(__tstate
); 
10109     if (PyErr_Occurred()) return NULL
; 
10110 }    Py_INCREF(Py_None
); 
10111     _resultobj 
= Py_None
; 
10115 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Enable(_swigarg0,_swigarg1)) 
10116 static PyObject 
*_wrap_wxRadioBox_EnableItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10117     PyObject 
* _resultobj
; 
10118     wxRadioBox 
* _arg0
; 
10121     PyObject 
* _argo0 
= 0; 
10123     char *_kwnames
[] = { "self","n","enable", NULL 
}; 
10126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
10129         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10130         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10131             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p."); 
10135     _arg2 
= (bool ) tempbool2
; 
10137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10138     wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
); 
10140     wxPyEndAllowThreads(__tstate
); 
10141     if (PyErr_Occurred()) return NULL
; 
10142 }    Py_INCREF(Py_None
); 
10143     _resultobj 
= Py_None
; 
10147 #define wxRadioBox_FindString(_swigobj,_swigarg0)  (_swigobj->FindString(_swigarg0)) 
10148 static PyObject 
*_wrap_wxRadioBox_FindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10149     PyObject 
* _resultobj
; 
10151     wxRadioBox 
* _arg0
; 
10153     PyObject 
* _argo0 
= 0; 
10154     PyObject 
* _obj1 
= 0; 
10155     char *_kwnames
[] = { "self","string", NULL 
}; 
10158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))  
10161         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10162         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10163             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p."); 
10168     _arg1 
= wxString_in_helper(_obj1
); 
10173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10174     _result 
= (int )wxRadioBox_FindString(_arg0
,*_arg1
); 
10176     wxPyEndAllowThreads(__tstate
); 
10177     if (PyErr_Occurred()) return NULL
; 
10178 }    _resultobj 
= Py_BuildValue("i",_result
); 
10186 #define wxRadioBox_GetString(_swigobj,_swigarg0)  (_swigobj->GetString(_swigarg0)) 
10187 static PyObject 
*_wrap_wxRadioBox_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10188     PyObject 
* _resultobj
; 
10189     wxString 
* _result
; 
10190     wxRadioBox 
* _arg0
; 
10192     PyObject 
* _argo0 
= 0; 
10193     char *_kwnames
[] = { "self","n", NULL 
}; 
10196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))  
10199         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10200         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10201             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p."); 
10206     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10207     _result 
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
)); 
10209     wxPyEndAllowThreads(__tstate
); 
10210     if (PyErr_Occurred()) return NULL
; 
10213     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
10215     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
10224 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetString(_swigarg0,_swigarg1)) 
10225 static PyObject 
*_wrap_wxRadioBox_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10226     PyObject 
* _resultobj
; 
10227     wxRadioBox 
* _arg0
; 
10230     PyObject 
* _argo0 
= 0; 
10231     PyObject 
* _obj2 
= 0; 
10232     char *_kwnames
[] = { "self","n","label", NULL 
}; 
10235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
10238         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10239         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10240             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p."); 
10245     _arg2 
= wxString_in_helper(_obj2
); 
10250     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10251     wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
); 
10253     wxPyEndAllowThreads(__tstate
); 
10254     if (PyErr_Occurred()) return NULL
; 
10255 }    Py_INCREF(Py_None
); 
10256     _resultobj 
= Py_None
; 
10264 #define wxRadioBox_GetSelection(_swigobj)  (_swigobj->GetSelection()) 
10265 static PyObject 
*_wrap_wxRadioBox_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10266     PyObject 
* _resultobj
; 
10268     wxRadioBox 
* _arg0
; 
10269     PyObject 
* _argo0 
= 0; 
10270     char *_kwnames
[] = { "self", NULL 
}; 
10273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))  
10276         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10277         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10278             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p."); 
10283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10284     _result 
= (int )wxRadioBox_GetSelection(_arg0
); 
10286     wxPyEndAllowThreads(__tstate
); 
10287     if (PyErr_Occurred()) return NULL
; 
10288 }    _resultobj 
= Py_BuildValue("i",_result
); 
10292 #define wxRadioBox_GetStringSelection(_swigobj)  (_swigobj->GetStringSelection()) 
10293 static PyObject 
*_wrap_wxRadioBox_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10294     PyObject 
* _resultobj
; 
10295     wxString 
* _result
; 
10296     wxRadioBox 
* _arg0
; 
10297     PyObject 
* _argo0 
= 0; 
10298     char *_kwnames
[] = { "self", NULL 
}; 
10301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))  
10304         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10305         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10306             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p."); 
10311     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10312     _result 
= new wxString (wxRadioBox_GetStringSelection(_arg0
)); 
10314     wxPyEndAllowThreads(__tstate
); 
10315     if (PyErr_Occurred()) return NULL
; 
10318     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
10320     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
10329 #define wxRadioBox_GetCount(_swigobj)  (_swigobj->GetCount()) 
10330 static PyObject 
*_wrap_wxRadioBox_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10331     PyObject 
* _resultobj
; 
10333     wxRadioBox 
* _arg0
; 
10334     PyObject 
* _argo0 
= 0; 
10335     char *_kwnames
[] = { "self", NULL 
}; 
10338     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))  
10341         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10342         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10343             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p."); 
10348     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10349     _result 
= (int )wxRadioBox_GetCount(_arg0
); 
10351     wxPyEndAllowThreads(__tstate
); 
10352     if (PyErr_Occurred()) return NULL
; 
10353 }    _resultobj 
= Py_BuildValue("i",_result
); 
10357 #define wxRadioBox_SetSelection(_swigobj,_swigarg0)  (_swigobj->SetSelection(_swigarg0)) 
10358 static PyObject 
*_wrap_wxRadioBox_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10359     PyObject 
* _resultobj
; 
10360     wxRadioBox 
* _arg0
; 
10362     PyObject 
* _argo0 
= 0; 
10363     char *_kwnames
[] = { "self","n", NULL 
}; 
10366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))  
10369         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10370         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10371             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p."); 
10376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10377     wxRadioBox_SetSelection(_arg0
,_arg1
); 
10379     wxPyEndAllowThreads(__tstate
); 
10380     if (PyErr_Occurred()) return NULL
; 
10381 }    Py_INCREF(Py_None
); 
10382     _resultobj 
= Py_None
; 
10386 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0)  (_swigobj->SetStringSelection(_swigarg0)) 
10387 static PyObject 
*_wrap_wxRadioBox_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10388     PyObject 
* _resultobj
; 
10389     wxRadioBox 
* _arg0
; 
10391     PyObject 
* _argo0 
= 0; 
10392     PyObject 
* _obj1 
= 0; 
10393     char *_kwnames
[] = { "self","string", NULL 
}; 
10396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))  
10399         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10400         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10401             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p."); 
10406     _arg1 
= wxString_in_helper(_obj1
); 
10411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10412     wxRadioBox_SetStringSelection(_arg0
,*_arg1
); 
10414     wxPyEndAllowThreads(__tstate
); 
10415     if (PyErr_Occurred()) return NULL
; 
10416 }    Py_INCREF(Py_None
); 
10417     _resultobj 
= Py_None
; 
10425 #define wxRadioBox_Show(_swigobj,_swigarg0)  (_swigobj->Show(_swigarg0)) 
10426 static PyObject 
*_wrap_wxRadioBox_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10427     PyObject 
* _resultobj
; 
10428     wxRadioBox 
* _arg0
; 
10430     PyObject 
* _argo0 
= 0; 
10432     char *_kwnames
[] = { "self","show", NULL 
}; 
10435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))  
10438         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10439         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10440             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p."); 
10444     _arg1 
= (bool ) tempbool1
; 
10446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10447     wxRadioBox_Show(_arg0
,_arg1
); 
10449     wxPyEndAllowThreads(__tstate
); 
10450     if (PyErr_Occurred()) return NULL
; 
10451 }    Py_INCREF(Py_None
); 
10452     _resultobj 
= Py_None
; 
10456 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Show(_swigarg0,_swigarg1)) 
10457 static PyObject 
*_wrap_wxRadioBox_ShowItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10458     PyObject 
* _resultobj
; 
10459     wxRadioBox 
* _arg0
; 
10462     PyObject 
* _argo0 
= 0; 
10464     char *_kwnames
[] = { "self","item","show", NULL 
}; 
10467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
10470         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10471         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) { 
10472             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p."); 
10476     _arg2 
= (bool ) tempbool2
; 
10478     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10479     wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
); 
10481     wxPyEndAllowThreads(__tstate
); 
10482     if (PyErr_Occurred()) return NULL
; 
10483 }    Py_INCREF(Py_None
); 
10484     _resultobj 
= Py_None
; 
10488 static void *SwigwxRadioButtonTowxControl(void *ptr
) { 
10489     wxRadioButton 
*src
; 
10491     src 
= (wxRadioButton 
*) ptr
; 
10492     dest 
= (wxControl 
*) src
; 
10493     return (void *) dest
; 
10496 static void *SwigwxRadioButtonTowxWindow(void *ptr
) { 
10497     wxRadioButton 
*src
; 
10499     src 
= (wxRadioButton 
*) ptr
; 
10500     dest 
= (wxWindow 
*) src
; 
10501     return (void *) dest
; 
10504 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) { 
10505     wxRadioButton 
*src
; 
10506     wxEvtHandler 
*dest
; 
10507     src 
= (wxRadioButton 
*) ptr
; 
10508     dest 
= (wxEvtHandler 
*) src
; 
10509     return (void *) dest
; 
10512 static void *SwigwxRadioButtonTowxObject(void *ptr
) { 
10513     wxRadioButton 
*src
; 
10515     src 
= (wxRadioButton 
*) ptr
; 
10516     dest 
= (wxObject 
*) src
; 
10517     return (void *) dest
; 
10520 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
10521 static PyObject 
*_wrap_new_wxRadioButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10522     PyObject 
* _resultobj
; 
10523     wxRadioButton 
* _result
; 
10527     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
10528     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
10529     long  _arg5 
= (long ) 0; 
10530     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
10531     wxString 
* _arg7 
= (wxString 
*) &wxPyRadioButtonNameStr
; 
10532     PyObject 
* _argo0 
= 0; 
10533     PyObject 
* _obj2 
= 0; 
10535     PyObject 
* _obj3 
= 0; 
10537     PyObject 
* _obj4 
= 0; 
10538     PyObject 
* _argo6 
= 0; 
10539     PyObject 
* _obj7 
= 0; 
10540     char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL 
}; 
10544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
10547         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10548         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
10549             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p."); 
10554     _arg2 
= wxString_in_helper(_obj2
); 
10561     if (! wxPoint_helper(_obj3
, &_arg3
)) 
10567     if (! wxSize_helper(_obj4
, &_arg4
)) 
10571         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
10572             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p."); 
10578     _arg7 
= wxString_in_helper(_obj7
); 
10583     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10584     _result 
= (wxRadioButton 
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
10586     wxPyEndAllowThreads(__tstate
); 
10587     if (PyErr_Occurred()) return NULL
; 
10589         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p"); 
10590         _resultobj 
= Py_BuildValue("s",_ptemp
); 
10592         Py_INCREF(Py_None
); 
10593         _resultobj 
= Py_None
; 
10606 #define new_wxPreRadioButton() (new wxRadioButton()) 
10607 static PyObject 
*_wrap_new_wxPreRadioButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10608     PyObject 
* _resultobj
; 
10609     wxRadioButton 
* _result
; 
10610     char *_kwnames
[] = {  NULL 
}; 
10614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))  
10617     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10618     _result 
= (wxRadioButton 
*)new_wxPreRadioButton(); 
10620     wxPyEndAllowThreads(__tstate
); 
10621     if (PyErr_Occurred()) return NULL
; 
10623         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p"); 
10624         _resultobj 
= Py_BuildValue("s",_ptemp
); 
10626         Py_INCREF(Py_None
); 
10627         _resultobj 
= Py_None
; 
10632 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
10633 static PyObject 
*_wrap_wxRadioButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10634     PyObject 
* _resultobj
; 
10636     wxRadioButton 
* _arg0
; 
10640     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
10641     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
10642     long  _arg6 
= (long ) 0; 
10643     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
10644     wxString 
* _arg8 
= (wxString 
*) &wxPyRadioButtonNameStr
; 
10645     PyObject 
* _argo0 
= 0; 
10646     PyObject 
* _argo1 
= 0; 
10647     PyObject 
* _obj3 
= 0; 
10649     PyObject 
* _obj4 
= 0; 
10651     PyObject 
* _obj5 
= 0; 
10652     PyObject 
* _argo7 
= 0; 
10653     PyObject 
* _obj8 
= 0; 
10654     char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL 
}; 
10657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
10660         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10661         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) { 
10662             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p."); 
10667         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
10668         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
10669             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p."); 
10674     _arg3 
= wxString_in_helper(_obj3
); 
10681     if (! wxPoint_helper(_obj4
, &_arg4
)) 
10687     if (! wxSize_helper(_obj5
, &_arg5
)) 
10691         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
10692             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p."); 
10698     _arg8 
= wxString_in_helper(_obj8
); 
10703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10704     _result 
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
10706     wxPyEndAllowThreads(__tstate
); 
10707     if (PyErr_Occurred()) return NULL
; 
10708 }    _resultobj 
= Py_BuildValue("i",_result
); 
10720 #define wxRadioButton_GetValue(_swigobj)  (_swigobj->GetValue()) 
10721 static PyObject 
*_wrap_wxRadioButton_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10722     PyObject 
* _resultobj
; 
10724     wxRadioButton 
* _arg0
; 
10725     PyObject 
* _argo0 
= 0; 
10726     char *_kwnames
[] = { "self", NULL 
}; 
10729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))  
10732         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10733         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) { 
10734             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p."); 
10739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10740     _result 
= (bool )wxRadioButton_GetValue(_arg0
); 
10742     wxPyEndAllowThreads(__tstate
); 
10743     if (PyErr_Occurred()) return NULL
; 
10744 }    _resultobj 
= Py_BuildValue("i",_result
); 
10748 #define wxRadioButton_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
10749 static PyObject 
*_wrap_wxRadioButton_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10750     PyObject 
* _resultobj
; 
10751     wxRadioButton 
* _arg0
; 
10753     PyObject 
* _argo0 
= 0; 
10755     char *_kwnames
[] = { "self","value", NULL 
}; 
10758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))  
10761         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10762         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) { 
10763             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p."); 
10767     _arg1 
= (bool ) tempbool1
; 
10769     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10770     wxRadioButton_SetValue(_arg0
,_arg1
); 
10772     wxPyEndAllowThreads(__tstate
); 
10773     if (PyErr_Occurred()) return NULL
; 
10774 }    Py_INCREF(Py_None
); 
10775     _resultobj 
= Py_None
; 
10779 static void *SwigwxSliderTowxControl(void *ptr
) { 
10782     src 
= (wxSlider 
*) ptr
; 
10783     dest 
= (wxControl 
*) src
; 
10784     return (void *) dest
; 
10787 static void *SwigwxSliderTowxWindow(void *ptr
) { 
10790     src 
= (wxSlider 
*) ptr
; 
10791     dest 
= (wxWindow 
*) src
; 
10792     return (void *) dest
; 
10795 static void *SwigwxSliderTowxEvtHandler(void *ptr
) { 
10797     wxEvtHandler 
*dest
; 
10798     src 
= (wxSlider 
*) ptr
; 
10799     dest 
= (wxEvtHandler 
*) src
; 
10800     return (void *) dest
; 
10803 static void *SwigwxSliderTowxObject(void *ptr
) { 
10806     src 
= (wxSlider 
*) ptr
; 
10807     dest 
= (wxObject 
*) src
; 
10808     return (void *) dest
; 
10811 #define new_wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) 
10812 static PyObject 
*_wrap_new_wxSlider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10813     PyObject 
* _resultobj
; 
10814     wxSlider 
* _result
; 
10820     wxPoint 
* _arg5 
= (wxPoint 
*) &wxDefaultPosition
; 
10821     wxSize 
* _arg6 
= (wxSize 
*) &wxDefaultSize
; 
10822     long  _arg7 
= (long ) wxSL_HORIZONTAL
; 
10823     wxValidator 
* _arg8 
= (wxValidator 
*) &wxDefaultValidator
; 
10824     wxString 
* _arg9 
= (wxString 
*) &wxPySliderNameStr
; 
10825     PyObject 
* _argo0 
= 0; 
10827     PyObject 
* _obj5 
= 0; 
10829     PyObject 
* _obj6 
= 0; 
10830     PyObject 
* _argo8 
= 0; 
10831     PyObject 
* _obj9 
= 0; 
10832     char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL 
}; 
10836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))  
10839         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10840         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
10841             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p."); 
10848     if (! wxPoint_helper(_obj5
, &_arg5
)) 
10854     if (! wxSize_helper(_obj6
, &_arg6
)) 
10858         if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) { 
10859             PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p."); 
10865     _arg9 
= wxString_in_helper(_obj9
); 
10870     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10871     _result 
= (wxSlider 
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
); 
10873     wxPyEndAllowThreads(__tstate
); 
10874     if (PyErr_Occurred()) return NULL
; 
10876         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p"); 
10877         _resultobj 
= Py_BuildValue("s",_ptemp
); 
10879         Py_INCREF(Py_None
); 
10880         _resultobj 
= Py_None
; 
10889 #define new_wxPreSlider() (new wxSlider()) 
10890 static PyObject 
*_wrap_new_wxPreSlider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10891     PyObject 
* _resultobj
; 
10892     wxSlider 
* _result
; 
10893     char *_kwnames
[] = {  NULL 
}; 
10897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))  
10900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10901     _result 
= (wxSlider 
*)new_wxPreSlider(); 
10903     wxPyEndAllowThreads(__tstate
); 
10904     if (PyErr_Occurred()) return NULL
; 
10906         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p"); 
10907         _resultobj 
= Py_BuildValue("s",_ptemp
); 
10909         Py_INCREF(Py_None
); 
10910         _resultobj 
= Py_None
; 
10915 #define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) 
10916 static PyObject 
*_wrap_wxSlider_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10917     PyObject 
* _resultobj
; 
10925     wxPoint 
* _arg6 
= (wxPoint 
*) &wxDefaultPosition
; 
10926     wxSize 
* _arg7 
= (wxSize 
*) &wxDefaultSize
; 
10927     long  _arg8 
= (long ) wxSL_HORIZONTAL
; 
10928     wxValidator 
* _arg9 
= (wxValidator 
*) &wxDefaultValidator
; 
10929     wxString 
* _arg10 
= (wxString 
*) &wxPySliderNameStr
; 
10930     PyObject 
* _argo0 
= 0; 
10931     PyObject 
* _argo1 
= 0; 
10933     PyObject 
* _obj6 
= 0; 
10935     PyObject 
* _obj7 
= 0; 
10936     PyObject 
* _argo9 
= 0; 
10937     PyObject 
* _obj10 
= 0; 
10938     char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL 
}; 
10941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))  
10944         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
10945         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
10946             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p."); 
10951         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
10952         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
10953             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p."); 
10960     if (! wxPoint_helper(_obj6
, &_arg6
)) 
10966     if (! wxSize_helper(_obj7
, &_arg7
)) 
10970         if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) { 
10971             PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p."); 
10977     _arg10 
= wxString_in_helper(_obj10
); 
10978     if (_arg10 
== NULL
) 
10982     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10983     _result 
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
); 
10985     wxPyEndAllowThreads(__tstate
); 
10986     if (PyErr_Occurred()) return NULL
; 
10987 }    _resultobj 
= Py_BuildValue("i",_result
); 
10995 #define wxSlider_ClearSel(_swigobj)  (_swigobj->ClearSel()) 
10996 static PyObject 
*_wrap_wxSlider_ClearSel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10997     PyObject 
* _resultobj
; 
10999     PyObject 
* _argo0 
= 0; 
11000     char *_kwnames
[] = { "self", NULL 
}; 
11003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))  
11006         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11007         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11008             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p."); 
11013     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11014     wxSlider_ClearSel(_arg0
); 
11016     wxPyEndAllowThreads(__tstate
); 
11017     if (PyErr_Occurred()) return NULL
; 
11018 }    Py_INCREF(Py_None
); 
11019     _resultobj 
= Py_None
; 
11023 #define wxSlider_ClearTicks(_swigobj)  (_swigobj->ClearTicks()) 
11024 static PyObject 
*_wrap_wxSlider_ClearTicks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11025     PyObject 
* _resultobj
; 
11027     PyObject 
* _argo0 
= 0; 
11028     char *_kwnames
[] = { "self", NULL 
}; 
11031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))  
11034         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11035         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11036             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p."); 
11041     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11042     wxSlider_ClearTicks(_arg0
); 
11044     wxPyEndAllowThreads(__tstate
); 
11045     if (PyErr_Occurred()) return NULL
; 
11046 }    Py_INCREF(Py_None
); 
11047     _resultobj 
= Py_None
; 
11051 #define wxSlider_GetLineSize(_swigobj)  (_swigobj->GetLineSize()) 
11052 static PyObject 
*_wrap_wxSlider_GetLineSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11053     PyObject 
* _resultobj
; 
11056     PyObject 
* _argo0 
= 0; 
11057     char *_kwnames
[] = { "self", NULL 
}; 
11060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))  
11063         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11064         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11065             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p."); 
11070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11071     _result 
= (int )wxSlider_GetLineSize(_arg0
); 
11073     wxPyEndAllowThreads(__tstate
); 
11074     if (PyErr_Occurred()) return NULL
; 
11075 }    _resultobj 
= Py_BuildValue("i",_result
); 
11079 #define wxSlider_GetMax(_swigobj)  (_swigobj->GetMax()) 
11080 static PyObject 
*_wrap_wxSlider_GetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11081     PyObject 
* _resultobj
; 
11084     PyObject 
* _argo0 
= 0; 
11085     char *_kwnames
[] = { "self", NULL 
}; 
11088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))  
11091         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11092         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11093             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p."); 
11098     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11099     _result 
= (int )wxSlider_GetMax(_arg0
); 
11101     wxPyEndAllowThreads(__tstate
); 
11102     if (PyErr_Occurred()) return NULL
; 
11103 }    _resultobj 
= Py_BuildValue("i",_result
); 
11107 #define wxSlider_GetMin(_swigobj)  (_swigobj->GetMin()) 
11108 static PyObject 
*_wrap_wxSlider_GetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11109     PyObject 
* _resultobj
; 
11112     PyObject 
* _argo0 
= 0; 
11113     char *_kwnames
[] = { "self", NULL 
}; 
11116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))  
11119         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11120         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11121             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p."); 
11126     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11127     _result 
= (int )wxSlider_GetMin(_arg0
); 
11129     wxPyEndAllowThreads(__tstate
); 
11130     if (PyErr_Occurred()) return NULL
; 
11131 }    _resultobj 
= Py_BuildValue("i",_result
); 
11135 #define wxSlider_GetPageSize(_swigobj)  (_swigobj->GetPageSize()) 
11136 static PyObject 
*_wrap_wxSlider_GetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11137     PyObject 
* _resultobj
; 
11140     PyObject 
* _argo0 
= 0; 
11141     char *_kwnames
[] = { "self", NULL 
}; 
11144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))  
11147         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11148         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11149             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p."); 
11154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11155     _result 
= (int )wxSlider_GetPageSize(_arg0
); 
11157     wxPyEndAllowThreads(__tstate
); 
11158     if (PyErr_Occurred()) return NULL
; 
11159 }    _resultobj 
= Py_BuildValue("i",_result
); 
11163 #define wxSlider_GetSelEnd(_swigobj)  (_swigobj->GetSelEnd()) 
11164 static PyObject 
*_wrap_wxSlider_GetSelEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11165     PyObject 
* _resultobj
; 
11168     PyObject 
* _argo0 
= 0; 
11169     char *_kwnames
[] = { "self", NULL 
}; 
11172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))  
11175         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11176         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11177             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p."); 
11182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11183     _result 
= (int )wxSlider_GetSelEnd(_arg0
); 
11185     wxPyEndAllowThreads(__tstate
); 
11186     if (PyErr_Occurred()) return NULL
; 
11187 }    _resultobj 
= Py_BuildValue("i",_result
); 
11191 #define wxSlider_GetSelStart(_swigobj)  (_swigobj->GetSelStart()) 
11192 static PyObject 
*_wrap_wxSlider_GetSelStart(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11193     PyObject 
* _resultobj
; 
11196     PyObject 
* _argo0 
= 0; 
11197     char *_kwnames
[] = { "self", NULL 
}; 
11200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))  
11203         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11204         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11205             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p."); 
11210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11211     _result 
= (int )wxSlider_GetSelStart(_arg0
); 
11213     wxPyEndAllowThreads(__tstate
); 
11214     if (PyErr_Occurred()) return NULL
; 
11215 }    _resultobj 
= Py_BuildValue("i",_result
); 
11219 #define wxSlider_GetThumbLength(_swigobj)  (_swigobj->GetThumbLength()) 
11220 static PyObject 
*_wrap_wxSlider_GetThumbLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11221     PyObject 
* _resultobj
; 
11224     PyObject 
* _argo0 
= 0; 
11225     char *_kwnames
[] = { "self", NULL 
}; 
11228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))  
11231         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11232         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11233             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p."); 
11238     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11239     _result 
= (int )wxSlider_GetThumbLength(_arg0
); 
11241     wxPyEndAllowThreads(__tstate
); 
11242     if (PyErr_Occurred()) return NULL
; 
11243 }    _resultobj 
= Py_BuildValue("i",_result
); 
11247 #define wxSlider_GetTickFreq(_swigobj)  (_swigobj->GetTickFreq()) 
11248 static PyObject 
*_wrap_wxSlider_GetTickFreq(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11249     PyObject 
* _resultobj
; 
11252     PyObject 
* _argo0 
= 0; 
11253     char *_kwnames
[] = { "self", NULL 
}; 
11256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))  
11259         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11260         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11261             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p."); 
11266     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11267     _result 
= (int )wxSlider_GetTickFreq(_arg0
); 
11269     wxPyEndAllowThreads(__tstate
); 
11270     if (PyErr_Occurred()) return NULL
; 
11271 }    _resultobj 
= Py_BuildValue("i",_result
); 
11275 #define wxSlider_GetValue(_swigobj)  (_swigobj->GetValue()) 
11276 static PyObject 
*_wrap_wxSlider_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11277     PyObject 
* _resultobj
; 
11280     PyObject 
* _argo0 
= 0; 
11281     char *_kwnames
[] = { "self", NULL 
}; 
11284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))  
11287         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11288         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11289             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p."); 
11294     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11295     _result 
= (int )wxSlider_GetValue(_arg0
); 
11297     wxPyEndAllowThreads(__tstate
); 
11298     if (PyErr_Occurred()) return NULL
; 
11299 }    _resultobj 
= Py_BuildValue("i",_result
); 
11303 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetRange(_swigarg0,_swigarg1)) 
11304 static PyObject 
*_wrap_wxSlider_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11305     PyObject 
* _resultobj
; 
11309     PyObject 
* _argo0 
= 0; 
11310     char *_kwnames
[] = { "self","minValue","maxValue", NULL 
}; 
11313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
11316         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11317         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11318             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p."); 
11323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11324     wxSlider_SetRange(_arg0
,_arg1
,_arg2
); 
11326     wxPyEndAllowThreads(__tstate
); 
11327     if (PyErr_Occurred()) return NULL
; 
11328 }    Py_INCREF(Py_None
); 
11329     _resultobj 
= Py_None
; 
11333 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetTickFreq(_swigarg0,_swigarg1)) 
11334 static PyObject 
*_wrap_wxSlider_SetTickFreq(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11335     PyObject 
* _resultobj
; 
11339     PyObject 
* _argo0 
= 0; 
11340     char *_kwnames
[] = { "self","n","pos", NULL 
}; 
11343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
11346         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11347         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11348             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p."); 
11353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11354     wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
); 
11356     wxPyEndAllowThreads(__tstate
); 
11357     if (PyErr_Occurred()) return NULL
; 
11358 }    Py_INCREF(Py_None
); 
11359     _resultobj 
= Py_None
; 
11363 #define wxSlider_SetLineSize(_swigobj,_swigarg0)  (_swigobj->SetLineSize(_swigarg0)) 
11364 static PyObject 
*_wrap_wxSlider_SetLineSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11365     PyObject 
* _resultobj
; 
11368     PyObject 
* _argo0 
= 0; 
11369     char *_kwnames
[] = { "self","lineSize", NULL 
}; 
11372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))  
11375         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11376         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11377             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p."); 
11382     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11383     wxSlider_SetLineSize(_arg0
,_arg1
); 
11385     wxPyEndAllowThreads(__tstate
); 
11386     if (PyErr_Occurred()) return NULL
; 
11387 }    Py_INCREF(Py_None
); 
11388     _resultobj 
= Py_None
; 
11392 #define wxSlider_SetPageSize(_swigobj,_swigarg0)  (_swigobj->SetPageSize(_swigarg0)) 
11393 static PyObject 
*_wrap_wxSlider_SetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11394     PyObject 
* _resultobj
; 
11397     PyObject 
* _argo0 
= 0; 
11398     char *_kwnames
[] = { "self","pageSize", NULL 
}; 
11401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))  
11404         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11405         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11406             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p."); 
11411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11412     wxSlider_SetPageSize(_arg0
,_arg1
); 
11414     wxPyEndAllowThreads(__tstate
); 
11415     if (PyErr_Occurred()) return NULL
; 
11416 }    Py_INCREF(Py_None
); 
11417     _resultobj 
= Py_None
; 
11421 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetSelection(_swigarg0,_swigarg1)) 
11422 static PyObject 
*_wrap_wxSlider_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11423     PyObject 
* _resultobj
; 
11427     PyObject 
* _argo0 
= 0; 
11428     char *_kwnames
[] = { "self","startPos","endPos", NULL 
}; 
11431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
11434         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11435         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11436             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p."); 
11441     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11442     wxSlider_SetSelection(_arg0
,_arg1
,_arg2
); 
11444     wxPyEndAllowThreads(__tstate
); 
11445     if (PyErr_Occurred()) return NULL
; 
11446 }    Py_INCREF(Py_None
); 
11447     _resultobj 
= Py_None
; 
11451 #define wxSlider_SetThumbLength(_swigobj,_swigarg0)  (_swigobj->SetThumbLength(_swigarg0)) 
11452 static PyObject 
*_wrap_wxSlider_SetThumbLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11453     PyObject 
* _resultobj
; 
11456     PyObject 
* _argo0 
= 0; 
11457     char *_kwnames
[] = { "self","len", NULL 
}; 
11460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))  
11463         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11464         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11465             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p."); 
11470     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11471     wxSlider_SetThumbLength(_arg0
,_arg1
); 
11473     wxPyEndAllowThreads(__tstate
); 
11474     if (PyErr_Occurred()) return NULL
; 
11475 }    Py_INCREF(Py_None
); 
11476     _resultobj 
= Py_None
; 
11480 #define wxSlider_SetTick(_swigobj,_swigarg0)  (_swigobj->SetTick(_swigarg0)) 
11481 static PyObject 
*_wrap_wxSlider_SetTick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11482     PyObject 
* _resultobj
; 
11485     PyObject 
* _argo0 
= 0; 
11486     char *_kwnames
[] = { "self","tickPos", NULL 
}; 
11489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))  
11492         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11493         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11494             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p."); 
11499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11500     wxSlider_SetTick(_arg0
,_arg1
); 
11502     wxPyEndAllowThreads(__tstate
); 
11503     if (PyErr_Occurred()) return NULL
; 
11504 }    Py_INCREF(Py_None
); 
11505     _resultobj 
= Py_None
; 
11509 #define wxSlider_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
11510 static PyObject 
*_wrap_wxSlider_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11511     PyObject 
* _resultobj
; 
11514     PyObject 
* _argo0 
= 0; 
11515     char *_kwnames
[] = { "self","value", NULL 
}; 
11518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))  
11521         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11522         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) { 
11523             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p."); 
11528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11529     wxSlider_SetValue(_arg0
,_arg1
); 
11531     wxPyEndAllowThreads(__tstate
); 
11532     if (PyErr_Occurred()) return NULL
; 
11533 }    Py_INCREF(Py_None
); 
11534     _resultobj 
= Py_None
; 
11538 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) { 
11540     wxSpinButton 
*dest
; 
11541     src 
= (wxSpinCtrl 
*) ptr
; 
11542     dest 
= (wxSpinButton 
*) src
; 
11543     return (void *) dest
; 
11546 static void *SwigwxSpinCtrlTowxControl(void *ptr
) { 
11549     src 
= (wxSpinCtrl 
*) ptr
; 
11550     dest 
= (wxControl 
*) src
; 
11551     return (void *) dest
; 
11554 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) { 
11557     src 
= (wxSpinCtrl 
*) ptr
; 
11558     dest 
= (wxWindow 
*) src
; 
11559     return (void *) dest
; 
11562 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) { 
11564     wxEvtHandler 
*dest
; 
11565     src 
= (wxSpinCtrl 
*) ptr
; 
11566     dest 
= (wxEvtHandler 
*) src
; 
11567     return (void *) dest
; 
11570 static void *SwigwxSpinCtrlTowxObject(void *ptr
) { 
11573     src 
= (wxSpinCtrl 
*) ptr
; 
11574     dest 
= (wxObject 
*) src
; 
11575     return (void *) dest
; 
11578 #define new_wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) 
11579 static PyObject 
*_wrap_new_wxSpinCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11580     PyObject 
* _resultobj
; 
11581     wxSpinCtrl 
* _result
; 
11583     wxWindowID  _arg1 
= (wxWindowID 
) -1; 
11584     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
11585     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
11586     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
11587     long  _arg5 
= (long ) wxSP_ARROW_KEYS
; 
11588     int  _arg6 
= (int ) 0; 
11589     int  _arg7 
= (int ) 100; 
11590     int  _arg8 
= (int ) 0; 
11591     wxString 
* _arg9 
= (wxString 
*) &wxPySpinCtrlNameStr
; 
11592     PyObject 
* _argo0 
= 0; 
11593     PyObject 
* _obj2 
= 0; 
11595     PyObject 
* _obj3 
= 0; 
11597     PyObject 
* _obj4 
= 0; 
11598     PyObject 
* _obj9 
= 0; 
11599     char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL 
}; 
11603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))  
11606         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11607         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
11608             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p."); 
11614     _arg2 
= wxString_in_helper(_obj2
); 
11621     if (! wxPoint_helper(_obj3
, &_arg3
)) 
11627     if (! wxSize_helper(_obj4
, &_arg4
)) 
11632     _arg9 
= wxString_in_helper(_obj9
); 
11637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11638     _result 
= (wxSpinCtrl 
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
); 
11640     wxPyEndAllowThreads(__tstate
); 
11641     if (PyErr_Occurred()) return NULL
; 
11643         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p"); 
11644         _resultobj 
= Py_BuildValue("s",_ptemp
); 
11646         Py_INCREF(Py_None
); 
11647         _resultobj 
= Py_None
; 
11660 #define new_wxPreSpinCtrl() (new wxSpinCtrl()) 
11661 static PyObject 
*_wrap_new_wxPreSpinCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11662     PyObject 
* _resultobj
; 
11663     wxSpinCtrl 
* _result
; 
11664     char *_kwnames
[] = {  NULL 
}; 
11668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))  
11671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11672     _result 
= (wxSpinCtrl 
*)new_wxPreSpinCtrl(); 
11674     wxPyEndAllowThreads(__tstate
); 
11675     if (PyErr_Occurred()) return NULL
; 
11677         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p"); 
11678         _resultobj 
= Py_BuildValue("s",_ptemp
); 
11680         Py_INCREF(Py_None
); 
11681         _resultobj 
= Py_None
; 
11686 #define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) 
11687 static PyObject 
*_wrap_wxSpinCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11688     PyObject 
* _resultobj
; 
11690     wxSpinCtrl 
* _arg0
; 
11692     wxWindowID  _arg2 
= (wxWindowID 
) -1; 
11693     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
11694     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
11695     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
11696     long  _arg6 
= (long ) wxSP_ARROW_KEYS
; 
11697     int  _arg7 
= (int ) 0; 
11698     int  _arg8 
= (int ) 100; 
11699     int  _arg9 
= (int ) 0; 
11700     wxString 
* _arg10 
= (wxString 
*) &wxPySpinCtrlNameStr
; 
11701     PyObject 
* _argo0 
= 0; 
11702     PyObject 
* _argo1 
= 0; 
11703     PyObject 
* _obj3 
= 0; 
11705     PyObject 
* _obj4 
= 0; 
11707     PyObject 
* _obj5 
= 0; 
11708     PyObject 
* _obj10 
= 0; 
11709     char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL 
}; 
11712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))  
11715         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11716         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11717             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p."); 
11722         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
11723         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
11724             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p."); 
11730     _arg3 
= wxString_in_helper(_obj3
); 
11737     if (! wxPoint_helper(_obj4
, &_arg4
)) 
11743     if (! wxSize_helper(_obj5
, &_arg5
)) 
11748     _arg10 
= wxString_in_helper(_obj10
); 
11749     if (_arg10 
== NULL
) 
11753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11754     _result 
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
); 
11756     wxPyEndAllowThreads(__tstate
); 
11757     if (PyErr_Occurred()) return NULL
; 
11758 }    _resultobj 
= Py_BuildValue("i",_result
); 
11770 #define wxSpinCtrl_GetMax(_swigobj)  (_swigobj->GetMax()) 
11771 static PyObject 
*_wrap_wxSpinCtrl_GetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11772     PyObject 
* _resultobj
; 
11774     wxSpinCtrl 
* _arg0
; 
11775     PyObject 
* _argo0 
= 0; 
11776     char *_kwnames
[] = { "self", NULL 
}; 
11779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))  
11782         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11783         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11784             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p."); 
11789     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11790     _result 
= (int )wxSpinCtrl_GetMax(_arg0
); 
11792     wxPyEndAllowThreads(__tstate
); 
11793     if (PyErr_Occurred()) return NULL
; 
11794 }    _resultobj 
= Py_BuildValue("i",_result
); 
11798 #define wxSpinCtrl_GetMin(_swigobj)  (_swigobj->GetMin()) 
11799 static PyObject 
*_wrap_wxSpinCtrl_GetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11800     PyObject 
* _resultobj
; 
11802     wxSpinCtrl 
* _arg0
; 
11803     PyObject 
* _argo0 
= 0; 
11804     char *_kwnames
[] = { "self", NULL 
}; 
11807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))  
11810         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11811         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11812             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p."); 
11817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11818     _result 
= (int )wxSpinCtrl_GetMin(_arg0
); 
11820     wxPyEndAllowThreads(__tstate
); 
11821     if (PyErr_Occurred()) return NULL
; 
11822 }    _resultobj 
= Py_BuildValue("i",_result
); 
11826 #define wxSpinCtrl_GetValue(_swigobj)  (_swigobj->GetValue()) 
11827 static PyObject 
*_wrap_wxSpinCtrl_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11828     PyObject 
* _resultobj
; 
11830     wxSpinCtrl 
* _arg0
; 
11831     PyObject 
* _argo0 
= 0; 
11832     char *_kwnames
[] = { "self", NULL 
}; 
11835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))  
11838         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11839         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11840             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p."); 
11845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11846     _result 
= (int )wxSpinCtrl_GetValue(_arg0
); 
11848     wxPyEndAllowThreads(__tstate
); 
11849     if (PyErr_Occurred()) return NULL
; 
11850 }    _resultobj 
= Py_BuildValue("i",_result
); 
11854 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetRange(_swigarg0,_swigarg1)) 
11855 static PyObject 
*_wrap_wxSpinCtrl_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11856     PyObject 
* _resultobj
; 
11857     wxSpinCtrl 
* _arg0
; 
11860     PyObject 
* _argo0 
= 0; 
11861     char *_kwnames
[] = { "self","min","max", NULL 
}; 
11864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
11867         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11868         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11869             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p."); 
11874     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11875     wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
); 
11877     wxPyEndAllowThreads(__tstate
); 
11878     if (PyErr_Occurred()) return NULL
; 
11879 }    Py_INCREF(Py_None
); 
11880     _resultobj 
= Py_None
; 
11884 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
11885 static PyObject 
*_wrap_wxSpinCtrl_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11886     PyObject 
* _resultobj
; 
11887     wxSpinCtrl 
* _arg0
; 
11889     PyObject 
* _argo0 
= 0; 
11890     char *_kwnames
[] = { "self","value", NULL 
}; 
11893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))  
11896         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11897         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11898             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p."); 
11903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11904     wxSpinCtrl_SetValue(_arg0
,_arg1
); 
11906     wxPyEndAllowThreads(__tstate
); 
11907     if (PyErr_Occurred()) return NULL
; 
11908 }    Py_INCREF(Py_None
); 
11909     _resultobj 
= Py_None
; 
11913 static void  wxSpinCtrl_SetSelection(wxSpinCtrl 
*self
,long  from
,long  to
) { 
11915 static PyObject 
*_wrap_wxSpinCtrl_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11916     PyObject 
* _resultobj
; 
11917     wxSpinCtrl 
* _arg0
; 
11920     PyObject 
* _argo0 
= 0; 
11921     char *_kwnames
[] = { "self","from","to", NULL 
}; 
11924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSpinCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
11927         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
11928         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) { 
11929             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p."); 
11934     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11935     wxSpinCtrl_SetSelection(_arg0
,_arg1
,_arg2
); 
11937     wxPyEndAllowThreads(__tstate
); 
11938     if (PyErr_Occurred()) return NULL
; 
11939 }    Py_INCREF(Py_None
); 
11940     _resultobj 
= Py_None
; 
11944 static void *SwigwxToggleButtonTowxControl(void *ptr
) { 
11945     wxToggleButton 
*src
; 
11947     src 
= (wxToggleButton 
*) ptr
; 
11948     dest 
= (wxControl 
*) src
; 
11949     return (void *) dest
; 
11952 static void *SwigwxToggleButtonTowxWindow(void *ptr
) { 
11953     wxToggleButton 
*src
; 
11955     src 
= (wxToggleButton 
*) ptr
; 
11956     dest 
= (wxWindow 
*) src
; 
11957     return (void *) dest
; 
11960 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) { 
11961     wxToggleButton 
*src
; 
11962     wxEvtHandler 
*dest
; 
11963     src 
= (wxToggleButton 
*) ptr
; 
11964     dest 
= (wxEvtHandler 
*) src
; 
11965     return (void *) dest
; 
11968 static void *SwigwxToggleButtonTowxObject(void *ptr
) { 
11969     wxToggleButton 
*src
; 
11971     src 
= (wxToggleButton 
*) ptr
; 
11972     dest 
= (wxObject 
*) src
; 
11973     return (void *) dest
; 
11976 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
11977 static PyObject 
*_wrap_new_wxToggleButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11978     PyObject 
* _resultobj
; 
11979     wxToggleButton 
* _result
; 
11983     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
11984     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
11985     long  _arg5 
= (long ) 0; 
11986     wxValidator 
* _arg6 
= (wxValidator 
*) &wxDefaultValidator
; 
11987     wxString 
* _arg7 
= (wxString 
*) &wxPyCheckBoxNameStr
; 
11988     PyObject 
* _argo0 
= 0; 
11989     PyObject 
* _obj2 
= 0; 
11991     PyObject 
* _obj3 
= 0; 
11993     PyObject 
* _obj4 
= 0; 
11994     PyObject 
* _argo6 
= 0; 
11995     PyObject 
* _obj7 
= 0; 
11996     char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL 
}; 
12000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))  
12003         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
12004         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
12005             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p."); 
12010     _arg2 
= wxString_in_helper(_obj2
); 
12017     if (! wxPoint_helper(_obj3
, &_arg3
)) 
12023     if (! wxSize_helper(_obj4
, &_arg4
)) 
12027         if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) { 
12028             PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p."); 
12034     _arg7 
= wxString_in_helper(_obj7
); 
12039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12040     _result 
= (wxToggleButton 
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
); 
12042     wxPyEndAllowThreads(__tstate
); 
12043     if (PyErr_Occurred()) return NULL
; 
12045         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p"); 
12046         _resultobj 
= Py_BuildValue("s",_ptemp
); 
12048         Py_INCREF(Py_None
); 
12049         _resultobj 
= Py_None
; 
12062 #define new_wxPreToggleButton() (new wxToggleButton()) 
12063 static PyObject 
*_wrap_new_wxPreToggleButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12064     PyObject 
* _resultobj
; 
12065     wxToggleButton 
* _result
; 
12066     char *_kwnames
[] = {  NULL 
}; 
12070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))  
12073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12074     _result 
= (wxToggleButton 
*)new_wxPreToggleButton(); 
12076     wxPyEndAllowThreads(__tstate
); 
12077     if (PyErr_Occurred()) return NULL
; 
12079         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p"); 
12080         _resultobj 
= Py_BuildValue("s",_ptemp
); 
12082         Py_INCREF(Py_None
); 
12083         _resultobj 
= Py_None
; 
12088 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) 
12089 static PyObject 
*_wrap_wxToggleButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12090     PyObject 
* _resultobj
; 
12092     wxToggleButton 
* _arg0
; 
12096     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
12097     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
12098     long  _arg6 
= (long ) 0; 
12099     wxValidator 
* _arg7 
= (wxValidator 
*) &wxDefaultValidator
; 
12100     wxString 
* _arg8 
= (wxString 
*) &wxPyCheckBoxNameStr
; 
12101     PyObject 
* _argo0 
= 0; 
12102     PyObject 
* _argo1 
= 0; 
12103     PyObject 
* _obj3 
= 0; 
12105     PyObject 
* _obj4 
= 0; 
12107     PyObject 
* _obj5 
= 0; 
12108     PyObject 
* _argo7 
= 0; 
12109     PyObject 
* _obj8 
= 0; 
12110     char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL 
}; 
12113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))  
12116         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
12117         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) { 
12118             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p."); 
12123         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
12124         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
12125             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p."); 
12130     _arg3 
= wxString_in_helper(_obj3
); 
12137     if (! wxPoint_helper(_obj4
, &_arg4
)) 
12143     if (! wxSize_helper(_obj5
, &_arg5
)) 
12147         if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) { 
12148             PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p."); 
12154     _arg8 
= wxString_in_helper(_obj8
); 
12159     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12160     _result 
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
); 
12162     wxPyEndAllowThreads(__tstate
); 
12163     if (PyErr_Occurred()) return NULL
; 
12164 }    _resultobj 
= Py_BuildValue("i",_result
); 
12176 #define wxToggleButton_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
12177 static PyObject 
*_wrap_wxToggleButton_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12178     PyObject 
* _resultobj
; 
12179     wxToggleButton 
* _arg0
; 
12181     PyObject 
* _argo0 
= 0; 
12183     char *_kwnames
[] = { "self","value", NULL 
}; 
12186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))  
12189         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
12190         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) { 
12191             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p."); 
12195     _arg1 
= (bool ) tempbool1
; 
12197     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12198     wxToggleButton_SetValue(_arg0
,_arg1
); 
12200     wxPyEndAllowThreads(__tstate
); 
12201     if (PyErr_Occurred()) return NULL
; 
12202 }    Py_INCREF(Py_None
); 
12203     _resultobj 
= Py_None
; 
12207 #define wxToggleButton_GetValue(_swigobj)  (_swigobj->GetValue()) 
12208 static PyObject 
*_wrap_wxToggleButton_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12209     PyObject 
* _resultobj
; 
12211     wxToggleButton 
* _arg0
; 
12212     PyObject 
* _argo0 
= 0; 
12213     char *_kwnames
[] = { "self", NULL 
}; 
12216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))  
12219         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
12220         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) { 
12221             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p."); 
12226     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12227     _result 
= (bool )wxToggleButton_GetValue(_arg0
); 
12229     wxPyEndAllowThreads(__tstate
); 
12230     if (PyErr_Occurred()) return NULL
; 
12231 }    _resultobj 
= Py_BuildValue("i",_result
); 
12235 #define wxToggleButton_SetLabel(_swigobj,_swigarg0)  (_swigobj->SetLabel(_swigarg0)) 
12236 static PyObject 
*_wrap_wxToggleButton_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12237     PyObject 
* _resultobj
; 
12238     wxToggleButton 
* _arg0
; 
12240     PyObject 
* _argo0 
= 0; 
12241     PyObject 
* _obj1 
= 0; 
12242     char *_kwnames
[] = { "self","label", NULL 
}; 
12245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))  
12248         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
12249         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) { 
12250             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p."); 
12255     _arg1 
= wxString_in_helper(_obj1
); 
12260     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12261     wxToggleButton_SetLabel(_arg0
,*_arg1
); 
12263     wxPyEndAllowThreads(__tstate
); 
12264     if (PyErr_Occurred()) return NULL
; 
12265 }    Py_INCREF(Py_None
); 
12266     _resultobj 
= Py_None
; 
12274 static PyMethodDef controlscMethods
[] = { 
12275          { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12276          { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12277          { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12278          { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12279          { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12280          { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12281          { "wxSpinCtrl_SetSelection", (PyCFunction
) _wrap_wxSpinCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12282          { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12283          { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12284          { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12285          { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12286          { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12287          { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12288          { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12289          { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12290          { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12291          { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12292          { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12293          { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12294          { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12295          { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12296          { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12297          { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12298          { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12299          { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12300          { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12301          { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12302          { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12303          { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12304          { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12305          { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12306          { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12307          { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12308          { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12309          { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12310          { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12311          { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12312          { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12313          { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12314          { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12315          { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12316          { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12317          { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12318          { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12319          { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12320          { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12321          { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12322          { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12323          { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12324          { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12325          { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12326          { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12327          { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12328          { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12329          { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12330          { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12331          { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12332          { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12333          { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12334          { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12335          { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12336          { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12337          { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12338          { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12339          { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12340          { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12341          { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12342          { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12343          { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12344          { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12345          { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12346          { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12347          { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12348          { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12349          { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12350          { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12351          { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12352          { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12353          { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12354          { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12355          { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12356          { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12357          { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12358          { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12359          { "wxTextCtrl_IsMultiLine", (PyCFunction
) _wrap_wxTextCtrl_IsMultiLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12360          { "wxTextCtrl_IsSingleLine", (PyCFunction
) _wrap_wxTextCtrl_IsSingleLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12361          { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12362          { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12363          { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12364          { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12365          { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12366          { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12367          { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12368          { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12369          { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12370          { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12371          { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12372          { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12373          { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12374          { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12375          { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12376          { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12377          { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12378          { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12379          { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12380          { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12381          { "wxTextCtrl_GetStyle", (PyCFunction
) _wrap_wxTextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12382          { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12383          { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12384          { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12385          { "wxTextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_wxTextCtrl_EmulateKeyPress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12386          { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12387          { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12388          { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12389          { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12390          { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12391          { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12392          { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12393          { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12394          { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12395          { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12396          { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12397          { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12398          { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12399          { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12400          { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12401          { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12402          { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12403          { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12404          { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12405          { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12406          { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12407          { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12408          { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12409          { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12410          { "wxTextAttr_GetFlags", (PyCFunction
) _wrap_wxTextAttr_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12411          { "wxTextAttr_GetRightIndent", (PyCFunction
) _wrap_wxTextAttr_GetRightIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12412          { "wxTextAttr_GetLeftIndent", (PyCFunction
) _wrap_wxTextAttr_GetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12413          { "wxTextAttr_GetTabs", (PyCFunction
) _wrap_wxTextAttr_GetTabs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12414          { "wxTextAttr_GetAlignment", (PyCFunction
) _wrap_wxTextAttr_GetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12415          { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12416          { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12417          { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12418          { "wxTextAttr_HasFlag", (PyCFunction
) _wrap_wxTextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12419          { "wxTextAttr_HasRightIndent", (PyCFunction
) _wrap_wxTextAttr_HasRightIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12420          { "wxTextAttr_HasLeftIndent", (PyCFunction
) _wrap_wxTextAttr_HasLeftIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12421          { "wxTextAttr_HasTabs", (PyCFunction
) _wrap_wxTextAttr_HasTabs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12422          { "wxTextAttr_HasAlignment", (PyCFunction
) _wrap_wxTextAttr_HasAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12423          { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12424          { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12425          { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12426          { "wxTextAttr_SetFlags", (PyCFunction
) _wrap_wxTextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12427          { "wxTextAttr_SetRightIndent", (PyCFunction
) _wrap_wxTextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12428          { "wxTextAttr_SetLeftIndent", (PyCFunction
) _wrap_wxTextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12429          { "wxTextAttr_SetTabs", (PyCFunction
) _wrap_wxTextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12430          { "wxTextAttr_SetAlignment", (PyCFunction
) _wrap_wxTextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12431          { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12432          { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12433          { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12434          { "wxTextAttr_Init", (PyCFunction
) _wrap_wxTextAttr_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12435          { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12436          { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12437          { "wxCheckListBox_HitTestXY", (PyCFunction
) _wrap_wxCheckListBox_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12438          { "wxCheckListBox_HitTest", (PyCFunction
) _wrap_wxCheckListBox_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12439          { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12440          { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12441          { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12442          { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12443          { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12444          { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12445          { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12446          { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12447          { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12448          { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12449          { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12450          { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12451          { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12452          { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12453          { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12454          { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12455          { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12456          { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12457          { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12458          { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12459          { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12460          { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12461          { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12462          { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12463          { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12464          { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12465          { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12466          { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12467          { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12468          { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12469          { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12470          { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12471          { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12472          { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12473          { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12474          { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12475          { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12476          { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12477          { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12478          { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12479          { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12480          { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12481          { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12482          { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12483          { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12484          { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12485          { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12486          { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12487          { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12488          { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12489          { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12490          { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12491          { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12492          { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12493          { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12494          { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12495          { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12496          { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12497          { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12498          { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12499          { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12500          { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12501          { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12502          { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12503          { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12504          { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12505          { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12506          { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12507          { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12508          { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12509          { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12510          { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12511          { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12512          { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12513          { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12514          { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12515          { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12516          { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12517          { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12518          { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12519          { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12520          { "wxCheckBox_IsChecked", (PyCFunction
) _wrap_wxCheckBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12521          { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12522          { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12523          { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12524          { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12525          { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12526          { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12527          { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12528          { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12529          { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12530          { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12531          { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12532          { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12533          { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12534          { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12535          { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12536          { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12537          { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12538          { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12539          { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12540          { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12541          { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12542          { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12543          { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12544          { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12545          { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12546          { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12547          { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12548          { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12549          { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12550          { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12551          { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12552          { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12553          { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12554          { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12555          { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12556          { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12557          { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12558          { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12559          { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12560          { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12561          { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12562          { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12563          { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
12570  * This table is used by the pointer type-checker 
12572 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
12573     { "_signed_long","_long",0}, 
12574     { "_wxPrintQuality","_wxCoord",0}, 
12575     { "_wxPrintQuality","_int",0}, 
12576     { "_wxPrintQuality","_signed_int",0}, 
12577     { "_wxPrintQuality","_unsigned_int",0}, 
12578     { "_wxPrintQuality","_wxWindowID",0}, 
12579     { "_wxPrintQuality","_uint",0}, 
12580     { "_wxPrintQuality","_EBool",0}, 
12581     { "_wxPrintQuality","_size_t",0}, 
12582     { "_wxPrintQuality","_time_t",0}, 
12583     { "_byte","_unsigned_char",0}, 
12584     { "_long","_unsigned_long",0}, 
12585     { "_long","_signed_long",0}, 
12586     { "_size_t","_wxCoord",0}, 
12587     { "_size_t","_wxPrintQuality",0}, 
12588     { "_size_t","_time_t",0}, 
12589     { "_size_t","_unsigned_int",0}, 
12590     { "_size_t","_int",0}, 
12591     { "_size_t","_wxWindowID",0}, 
12592     { "_size_t","_uint",0}, 
12593     { "_uint","_wxCoord",0}, 
12594     { "_uint","_wxPrintQuality",0}, 
12595     { "_uint","_time_t",0}, 
12596     { "_uint","_size_t",0}, 
12597     { "_uint","_unsigned_int",0}, 
12598     { "_uint","_int",0}, 
12599     { "_uint","_wxWindowID",0}, 
12600     { "_wxChar","_char",0}, 
12601     { "_char","_wxChar",0}, 
12602     { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
}, 
12603     { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, 
12604     { "_EBool","_wxCoord",0}, 
12605     { "_EBool","_wxPrintQuality",0}, 
12606     { "_EBool","_signed_int",0}, 
12607     { "_EBool","_int",0}, 
12608     { "_EBool","_wxWindowID",0}, 
12609     { "_unsigned_long","_long",0}, 
12610     { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, 
12611     { "_signed_int","_wxCoord",0}, 
12612     { "_signed_int","_wxPrintQuality",0}, 
12613     { "_signed_int","_EBool",0}, 
12614     { "_signed_int","_wxWindowID",0}, 
12615     { "_signed_int","_int",0}, 
12616     { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
}, 
12617     { "_WXTYPE","_short",0}, 
12618     { "_WXTYPE","_signed_short",0}, 
12619     { "_WXTYPE","_unsigned_short",0}, 
12620     { "_unsigned_short","_WXTYPE",0}, 
12621     { "_unsigned_short","_short",0}, 
12622     { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
}, 
12623     { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
}, 
12624     { "_wxObject","_wxSlider",SwigwxSliderTowxObject
}, 
12625     { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
}, 
12626     { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
}, 
12627     { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
}, 
12628     { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
}, 
12629     { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
}, 
12630     { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
}, 
12631     { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
}, 
12632     { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
}, 
12633     { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
}, 
12634     { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
}, 
12635     { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
}, 
12636     { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
}, 
12637     { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
}, 
12638     { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
}, 
12639     { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
}, 
12640     { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
}, 
12641     { "_wxObject","_wxButton",SwigwxButtonTowxObject
}, 
12642     { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
}, 
12643     { "_wxObject","_wxControl",SwigwxControlTowxObject
}, 
12644     { "_signed_short","_WXTYPE",0}, 
12645     { "_signed_short","_short",0}, 
12646     { "_unsigned_char","_byte",0}, 
12647     { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
}, 
12648     { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
}, 
12649     { "_wxControl","_wxSlider",SwigwxSliderTowxControl
}, 
12650     { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
}, 
12651     { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
}, 
12652     { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
}, 
12653     { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
}, 
12654     { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
}, 
12655     { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
}, 
12656     { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
}, 
12657     { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
}, 
12658     { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
}, 
12659     { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
}, 
12660     { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
}, 
12661     { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
}, 
12662     { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
}, 
12663     { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
}, 
12664     { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
}, 
12665     { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
}, 
12666     { "_wxControl","_wxButton",SwigwxButtonTowxControl
}, 
12667     { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
}, 
12668     { "_unsigned_int","_wxCoord",0}, 
12669     { "_unsigned_int","_wxPrintQuality",0}, 
12670     { "_unsigned_int","_time_t",0}, 
12671     { "_unsigned_int","_size_t",0}, 
12672     { "_unsigned_int","_uint",0}, 
12673     { "_unsigned_int","_wxWindowID",0}, 
12674     { "_unsigned_int","_int",0}, 
12675     { "_short","_WXTYPE",0}, 
12676     { "_short","_unsigned_short",0}, 
12677     { "_short","_signed_short",0}, 
12678     { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
}, 
12679     { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
}, 
12680     { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
}, 
12681     { "_wxWindowID","_wxCoord",0}, 
12682     { "_wxWindowID","_wxPrintQuality",0}, 
12683     { "_wxWindowID","_time_t",0}, 
12684     { "_wxWindowID","_size_t",0}, 
12685     { "_wxWindowID","_EBool",0}, 
12686     { "_wxWindowID","_uint",0}, 
12687     { "_wxWindowID","_int",0}, 
12688     { "_wxWindowID","_signed_int",0}, 
12689     { "_wxWindowID","_unsigned_int",0}, 
12690     { "_int","_wxCoord",0}, 
12691     { "_int","_wxPrintQuality",0}, 
12692     { "_int","_time_t",0}, 
12693     { "_int","_size_t",0}, 
12694     { "_int","_EBool",0}, 
12695     { "_int","_uint",0}, 
12696     { "_int","_wxWindowID",0}, 
12697     { "_int","_unsigned_int",0}, 
12698     { "_int","_signed_int",0}, 
12699     { "_time_t","_wxCoord",0}, 
12700     { "_time_t","_wxPrintQuality",0}, 
12701     { "_time_t","_unsigned_int",0}, 
12702     { "_time_t","_int",0}, 
12703     { "_time_t","_wxWindowID",0}, 
12704     { "_time_t","_uint",0}, 
12705     { "_time_t","_size_t",0}, 
12706     { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
}, 
12707     { "_wxCoord","_int",0}, 
12708     { "_wxCoord","_signed_int",0}, 
12709     { "_wxCoord","_unsigned_int",0}, 
12710     { "_wxCoord","_wxWindowID",0}, 
12711     { "_wxCoord","_uint",0}, 
12712     { "_wxCoord","_EBool",0}, 
12713     { "_wxCoord","_size_t",0}, 
12714     { "_wxCoord","_time_t",0}, 
12715     { "_wxCoord","_wxPrintQuality",0}, 
12716     { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
}, 
12717     { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
}, 
12718     { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
}, 
12719     { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
}, 
12720     { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
}, 
12721     { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
}, 
12722     { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
}, 
12723     { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
}, 
12724     { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
}, 
12725     { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
}, 
12726     { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
}, 
12727     { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
}, 
12728     { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
}, 
12729     { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
}, 
12730     { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
}, 
12731     { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
}, 
12732     { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
}, 
12733     { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
}, 
12734     { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
}, 
12735     { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
}, 
12736     { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
}, 
12737     { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
}, 
12738     { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
}, 
12739     { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
}, 
12740     { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
}, 
12741     { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
}, 
12742     { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
}, 
12743     { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
}, 
12744     { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
}, 
12745     { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
}, 
12746     { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
}, 
12747     { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
}, 
12748     { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
}, 
12749     { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
}, 
12750     { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
}, 
12751     { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
}, 
12752     { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
}, 
12753     { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
}, 
12754     { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
}, 
12755     { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
}, 
12756     { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
}, 
12757     { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
}, 
12758     { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
}, 
12759     { "_wxWindow","_wxControl",SwigwxControlTowxWindow
}, 
12762 static PyObject 
*SWIG_globals
; 
12766 SWIGEXPORT(void) initcontrolsc() { 
12768          SWIG_globals 
= SWIG_newvarlink(); 
12769          m 
= Py_InitModule("controlsc", controlscMethods
); 
12770          d 
= PyModule_GetDict(m
); 
12771          PyDict_SetItemString(d
,"cvar", SWIG_globals
); 
12772          SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
); 
12773          PyDict_SetItemString(d
,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL
)); 
12774          PyDict_SetItemString(d
,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL
)); 
12775          PyDict_SetItemString(d
,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY
)); 
12776          PyDict_SetItemString(d
,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE
)); 
12777          PyDict_SetItemString(d
,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB
)); 
12778          PyDict_SetItemString(d
,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT
)); 
12779          PyDict_SetItemString(d
,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER
)); 
12780          PyDict_SetItemString(d
,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT
)); 
12781          PyDict_SetItemString(d
,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE
)); 
12782          PyDict_SetItemString(d
,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH
)); 
12783          PyDict_SetItemString(d
,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER
)); 
12784          PyDict_SetItemString(d
,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD
)); 
12785          PyDict_SetItemString(d
,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL
)); 
12786          PyDict_SetItemString(d
,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL
)); 
12787          PyDict_SetItemString(d
,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP
)); 
12788          PyDict_SetItemString(d
,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP
)); 
12789          PyDict_SetItemString(d
,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP
)); 
12790          PyDict_SetItemString(d
,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2
)); 
12791          PyDict_SetItemString(d
,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR
)); 
12792          PyDict_SetItemString(d
,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR
)); 
12793          PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE
)); 
12794          PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE
)); 
12795          PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT
)); 
12796          PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC
)); 
12797          PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE
)); 
12798          PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT
)); 
12799          PyDict_SetItemString(d
,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT
)); 
12800          PyDict_SetItemString(d
,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT
)); 
12801          PyDict_SetItemString(d
,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT
)); 
12802          PyDict_SetItemString(d
,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS
)); 
12803          PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT
)); 
12804          PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT
)); 
12805          PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE
)); 
12806          PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER
)); 
12807          PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT
)); 
12808          PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED
)); 
12809          PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
)); 
12812    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
12813         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);