2  * FILE : src/mac/stattool.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    initstattoolc 
  55 #define SWIG_name    "stattoolc" 
  58 #include <wx/toolbar.h> 
  61 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
  67     } else if (target 
== Py_None
) { 
  71         if (!PyTuple_Check(target
)) { 
  73             target 
= PyTuple_New(1); 
  74             PyTuple_SetItem(target
, 0, o2
); 
  77         PyTuple_SetItem(o3
, 0, o
); 
  80         target 
= PySequence_Concat(o2
, o3
); 
  87     // Put some wx default wxChar* values into wxStrings. 
  88     DECLARE_DEF_STRING(StatusLineNameStr
); 
  89     DECLARE_DEF_STRING(ToolBarNameStr
); 
  90     static const wxString 
wxPyEmptyString(wxT("")); 
  94 static void *SwigwxStatusBarTowxWindow(void *ptr
) { 
  97     src 
= (wxStatusBar 
*) ptr
; 
  98     dest 
= (wxWindow 
*) src
; 
 102 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) { 
 105     src 
= (wxStatusBar 
*) ptr
; 
 106     dest 
= (wxEvtHandler 
*) src
; 
 107     return (void *) dest
; 
 110 static void *SwigwxStatusBarTowxObject(void *ptr
) { 
 113     src 
= (wxStatusBar 
*) ptr
; 
 114     dest 
= (wxObject 
*) src
; 
 115     return (void *) dest
; 
 118 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
 119 static PyObject 
*_wrap_new_wxStatusBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 120     PyObject 
* _resultobj
; 
 121     wxStatusBar 
* _result
; 
 123     wxWindowID  _arg1 
= (wxWindowID 
) -1; 
 124     long  _arg2 
= (long ) wxST_SIZEGRIP
; 
 125     wxString 
* _arg3 
= (wxString 
*) &wxPyStatusLineNameStr
; 
 126     PyObject 
* _argo0 
= 0; 
 127     PyObject 
* _obj3 
= 0; 
 128     char *_kwnames
[] = { "parent","id","style","name", NULL 
}; 
 132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilO:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))  
 135         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 136         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
 137             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p."); 
 143     _arg3 
= wxString_in_helper(_obj3
); 
 148     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 149     _result 
= (wxStatusBar 
*)new_wxStatusBar(_arg0
,_arg1
,_arg2
,*_arg3
); 
 151     wxPyEndAllowThreads(__tstate
); 
 152     if (PyErr_Occurred()) return NULL
; 
 154         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p"); 
 155         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 158         _resultobj 
= Py_None
; 
 167 #define new_wxPreStatusBar() (new wxStatusBar()) 
 168 static PyObject 
*_wrap_new_wxPreStatusBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 169     PyObject 
* _resultobj
; 
 170     wxStatusBar 
* _result
; 
 171     char *_kwnames
[] = {  NULL 
}; 
 175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStatusBar",_kwnames
))  
 178     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 179     _result 
= (wxStatusBar 
*)new_wxPreStatusBar(); 
 181     wxPyEndAllowThreads(__tstate
); 
 182     if (PyErr_Occurred()) return NULL
; 
 184         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p"); 
 185         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 188         _resultobj 
= Py_None
; 
 193 #define wxStatusBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
 194 static PyObject 
*_wrap_wxStatusBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 195     PyObject 
* _resultobj
; 
 200     long  _arg3 
= (long ) wxST_SIZEGRIP
; 
 201     wxString 
* _arg4 
= (wxString 
*) &wxPyStatusLineNameStr
; 
 202     PyObject 
* _argo0 
= 0; 
 203     PyObject 
* _argo1 
= 0; 
 204     PyObject 
* _obj4 
= 0; 
 205     char *_kwnames
[] = { "self","parent","id","style","name", NULL 
}; 
 208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|lO:wxStatusBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
))  
 211         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 212         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 213             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_Create. Expected _wxStatusBar_p."); 
 218         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
 219         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
 220             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_Create. Expected _wxWindow_p."); 
 226     _arg4 
= wxString_in_helper(_obj4
); 
 231     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 232     _result 
= (bool )wxStatusBar_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
); 
 234     wxPyEndAllowThreads(__tstate
); 
 235     if (PyErr_Occurred()) return NULL
; 
 236 }    _resultobj 
= Py_BuildValue("i",_result
); 
 244 static wxRect 
* wxStatusBar_GetFieldRect(wxStatusBar 
*self
,long  item
) { 
 245             wxRect
* rect
= new wxRect
; 
 246             self
->GetFieldRect(item
, *rect
); 
 249 static PyObject 
*_wrap_wxStatusBar_GetFieldRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 250     PyObject 
* _resultobj
; 
 254     PyObject 
* _argo0 
= 0; 
 255     char *_kwnames
[] = { "self","item", NULL 
}; 
 259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))  
 262         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 263         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 264             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p."); 
 269     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 270     _result 
= (wxRect 
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
); 
 272     wxPyEndAllowThreads(__tstate
); 
 273     if (PyErr_Occurred()) return NULL
; 
 275         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p"); 
 276         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 279         _resultobj 
= Py_None
; 
 284 #define wxStatusBar_GetFieldsCount(_swigobj)  (_swigobj->GetFieldsCount()) 
 285 static PyObject 
*_wrap_wxStatusBar_GetFieldsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 286     PyObject 
* _resultobj
; 
 289     PyObject 
* _argo0 
= 0; 
 290     char *_kwnames
[] = { "self", NULL 
}; 
 293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))  
 296         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 297         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 298             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p."); 
 303     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 304     _result 
= (int )wxStatusBar_GetFieldsCount(_arg0
); 
 306     wxPyEndAllowThreads(__tstate
); 
 307     if (PyErr_Occurred()) return NULL
; 
 308 }    _resultobj 
= Py_BuildValue("i",_result
); 
 312 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0)  (_swigobj->GetStatusText(_swigarg0)) 
 313 static PyObject 
*_wrap_wxStatusBar_GetStatusText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 314     PyObject 
* _resultobj
; 
 317     int  _arg1 
= (int ) 0; 
 318     PyObject 
* _argo0 
= 0; 
 319     char *_kwnames
[] = { "self","ir", NULL 
}; 
 322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))  
 325         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 326         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 327             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p."); 
 332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 333     _result 
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
)); 
 335     wxPyEndAllowThreads(__tstate
); 
 336     if (PyErr_Occurred()) return NULL
; 
 339     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
 341     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 350 #define wxStatusBar_GetBorderX(_swigobj)  (_swigobj->GetBorderX()) 
 351 static PyObject 
*_wrap_wxStatusBar_GetBorderX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 352     PyObject 
* _resultobj
; 
 355     PyObject 
* _argo0 
= 0; 
 356     char *_kwnames
[] = { "self", NULL 
}; 
 359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderX",_kwnames
,&_argo0
))  
 362         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 363         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 364             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p."); 
 369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 370     _result 
= (int )wxStatusBar_GetBorderX(_arg0
); 
 372     wxPyEndAllowThreads(__tstate
); 
 373     if (PyErr_Occurred()) return NULL
; 
 374 }    _resultobj 
= Py_BuildValue("i",_result
); 
 378 #define wxStatusBar_GetBorderY(_swigobj)  (_swigobj->GetBorderY()) 
 379 static PyObject 
*_wrap_wxStatusBar_GetBorderY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 380     PyObject 
* _resultobj
; 
 383     PyObject 
* _argo0 
= 0; 
 384     char *_kwnames
[] = { "self", NULL 
}; 
 387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderY",_kwnames
,&_argo0
))  
 390         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 391         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 392             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p."); 
 397     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 398     _result 
= (int )wxStatusBar_GetBorderY(_arg0
); 
 400     wxPyEndAllowThreads(__tstate
); 
 401     if (PyErr_Occurred()) return NULL
; 
 402 }    _resultobj 
= Py_BuildValue("i",_result
); 
 406 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0)  (_swigobj->SetFieldsCount(_swigarg0)) 
 407 static PyObject 
*_wrap_wxStatusBar_SetFieldsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 408     PyObject 
* _resultobj
; 
 410     int  _arg1 
= (int ) 1; 
 411     PyObject 
* _argo0 
= 0; 
 412     char *_kwnames
[] = { "self","number", NULL 
}; 
 415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))  
 418         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 419         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 420             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p."); 
 425     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 426     wxStatusBar_SetFieldsCount(_arg0
,_arg1
); 
 428     wxPyEndAllowThreads(__tstate
); 
 429     if (PyErr_Occurred()) return NULL
; 
 430 }    Py_INCREF(Py_None
); 
 431     _resultobj 
= Py_None
; 
 435 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetStatusText(_swigarg0,_swigarg1)) 
 436 static PyObject 
*_wrap_wxStatusBar_SetStatusText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 437     PyObject 
* _resultobj
; 
 440     int  _arg2 
= (int ) 0; 
 441     PyObject 
* _argo0 
= 0; 
 442     PyObject 
* _obj1 
= 0; 
 443     char *_kwnames
[] = { "self","text","i", NULL 
}; 
 446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))  
 449         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 450         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 451             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p."); 
 456     _arg1 
= wxString_in_helper(_obj1
); 
 461     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 462     wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
); 
 464     wxPyEndAllowThreads(__tstate
); 
 465     if (PyErr_Occurred()) return NULL
; 
 466 }    Py_INCREF(Py_None
); 
 467     _resultobj 
= Py_None
; 
 475 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) 
 476 static PyObject 
*_wrap_wxStatusBar_SetStatusWidths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 477     PyObject 
* _resultobj
; 
 481     PyObject 
* _argo0 
= 0; 
 482     PyObject 
* _obj2 
= 0; 
 483     char *_kwnames
[] = { "self","choices", NULL 
}; 
 486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))  
 489         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 490         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 491             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p."); 
 497     _arg2 
= int_LIST_helper(_obj2
); 
 504         _arg1 
= PyList_Size(_obj2
); 
 511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 512     wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
); 
 514     wxPyEndAllowThreads(__tstate
); 
 515     if (PyErr_Occurred()) return NULL
; 
 516 }    Py_INCREF(Py_None
); 
 517     _resultobj 
= Py_None
; 
 524 #define wxStatusBar_PushStatusText(_swigobj,_swigarg0,_swigarg1)  (_swigobj->PushStatusText(_swigarg0,_swigarg1)) 
 525 static PyObject 
*_wrap_wxStatusBar_PushStatusText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 526     PyObject 
* _resultobj
; 
 529     int  _arg2 
= (int ) 0; 
 530     PyObject 
* _argo0 
= 0; 
 531     PyObject 
* _obj1 
= 0; 
 532     char *_kwnames
[] = { "self","text","number", NULL 
}; 
 535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_PushStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))  
 538         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 539         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 540             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_PushStatusText. Expected _wxStatusBar_p."); 
 545     _arg1 
= wxString_in_helper(_obj1
); 
 550     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 551     wxStatusBar_PushStatusText(_arg0
,*_arg1
,_arg2
); 
 553     wxPyEndAllowThreads(__tstate
); 
 554     if (PyErr_Occurred()) return NULL
; 
 555 }    Py_INCREF(Py_None
); 
 556     _resultobj 
= Py_None
; 
 564 #define wxStatusBar_PopStatusText(_swigobj,_swigarg0)  (_swigobj->PopStatusText(_swigarg0)) 
 565 static PyObject 
*_wrap_wxStatusBar_PopStatusText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 566     PyObject 
* _resultobj
; 
 568     int  _arg1 
= (int ) 0; 
 569     PyObject 
* _argo0 
= 0; 
 570     char *_kwnames
[] = { "self","number", NULL 
}; 
 573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_PopStatusText",_kwnames
,&_argo0
,&_arg1
))  
 576         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 577         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 578             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_PopStatusText. Expected _wxStatusBar_p."); 
 583     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 584     wxStatusBar_PopStatusText(_arg0
,_arg1
); 
 586     wxPyEndAllowThreads(__tstate
); 
 587     if (PyErr_Occurred()) return NULL
; 
 588 }    Py_INCREF(Py_None
); 
 589     _resultobj 
= Py_None
; 
 593 #define wxStatusBar_SetMinHeight(_swigobj,_swigarg0)  (_swigobj->SetMinHeight(_swigarg0)) 
 594 static PyObject 
*_wrap_wxStatusBar_SetMinHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 595     PyObject 
* _resultobj
; 
 598     PyObject 
* _argo0 
= 0; 
 599     char *_kwnames
[] = { "self","height", NULL 
}; 
 602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStatusBar_SetMinHeight",_kwnames
,&_argo0
,&_arg1
))  
 605         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 606         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 607             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p."); 
 612     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 613     wxStatusBar_SetMinHeight(_arg0
,_arg1
); 
 615     wxPyEndAllowThreads(__tstate
); 
 616     if (PyErr_Occurred()) return NULL
; 
 617 }    Py_INCREF(Py_None
); 
 618     _resultobj 
= Py_None
; 
 622 static void *SwigwxToolBarToolBaseTowxObject(void *ptr
) { 
 623     wxToolBarToolBase 
*src
; 
 625     src 
= (wxToolBarToolBase 
*) ptr
; 
 626     dest 
= (wxObject 
*) src
; 
 627     return (void *) dest
; 
 630 static void  wxToolBarToolBase_Destroy(wxToolBarToolBase 
*self
) { delete self
; } 
 631 static PyObject 
*_wrap_wxToolBarToolBase_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 632     PyObject 
* _resultobj
; 
 633     wxToolBarToolBase 
* _arg0
; 
 634     PyObject 
* _argo0 
= 0; 
 635     char *_kwnames
[] = { "self", NULL 
}; 
 638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))  
 641         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 642         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 643             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p."); 
 648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 649     wxToolBarToolBase_Destroy(_arg0
); 
 651     wxPyEndAllowThreads(__tstate
); 
 652     if (PyErr_Occurred()) return NULL
; 
 653 }    Py_INCREF(Py_None
); 
 654     _resultobj 
= Py_None
; 
 658 #define wxToolBarToolBase_GetId(_swigobj)  (_swigobj->GetId()) 
 659 static PyObject 
*_wrap_wxToolBarToolBase_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 660     PyObject 
* _resultobj
; 
 662     wxToolBarToolBase 
* _arg0
; 
 663     PyObject 
* _argo0 
= 0; 
 664     char *_kwnames
[] = { "self", NULL 
}; 
 667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))  
 670         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 671         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 672             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p."); 
 677     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 678     _result 
= (int )wxToolBarToolBase_GetId(_arg0
); 
 680     wxPyEndAllowThreads(__tstate
); 
 681     if (PyErr_Occurred()) return NULL
; 
 682 }    _resultobj 
= Py_BuildValue("i",_result
); 
 686 #define wxToolBarToolBase_GetControl(_swigobj)  (_swigobj->GetControl()) 
 687 static PyObject 
*_wrap_wxToolBarToolBase_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 688     PyObject 
* _resultobj
; 
 690     wxToolBarToolBase 
* _arg0
; 
 691     PyObject 
* _argo0 
= 0; 
 692     char *_kwnames
[] = { "self", NULL 
}; 
 695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))  
 698         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 699         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 700             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p."); 
 705     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 706     _result 
= (wxControl 
*)wxToolBarToolBase_GetControl(_arg0
); 
 708     wxPyEndAllowThreads(__tstate
); 
 709     if (PyErr_Occurred()) return NULL
; 
 710 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
 714 #define wxToolBarToolBase_GetToolBar(_swigobj)  (_swigobj->GetToolBar()) 
 715 static PyObject 
*_wrap_wxToolBarToolBase_GetToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 716     PyObject 
* _resultobj
; 
 717     wxToolBarBase 
* _result
; 
 718     wxToolBarToolBase 
* _arg0
; 
 719     PyObject 
* _argo0 
= 0; 
 720     char *_kwnames
[] = { "self", NULL 
}; 
 723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))  
 726         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 727         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 728             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p."); 
 733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 734     _result 
= (wxToolBarBase 
*)wxToolBarToolBase_GetToolBar(_arg0
); 
 736     wxPyEndAllowThreads(__tstate
); 
 737     if (PyErr_Occurred()) return NULL
; 
 738 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
 742 #define wxToolBarToolBase_IsButton(_swigobj)  (_swigobj->IsButton()) 
 743 static PyObject 
*_wrap_wxToolBarToolBase_IsButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 744     PyObject 
* _resultobj
; 
 746     wxToolBarToolBase 
* _arg0
; 
 747     PyObject 
* _argo0 
= 0; 
 748     char *_kwnames
[] = { "self", NULL 
}; 
 751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))  
 754         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 755         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 756             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p."); 
 761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 762     _result 
= (int )wxToolBarToolBase_IsButton(_arg0
); 
 764     wxPyEndAllowThreads(__tstate
); 
 765     if (PyErr_Occurred()) return NULL
; 
 766 }    _resultobj 
= Py_BuildValue("i",_result
); 
 770 #define wxToolBarToolBase_IsControl(_swigobj)  (_swigobj->IsControl()) 
 771 static PyObject 
*_wrap_wxToolBarToolBase_IsControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 772     PyObject 
* _resultobj
; 
 774     wxToolBarToolBase 
* _arg0
; 
 775     PyObject 
* _argo0 
= 0; 
 776     char *_kwnames
[] = { "self", NULL 
}; 
 779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))  
 782         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 783         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 784             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p."); 
 789     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 790     _result 
= (int )wxToolBarToolBase_IsControl(_arg0
); 
 792     wxPyEndAllowThreads(__tstate
); 
 793     if (PyErr_Occurred()) return NULL
; 
 794 }    _resultobj 
= Py_BuildValue("i",_result
); 
 798 #define wxToolBarToolBase_IsSeparator(_swigobj)  (_swigobj->IsSeparator()) 
 799 static PyObject 
*_wrap_wxToolBarToolBase_IsSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 800     PyObject 
* _resultobj
; 
 802     wxToolBarToolBase 
* _arg0
; 
 803     PyObject 
* _argo0 
= 0; 
 804     char *_kwnames
[] = { "self", NULL 
}; 
 807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))  
 810         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 811         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 812             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p."); 
 817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 818     _result 
= (int )wxToolBarToolBase_IsSeparator(_arg0
); 
 820     wxPyEndAllowThreads(__tstate
); 
 821     if (PyErr_Occurred()) return NULL
; 
 822 }    _resultobj 
= Py_BuildValue("i",_result
); 
 826 #define wxToolBarToolBase_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
 827 static PyObject 
*_wrap_wxToolBarToolBase_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 828     PyObject 
* _resultobj
; 
 830     wxToolBarToolBase 
* _arg0
; 
 831     PyObject 
* _argo0 
= 0; 
 832     char *_kwnames
[] = { "self", NULL 
}; 
 835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))  
 838         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 839         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 840             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p."); 
 845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 846     _result 
= (int )wxToolBarToolBase_GetStyle(_arg0
); 
 848     wxPyEndAllowThreads(__tstate
); 
 849     if (PyErr_Occurred()) return NULL
; 
 850 }    _resultobj 
= Py_BuildValue("i",_result
); 
 854 #define wxToolBarToolBase_GetKind(_swigobj)  (_swigobj->GetKind()) 
 855 static PyObject 
*_wrap_wxToolBarToolBase_GetKind(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 856     PyObject 
* _resultobj
; 
 858     wxToolBarToolBase 
* _arg0
; 
 859     PyObject 
* _argo0 
= 0; 
 860     char *_kwnames
[] = { "self", NULL 
}; 
 863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetKind",_kwnames
,&_argo0
))  
 866         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 867         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 868             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetKind. Expected _wxToolBarToolBase_p."); 
 873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 874     _result 
= (wxItemKind 
)wxToolBarToolBase_GetKind(_arg0
); 
 876     wxPyEndAllowThreads(__tstate
); 
 877     if (PyErr_Occurred()) return NULL
; 
 878 }    _resultobj 
= Py_BuildValue("i",_result
); 
 882 #define wxToolBarToolBase_IsEnabled(_swigobj)  (_swigobj->IsEnabled()) 
 883 static PyObject 
*_wrap_wxToolBarToolBase_IsEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 884     PyObject 
* _resultobj
; 
 886     wxToolBarToolBase 
* _arg0
; 
 887     PyObject 
* _argo0 
= 0; 
 888     char *_kwnames
[] = { "self", NULL 
}; 
 891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))  
 894         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 895         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 896             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p."); 
 901     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 902     _result 
= (bool )wxToolBarToolBase_IsEnabled(_arg0
); 
 904     wxPyEndAllowThreads(__tstate
); 
 905     if (PyErr_Occurred()) return NULL
; 
 906 }    _resultobj 
= Py_BuildValue("i",_result
); 
 910 #define wxToolBarToolBase_IsToggled(_swigobj)  (_swigobj->IsToggled()) 
 911 static PyObject 
*_wrap_wxToolBarToolBase_IsToggled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 912     PyObject 
* _resultobj
; 
 914     wxToolBarToolBase 
* _arg0
; 
 915     PyObject 
* _argo0 
= 0; 
 916     char *_kwnames
[] = { "self", NULL 
}; 
 919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))  
 922         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 923         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 924             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p."); 
 929     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 930     _result 
= (bool )wxToolBarToolBase_IsToggled(_arg0
); 
 932     wxPyEndAllowThreads(__tstate
); 
 933     if (PyErr_Occurred()) return NULL
; 
 934 }    _resultobj 
= Py_BuildValue("i",_result
); 
 938 #define wxToolBarToolBase_CanBeToggled(_swigobj)  (_swigobj->CanBeToggled()) 
 939 static PyObject 
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 940     PyObject 
* _resultobj
; 
 942     wxToolBarToolBase 
* _arg0
; 
 943     PyObject 
* _argo0 
= 0; 
 944     char *_kwnames
[] = { "self", NULL 
}; 
 947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))  
 950         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 951         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 952             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p."); 
 957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 958     _result 
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
); 
 960     wxPyEndAllowThreads(__tstate
); 
 961     if (PyErr_Occurred()) return NULL
; 
 962 }    _resultobj 
= Py_BuildValue("i",_result
); 
 966 #define wxToolBarToolBase_GetNormalBitmap(_swigobj)  (_swigobj->GetNormalBitmap()) 
 967 static PyObject 
*_wrap_wxToolBarToolBase_GetNormalBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 968     PyObject 
* _resultobj
; 
 970     wxToolBarToolBase 
* _arg0
; 
 971     PyObject 
* _argo0 
= 0; 
 972     char *_kwnames
[] = { "self", NULL 
}; 
 976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetNormalBitmap",_kwnames
,&_argo0
))  
 979         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 980         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 981             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetNormalBitmap. Expected _wxToolBarToolBase_p."); 
 986     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 987     const wxBitmap 
& _result_ref 
= wxToolBarToolBase_GetNormalBitmap(_arg0
); 
 988     _result 
= (wxBitmap 
*) &_result_ref
; 
 990     wxPyEndAllowThreads(__tstate
); 
 991     if (PyErr_Occurred()) return NULL
; 
 993         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p"); 
 994         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 997         _resultobj 
= Py_None
; 
1002 #define wxToolBarToolBase_GetDisabledBitmap(_swigobj)  (_swigobj->GetDisabledBitmap()) 
1003 static PyObject 
*_wrap_wxToolBarToolBase_GetDisabledBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1004     PyObject 
* _resultobj
; 
1006     wxToolBarToolBase 
* _arg0
; 
1007     PyObject 
* _argo0 
= 0; 
1008     char *_kwnames
[] = { "self", NULL 
}; 
1012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetDisabledBitmap",_kwnames
,&_argo0
))  
1015         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1016         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1017             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetDisabledBitmap. Expected _wxToolBarToolBase_p."); 
1022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1023     const wxBitmap 
& _result_ref 
= wxToolBarToolBase_GetDisabledBitmap(_arg0
); 
1024     _result 
= (wxBitmap 
*) &_result_ref
; 
1026     wxPyEndAllowThreads(__tstate
); 
1027     if (PyErr_Occurred()) return NULL
; 
1029         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p"); 
1030         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1033         _resultobj 
= Py_None
; 
1038 #define wxToolBarToolBase_GetBitmap(_swigobj)  (_swigobj->GetBitmap()) 
1039 static PyObject 
*_wrap_wxToolBarToolBase_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1040     PyObject 
* _resultobj
; 
1042     wxToolBarToolBase 
* _arg0
; 
1043     PyObject 
* _argo0 
= 0; 
1044     char *_kwnames
[] = { "self", NULL 
}; 
1048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))  
1051         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1052         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1053             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p."); 
1058     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1059     _result 
= new wxBitmap (wxToolBarToolBase_GetBitmap(_arg0
)); 
1061     wxPyEndAllowThreads(__tstate
); 
1062     if (PyErr_Occurred()) return NULL
; 
1063 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
1064     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1068 #define wxToolBarToolBase_GetLabel(_swigobj)  (_swigobj->GetLabel()) 
1069 static PyObject 
*_wrap_wxToolBarToolBase_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1070     PyObject 
* _resultobj
; 
1072     wxToolBarToolBase 
* _arg0
; 
1073     PyObject 
* _argo0 
= 0; 
1074     char *_kwnames
[] = { "self", NULL 
}; 
1077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLabel",_kwnames
,&_argo0
))  
1080         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1081         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1082             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLabel. Expected _wxToolBarToolBase_p."); 
1087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1088     _result 
= new wxString (wxToolBarToolBase_GetLabel(_arg0
)); 
1090     wxPyEndAllowThreads(__tstate
); 
1091     if (PyErr_Occurred()) return NULL
; 
1094     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1096     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1105 #define wxToolBarToolBase_GetShortHelp(_swigobj)  (_swigobj->GetShortHelp()) 
1106 static PyObject 
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1107     PyObject 
* _resultobj
; 
1109     wxToolBarToolBase 
* _arg0
; 
1110     PyObject 
* _argo0 
= 0; 
1111     char *_kwnames
[] = { "self", NULL 
}; 
1114     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))  
1117         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1118         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1119             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p."); 
1124     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1125     _result 
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
)); 
1127     wxPyEndAllowThreads(__tstate
); 
1128     if (PyErr_Occurred()) return NULL
; 
1131     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1133     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1142 #define wxToolBarToolBase_GetLongHelp(_swigobj)  (_swigobj->GetLongHelp()) 
1143 static PyObject 
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1144     PyObject 
* _resultobj
; 
1146     wxToolBarToolBase 
* _arg0
; 
1147     PyObject 
* _argo0 
= 0; 
1148     char *_kwnames
[] = { "self", NULL 
}; 
1151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))  
1154         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1155         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1156             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p."); 
1161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1162     _result 
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
)); 
1164     wxPyEndAllowThreads(__tstate
); 
1165     if (PyErr_Occurred()) return NULL
; 
1168     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1170     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1179 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0)  (_swigobj->Enable(_swigarg0)) 
1180 static PyObject 
*_wrap_wxToolBarToolBase_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1181     PyObject 
* _resultobj
; 
1183     wxToolBarToolBase 
* _arg0
; 
1185     PyObject 
* _argo0 
= 0; 
1187     char *_kwnames
[] = { "self","enable", NULL 
}; 
1190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))  
1193         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1194         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1195             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p."); 
1199     _arg1 
= (bool ) tempbool1
; 
1201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1202     _result 
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
); 
1204     wxPyEndAllowThreads(__tstate
); 
1205     if (PyErr_Occurred()) return NULL
; 
1206 }    _resultobj 
= Py_BuildValue("i",_result
); 
1210 #define wxToolBarToolBase_Toggle(_swigobj)  (_swigobj->Toggle()) 
1211 static PyObject 
*_wrap_wxToolBarToolBase_Toggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1212     PyObject 
* _resultobj
; 
1213     wxToolBarToolBase 
* _arg0
; 
1214     PyObject 
* _argo0 
= 0; 
1215     char *_kwnames
[] = { "self", NULL 
}; 
1218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
))  
1221         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1222         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1223             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p."); 
1228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1229     wxToolBarToolBase_Toggle(_arg0
); 
1231     wxPyEndAllowThreads(__tstate
); 
1232     if (PyErr_Occurred()) return NULL
; 
1233 }    Py_INCREF(Py_None
); 
1234     _resultobj 
= Py_None
; 
1238 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0)  (_swigobj->SetToggle(_swigarg0)) 
1239 static PyObject 
*_wrap_wxToolBarToolBase_SetToggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1240     PyObject 
* _resultobj
; 
1242     wxToolBarToolBase 
* _arg0
; 
1244     PyObject 
* _argo0 
= 0; 
1246     char *_kwnames
[] = { "self","toggle", NULL 
}; 
1249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))  
1252         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1253         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1254             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p."); 
1258     _arg1 
= (bool ) tempbool1
; 
1260     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1261     _result 
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
); 
1263     wxPyEndAllowThreads(__tstate
); 
1264     if (PyErr_Occurred()) return NULL
; 
1265 }    _resultobj 
= Py_BuildValue("i",_result
); 
1269 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0)  (_swigobj->SetShortHelp(_swigarg0)) 
1270 static PyObject 
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1271     PyObject 
* _resultobj
; 
1273     wxToolBarToolBase 
* _arg0
; 
1275     PyObject 
* _argo0 
= 0; 
1276     PyObject 
* _obj1 
= 0; 
1277     char *_kwnames
[] = { "self","help", NULL 
}; 
1280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))  
1283         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1284         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1285             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p."); 
1290     _arg1 
= wxString_in_helper(_obj1
); 
1295     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1296     _result 
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
); 
1298     wxPyEndAllowThreads(__tstate
); 
1299     if (PyErr_Occurred()) return NULL
; 
1300 }    _resultobj 
= Py_BuildValue("i",_result
); 
1308 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0)  (_swigobj->SetLongHelp(_swigarg0)) 
1309 static PyObject 
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1310     PyObject 
* _resultobj
; 
1312     wxToolBarToolBase 
* _arg0
; 
1314     PyObject 
* _argo0 
= 0; 
1315     PyObject 
* _obj1 
= 0; 
1316     char *_kwnames
[] = { "self","help", NULL 
}; 
1319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))  
1322         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1323         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1324             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p."); 
1329     _arg1 
= wxString_in_helper(_obj1
); 
1334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1335     _result 
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
); 
1337     wxPyEndAllowThreads(__tstate
); 
1338     if (PyErr_Occurred()) return NULL
; 
1339 }    _resultobj 
= Py_BuildValue("i",_result
); 
1347 #define wxToolBarToolBase_SetNormalBitmap(_swigobj,_swigarg0)  (_swigobj->SetNormalBitmap(_swigarg0)) 
1348 static PyObject 
*_wrap_wxToolBarToolBase_SetNormalBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1349     PyObject 
* _resultobj
; 
1350     wxToolBarToolBase 
* _arg0
; 
1352     PyObject 
* _argo0 
= 0; 
1353     PyObject 
* _argo1 
= 0; 
1354     char *_kwnames
[] = { "self","bmp", NULL 
}; 
1357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetNormalBitmap",_kwnames
,&_argo0
,&_argo1
))  
1360         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1361         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1362             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetNormalBitmap. Expected _wxToolBarToolBase_p."); 
1367         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1368             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetNormalBitmap. Expected _wxBitmap_p."); 
1373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1374     wxToolBarToolBase_SetNormalBitmap(_arg0
,*_arg1
); 
1376     wxPyEndAllowThreads(__tstate
); 
1377     if (PyErr_Occurred()) return NULL
; 
1378 }    Py_INCREF(Py_None
); 
1379     _resultobj 
= Py_None
; 
1383 #define wxToolBarToolBase_SetDisabledBitmap(_swigobj,_swigarg0)  (_swigobj->SetDisabledBitmap(_swigarg0)) 
1384 static PyObject 
*_wrap_wxToolBarToolBase_SetDisabledBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1385     PyObject 
* _resultobj
; 
1386     wxToolBarToolBase 
* _arg0
; 
1388     PyObject 
* _argo0 
= 0; 
1389     PyObject 
* _argo1 
= 0; 
1390     char *_kwnames
[] = { "self","bmp", NULL 
}; 
1393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetDisabledBitmap",_kwnames
,&_argo0
,&_argo1
))  
1396         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1397         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1398             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetDisabledBitmap. Expected _wxToolBarToolBase_p."); 
1403         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1404             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetDisabledBitmap. Expected _wxBitmap_p."); 
1409     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1410     wxToolBarToolBase_SetDisabledBitmap(_arg0
,*_arg1
); 
1412     wxPyEndAllowThreads(__tstate
); 
1413     if (PyErr_Occurred()) return NULL
; 
1414 }    Py_INCREF(Py_None
); 
1415     _resultobj 
= Py_None
; 
1419 #define wxToolBarToolBase_SetLabel(_swigobj,_swigarg0)  (_swigobj->SetLabel(_swigarg0)) 
1420 static PyObject 
*_wrap_wxToolBarToolBase_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1421     PyObject 
* _resultobj
; 
1422     wxToolBarToolBase 
* _arg0
; 
1424     PyObject 
* _argo0 
= 0; 
1425     PyObject 
* _obj1 
= 0; 
1426     char *_kwnames
[] = { "self","label", NULL 
}; 
1429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLabel",_kwnames
,&_argo0
,&_obj1
))  
1432         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1433         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1434             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLabel. Expected _wxToolBarToolBase_p."); 
1439     _arg1 
= wxString_in_helper(_obj1
); 
1444     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1445     wxToolBarToolBase_SetLabel(_arg0
,*_arg1
); 
1447     wxPyEndAllowThreads(__tstate
); 
1448     if (PyErr_Occurred()) return NULL
; 
1449 }    Py_INCREF(Py_None
); 
1450     _resultobj 
= Py_None
; 
1458 #define wxToolBarToolBase_Detach(_swigobj)  (_swigobj->Detach()) 
1459 static PyObject 
*_wrap_wxToolBarToolBase_Detach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1460     PyObject 
* _resultobj
; 
1461     wxToolBarToolBase 
* _arg0
; 
1462     PyObject 
* _argo0 
= 0; 
1463     char *_kwnames
[] = { "self", NULL 
}; 
1466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))  
1469         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1470         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1471             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p."); 
1476     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1477     wxToolBarToolBase_Detach(_arg0
); 
1479     wxPyEndAllowThreads(__tstate
); 
1480     if (PyErr_Occurred()) return NULL
; 
1481 }    Py_INCREF(Py_None
); 
1482     _resultobj 
= Py_None
; 
1486 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0)  (_swigobj->Attach(_swigarg0)) 
1487 static PyObject 
*_wrap_wxToolBarToolBase_Attach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1488     PyObject 
* _resultobj
; 
1489     wxToolBarToolBase 
* _arg0
; 
1490     wxToolBarBase 
* _arg1
; 
1491     PyObject 
* _argo0 
= 0; 
1492     PyObject 
* _argo1 
= 0; 
1493     char *_kwnames
[] = { "self","tbar", NULL 
}; 
1496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))  
1499         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1500         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1501             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p."); 
1506         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1507         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) { 
1508             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p."); 
1513     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1514     wxToolBarToolBase_Attach(_arg0
,_arg1
); 
1516     wxPyEndAllowThreads(__tstate
); 
1517     if (PyErr_Occurred()) return NULL
; 
1518 }    Py_INCREF(Py_None
); 
1519     _resultobj 
= Py_None
; 
1523 static PyObject 
* wxToolBarToolBase_GetClientData(wxToolBarToolBase 
*self
) { 
1524             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetClientData(); 
1526                 Py_INCREF(udata
->m_obj
); 
1527                 return udata
->m_obj
; 
1533 static PyObject 
*_wrap_wxToolBarToolBase_GetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1534     PyObject 
* _resultobj
; 
1536     wxToolBarToolBase 
* _arg0
; 
1537     PyObject 
* _argo0 
= 0; 
1538     char *_kwnames
[] = { "self", NULL 
}; 
1541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))  
1544         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1545         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1546             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p."); 
1551     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1552     _result 
= (PyObject 
*)wxToolBarToolBase_GetClientData(_arg0
); 
1554     wxPyEndAllowThreads(__tstate
); 
1555     if (PyErr_Occurred()) return NULL
; 
1557   _resultobj 
= _result
; 
1562 static void  wxToolBarToolBase_SetClientData(wxToolBarToolBase 
*self
,PyObject 
* clientData
) { 
1563             self
->SetClientData(new wxPyUserData(clientData
)); 
1565 static PyObject 
*_wrap_wxToolBarToolBase_SetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1566     PyObject 
* _resultobj
; 
1567     wxToolBarToolBase 
* _arg0
; 
1569     PyObject 
* _argo0 
= 0; 
1570     PyObject 
* _obj1 
= 0; 
1571     char *_kwnames
[] = { "self","clientData", NULL 
}; 
1574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))  
1577         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1578         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1579             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p."); 
1587     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1588     wxToolBarToolBase_SetClientData(_arg0
,_arg1
); 
1590     wxPyEndAllowThreads(__tstate
); 
1591     if (PyErr_Occurred()) return NULL
; 
1592 }    Py_INCREF(Py_None
); 
1593     _resultobj 
= Py_None
; 
1597 static void *SwigwxToolBarBaseTowxControl(void *ptr
) { 
1600     src 
= (wxToolBarBase 
*) ptr
; 
1601     dest 
= (wxControl 
*) src
; 
1602     return (void *) dest
; 
1605 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) { 
1608     src 
= (wxToolBarBase 
*) ptr
; 
1609     dest 
= (wxWindow 
*) src
; 
1610     return (void *) dest
; 
1613 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) { 
1616     src 
= (wxToolBarBase 
*) ptr
; 
1617     dest 
= (wxEvtHandler 
*) src
; 
1618     return (void *) dest
; 
1621 static void *SwigwxToolBarBaseTowxObject(void *ptr
) { 
1624     src 
= (wxToolBarBase 
*) ptr
; 
1625     dest 
= (wxObject 
*) src
; 
1626     return (void *) dest
; 
1629 static wxToolBarToolBase 
* wxToolBarBase_DoAddTool(wxToolBarBase 
*self
,int  id
,const wxString 
& label
,const wxBitmap 
& bitmap
,const wxBitmap 
& bmpDisabled
,wxItemKind  kind
,const wxString 
& shortHelp
,const wxString 
& longHelp
,PyObject 
* clientData
) { 
1630             wxPyUserData
* udata 
= NULL
; 
1631             if (clientData 
&& clientData 
!= Py_None
) 
1632                 udata 
= new wxPyUserData(clientData
); 
1633             return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
, 
1634                                  shortHelp
, longHelp
, udata
); 
1636 static PyObject 
*_wrap_wxToolBarBase_DoAddTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1637     PyObject 
* _resultobj
; 
1638     wxToolBarToolBase 
* _result
; 
1639     wxToolBarBase 
* _arg0
; 
1643     wxBitmap 
* _arg4 
= (wxBitmap 
*) &wxNullBitmap
; 
1644     wxItemKind  _arg5 
= (wxItemKind 
) wxITEM_NORMAL
; 
1645     wxString 
* _arg6 
= (wxString 
*) &wxPyEmptyString
; 
1646     wxString 
* _arg7 
= (wxString 
*) &wxPyEmptyString
; 
1647     PyObject 
* _arg8 
= (PyObject 
*) NULL
; 
1648     PyObject 
* _argo0 
= 0; 
1649     PyObject 
* _obj2 
= 0; 
1650     PyObject 
* _argo3 
= 0; 
1651     PyObject 
* _argo4 
= 0; 
1652     PyObject 
* _obj6 
= 0; 
1653     PyObject 
* _obj7 
= 0; 
1654     PyObject 
* _obj8 
= 0; 
1655     char *_kwnames
[] = { "self","id","label","bitmap","bmpDisabled","kind","shortHelp","longHelp","clientData", NULL 
}; 
1658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|OiOOO:wxToolBarBase_DoAddTool",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))  
1661         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1662         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1663             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DoAddTool. Expected _wxToolBarBase_p."); 
1668     _arg2 
= wxString_in_helper(_obj2
); 
1673         if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) { 
1674             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_DoAddTool. Expected _wxBitmap_p."); 
1679         if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) { 
1680             PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_DoAddTool. Expected _wxBitmap_p."); 
1686     _arg6 
= wxString_in_helper(_obj6
); 
1692     _arg7 
= wxString_in_helper(_obj7
); 
1701     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1702     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoAddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
); 
1704     wxPyEndAllowThreads(__tstate
); 
1705     if (PyErr_Occurred()) return NULL
; 
1706 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1722 static wxToolBarToolBase 
* wxToolBarBase_DoInsertTool(wxToolBarBase 
*self
,size_t  pos
,int  id
,const wxString 
& label
,const wxBitmap 
& bitmap
,const wxBitmap 
& bmpDisabled
,wxItemKind  kind
,const wxString 
& shortHelp
,const wxString 
& longHelp
,PyObject 
* clientData
) { 
1723             wxPyUserData
* udata 
= NULL
; 
1724             if (clientData 
&& clientData 
!= Py_None
) 
1725                 udata 
= new wxPyUserData(clientData
); 
1726             return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
, 
1727                                     shortHelp
, longHelp
, udata
); 
1729 static PyObject 
*_wrap_wxToolBarBase_DoInsertTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1730     PyObject 
* _resultobj
; 
1731     wxToolBarToolBase 
* _result
; 
1732     wxToolBarBase 
* _arg0
; 
1737     wxBitmap 
* _arg5 
= (wxBitmap 
*) &wxNullBitmap
; 
1738     wxItemKind  _arg6 
= (wxItemKind 
) wxITEM_NORMAL
; 
1739     wxString 
* _arg7 
= (wxString 
*) &wxPyEmptyString
; 
1740     wxString 
* _arg8 
= (wxString 
*) &wxPyEmptyString
; 
1741     PyObject 
* _arg9 
= (PyObject 
*) NULL
; 
1742     PyObject 
* _argo0 
= 0; 
1743     PyObject 
* _obj3 
= 0; 
1744     PyObject 
* _argo4 
= 0; 
1745     PyObject 
* _argo5 
= 0; 
1746     PyObject 
* _obj7 
= 0; 
1747     PyObject 
* _obj8 
= 0; 
1748     PyObject 
* _obj9 
= 0; 
1749     char *_kwnames
[] = { "self","pos","id","label","bitmap","bmpDisabled","kind","shortHelp","longHelp","clientData", NULL 
}; 
1752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|OiOOO:wxToolBarBase_DoInsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_argo5
,&_arg6
,&_obj7
,&_obj8
,&_obj9
))  
1755         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1756         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1757             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DoInsertTool. Expected _wxToolBarBase_p."); 
1762     _arg3 
= wxString_in_helper(_obj3
); 
1767         if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) { 
1768             PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_DoInsertTool. Expected _wxBitmap_p."); 
1773         if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxBitmap_p")) { 
1774             PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxToolBarBase_DoInsertTool. Expected _wxBitmap_p."); 
1780     _arg7 
= wxString_in_helper(_obj7
); 
1786     _arg8 
= wxString_in_helper(_obj8
); 
1795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1796     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoInsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
,_arg9
); 
1798     wxPyEndAllowThreads(__tstate
); 
1799     if (PyErr_Occurred()) return NULL
; 
1800 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1816 #define wxToolBarBase_AddControl(_swigobj,_swigarg0)  (_swigobj->AddControl(_swigarg0)) 
1817 static PyObject 
*_wrap_wxToolBarBase_AddControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1818     PyObject 
* _resultobj
; 
1819     wxToolBarToolBase 
* _result
; 
1820     wxToolBarBase 
* _arg0
; 
1822     PyObject 
* _argo0 
= 0; 
1823     PyObject 
* _argo1 
= 0; 
1824     char *_kwnames
[] = { "self","control", NULL 
}; 
1827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))  
1830         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1831         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1832             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p."); 
1837         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1838         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) { 
1839             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p."); 
1844     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1845     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_AddControl(_arg0
,_arg1
); 
1847     wxPyEndAllowThreads(__tstate
); 
1848     if (PyErr_Occurred()) return NULL
; 
1849 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1853 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1)  (_swigobj->InsertControl(_swigarg0,_swigarg1)) 
1854 static PyObject 
*_wrap_wxToolBarBase_InsertControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1855     PyObject 
* _resultobj
; 
1856     wxToolBarToolBase 
* _result
; 
1857     wxToolBarBase 
* _arg0
; 
1860     PyObject 
* _argo0 
= 0; 
1861     PyObject 
* _argo2 
= 0; 
1862     char *_kwnames
[] = { "self","pos","control", NULL 
}; 
1865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))  
1868         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1869         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1870             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p."); 
1875         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
1876         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) { 
1877             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p."); 
1882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1883     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
); 
1885     wxPyEndAllowThreads(__tstate
); 
1886     if (PyErr_Occurred()) return NULL
; 
1887 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1891 #define wxToolBarBase_FindControl(_swigobj,_swigarg0)  (_swigobj->FindControl(_swigarg0)) 
1892 static PyObject 
*_wrap_wxToolBarBase_FindControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1893     PyObject 
* _resultobj
; 
1894     wxControl 
* _result
; 
1895     wxToolBarBase 
* _arg0
; 
1897     PyObject 
* _argo0 
= 0; 
1898     char *_kwnames
[] = { "self","id", NULL 
}; 
1901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_FindControl",_kwnames
,&_argo0
,&_arg1
))  
1904         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1905         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1906             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_FindControl. Expected _wxToolBarBase_p."); 
1911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1912     _result 
= (wxControl 
*)wxToolBarBase_FindControl(_arg0
,_arg1
); 
1914     wxPyEndAllowThreads(__tstate
); 
1915     if (PyErr_Occurred()) return NULL
; 
1916 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1920 #define wxToolBarBase_AddSeparator(_swigobj)  (_swigobj->AddSeparator()) 
1921 static PyObject 
*_wrap_wxToolBarBase_AddSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1922     PyObject 
* _resultobj
; 
1923     wxToolBarToolBase 
* _result
; 
1924     wxToolBarBase 
* _arg0
; 
1925     PyObject 
* _argo0 
= 0; 
1926     char *_kwnames
[] = { "self", NULL 
}; 
1929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))  
1932         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1933         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1934             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p."); 
1939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1940     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_AddSeparator(_arg0
); 
1942     wxPyEndAllowThreads(__tstate
); 
1943     if (PyErr_Occurred()) return NULL
; 
1944 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1948 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0)  (_swigobj->InsertSeparator(_swigarg0)) 
1949 static PyObject 
*_wrap_wxToolBarBase_InsertSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1950     PyObject 
* _resultobj
; 
1951     wxToolBarToolBase 
* _result
; 
1952     wxToolBarBase 
* _arg0
; 
1954     PyObject 
* _argo0 
= 0; 
1955     char *_kwnames
[] = { "self","pos", NULL 
}; 
1958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))  
1961         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1962         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1963             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p."); 
1968     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1969     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
); 
1971     wxPyEndAllowThreads(__tstate
); 
1972     if (PyErr_Occurred()) return NULL
; 
1973 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1977 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0)  (_swigobj->RemoveTool(_swigarg0)) 
1978 static PyObject 
*_wrap_wxToolBarBase_RemoveTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1979     PyObject 
* _resultobj
; 
1980     wxToolBarToolBase 
* _result
; 
1981     wxToolBarBase 
* _arg0
; 
1983     PyObject 
* _argo0 
= 0; 
1984     char *_kwnames
[] = { "self","id", NULL 
}; 
1987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))  
1990         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1991         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1992             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p."); 
1997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1998     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
); 
2000     wxPyEndAllowThreads(__tstate
); 
2001     if (PyErr_Occurred()) return NULL
; 
2002 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
2006 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0)  (_swigobj->DeleteToolByPos(_swigarg0)) 
2007 static PyObject 
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2008     PyObject 
* _resultobj
; 
2010     wxToolBarBase 
* _arg0
; 
2012     PyObject 
* _argo0 
= 0; 
2013     char *_kwnames
[] = { "self","pos", NULL 
}; 
2016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))  
2019         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2020         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2021             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p."); 
2026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2027     _result 
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
); 
2029     wxPyEndAllowThreads(__tstate
); 
2030     if (PyErr_Occurred()) return NULL
; 
2031 }    _resultobj 
= Py_BuildValue("i",_result
); 
2035 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0)  (_swigobj->DeleteTool(_swigarg0)) 
2036 static PyObject 
*_wrap_wxToolBarBase_DeleteTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2037     PyObject 
* _resultobj
; 
2039     wxToolBarBase 
* _arg0
; 
2041     PyObject 
* _argo0 
= 0; 
2042     char *_kwnames
[] = { "self","id", NULL 
}; 
2045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))  
2048         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2049         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2050             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p."); 
2055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2056     _result 
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
); 
2058     wxPyEndAllowThreads(__tstate
); 
2059     if (PyErr_Occurred()) return NULL
; 
2060 }    _resultobj 
= Py_BuildValue("i",_result
); 
2064 #define wxToolBarBase_ClearTools(_swigobj)  (_swigobj->ClearTools()) 
2065 static PyObject 
*_wrap_wxToolBarBase_ClearTools(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2066     PyObject 
* _resultobj
; 
2067     wxToolBarBase 
* _arg0
; 
2068     PyObject 
* _argo0 
= 0; 
2069     char *_kwnames
[] = { "self", NULL 
}; 
2072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))  
2075         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2076         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2077             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p."); 
2082     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2083     wxToolBarBase_ClearTools(_arg0
); 
2085     wxPyEndAllowThreads(__tstate
); 
2086     if (PyErr_Occurred()) return NULL
; 
2087 }    Py_INCREF(Py_None
); 
2088     _resultobj 
= Py_None
; 
2092 #define wxToolBarBase_Realize(_swigobj)  (_swigobj->Realize()) 
2093 static PyObject 
*_wrap_wxToolBarBase_Realize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2094     PyObject 
* _resultobj
; 
2096     wxToolBarBase 
* _arg0
; 
2097     PyObject 
* _argo0 
= 0; 
2098     char *_kwnames
[] = { "self", NULL 
}; 
2101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))  
2104         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2105         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2106             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p."); 
2111     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2112     _result 
= (bool )wxToolBarBase_Realize(_arg0
); 
2114     wxPyEndAllowThreads(__tstate
); 
2115     if (PyErr_Occurred()) return NULL
; 
2116 }    _resultobj 
= Py_BuildValue("i",_result
); 
2120 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1)  (_swigobj->EnableTool(_swigarg0,_swigarg1)) 
2121 static PyObject 
*_wrap_wxToolBarBase_EnableTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2122     PyObject 
* _resultobj
; 
2123     wxToolBarBase 
* _arg0
; 
2126     PyObject 
* _argo0 
= 0; 
2128     char *_kwnames
[] = { "self","id","enable", NULL 
}; 
2131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2134         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2135         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2136             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p."); 
2140     _arg2 
= (bool ) tempbool2
; 
2142     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2143     wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
); 
2145     wxPyEndAllowThreads(__tstate
); 
2146     if (PyErr_Occurred()) return NULL
; 
2147 }    Py_INCREF(Py_None
); 
2148     _resultobj 
= Py_None
; 
2152 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1)  (_swigobj->ToggleTool(_swigarg0,_swigarg1)) 
2153 static PyObject 
*_wrap_wxToolBarBase_ToggleTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2154     PyObject 
* _resultobj
; 
2155     wxToolBarBase 
* _arg0
; 
2158     PyObject 
* _argo0 
= 0; 
2160     char *_kwnames
[] = { "self","id","toggle", NULL 
}; 
2163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2166         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2167         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2168             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p."); 
2172     _arg2 
= (bool ) tempbool2
; 
2174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2175     wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
); 
2177     wxPyEndAllowThreads(__tstate
); 
2178     if (PyErr_Occurred()) return NULL
; 
2179 }    Py_INCREF(Py_None
); 
2180     _resultobj 
= Py_None
; 
2184 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetToggle(_swigarg0,_swigarg1)) 
2185 static PyObject 
*_wrap_wxToolBarBase_SetToggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2186     PyObject 
* _resultobj
; 
2187     wxToolBarBase 
* _arg0
; 
2190     PyObject 
* _argo0 
= 0; 
2192     char *_kwnames
[] = { "self","id","toggle", NULL 
}; 
2195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2198         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2199         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2200             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p."); 
2204     _arg2 
= (bool ) tempbool2
; 
2206     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2207     wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
); 
2209     wxPyEndAllowThreads(__tstate
); 
2210     if (PyErr_Occurred()) return NULL
; 
2211 }    Py_INCREF(Py_None
); 
2212     _resultobj 
= Py_None
; 
2216 static PyObject 
* wxToolBarBase_GetToolClientData(wxToolBarBase 
*self
,int  id
) { 
2217             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetToolClientData(id
); 
2219                 Py_INCREF(udata
->m_obj
); 
2220                 return udata
->m_obj
; 
2226 static PyObject 
*_wrap_wxToolBarBase_GetToolClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2227     PyObject 
* _resultobj
; 
2229     wxToolBarBase 
* _arg0
; 
2231     PyObject 
* _argo0 
= 0; 
2232     char *_kwnames
[] = { "self","id", NULL 
}; 
2235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))  
2238         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2239         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2240             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p."); 
2245     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2246     _result 
= (PyObject 
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
); 
2248     wxPyEndAllowThreads(__tstate
); 
2249     if (PyErr_Occurred()) return NULL
; 
2251   _resultobj 
= _result
; 
2256 static void  wxToolBarBase_SetToolClientData(wxToolBarBase 
*self
,int  id
,PyObject 
* clientData
) { 
2257             self
->SetToolClientData(id
, new wxPyUserData(clientData
)); 
2259 static PyObject 
*_wrap_wxToolBarBase_SetToolClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2260     PyObject 
* _resultobj
; 
2261     wxToolBarBase 
* _arg0
; 
2264     PyObject 
* _argo0 
= 0; 
2265     PyObject 
* _obj2 
= 0; 
2266     char *_kwnames
[] = { "self","id","clientData", NULL 
}; 
2269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
2272         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2273         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2274             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p."); 
2282     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2283     wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
); 
2285     wxPyEndAllowThreads(__tstate
); 
2286     if (PyErr_Occurred()) return NULL
; 
2287 }    Py_INCREF(Py_None
); 
2288     _resultobj 
= Py_None
; 
2292 #define wxToolBarBase_GetToolPos(_swigobj,_swigarg0)  (_swigobj->GetToolPos(_swigarg0)) 
2293 static PyObject 
*_wrap_wxToolBarBase_GetToolPos(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2294     PyObject 
* _resultobj
; 
2296     wxToolBarBase 
* _arg0
; 
2298     PyObject 
* _argo0 
= 0; 
2299     char *_kwnames
[] = { "self","id", NULL 
}; 
2302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolPos",_kwnames
,&_argo0
,&_arg1
))  
2305         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2306         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2307             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPos. Expected _wxToolBarBase_p."); 
2312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2313     _result 
= (int )wxToolBarBase_GetToolPos(_arg0
,_arg1
); 
2315     wxPyEndAllowThreads(__tstate
); 
2316     if (PyErr_Occurred()) return NULL
; 
2317 }    _resultobj 
= Py_BuildValue("i",_result
); 
2321 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0)  (_swigobj->GetToolState(_swigarg0)) 
2322 static PyObject 
*_wrap_wxToolBarBase_GetToolState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2323     PyObject 
* _resultobj
; 
2325     wxToolBarBase 
* _arg0
; 
2327     PyObject 
* _argo0 
= 0; 
2328     char *_kwnames
[] = { "self","id", NULL 
}; 
2331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))  
2334         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2335         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2336             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p."); 
2341     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2342     _result 
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
); 
2344     wxPyEndAllowThreads(__tstate
); 
2345     if (PyErr_Occurred()) return NULL
; 
2346 }    _resultobj 
= Py_BuildValue("i",_result
); 
2350 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0)  (_swigobj->GetToolEnabled(_swigarg0)) 
2351 static PyObject 
*_wrap_wxToolBarBase_GetToolEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2352     PyObject 
* _resultobj
; 
2354     wxToolBarBase 
* _arg0
; 
2356     PyObject 
* _argo0 
= 0; 
2357     char *_kwnames
[] = { "self","id", NULL 
}; 
2360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))  
2363         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2364         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2365             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p."); 
2370     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2371     _result 
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
); 
2373     wxPyEndAllowThreads(__tstate
); 
2374     if (PyErr_Occurred()) return NULL
; 
2375 }    _resultobj 
= Py_BuildValue("i",_result
); 
2379 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1)) 
2380 static PyObject 
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2381     PyObject 
* _resultobj
; 
2382     wxToolBarBase 
* _arg0
; 
2385     PyObject 
* _argo0 
= 0; 
2386     PyObject 
* _obj2 
= 0; 
2387     char *_kwnames
[] = { "self","id","helpString", NULL 
}; 
2390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
2393         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2394         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2395             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p."); 
2400     _arg2 
= wxString_in_helper(_obj2
); 
2405     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2406     wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
); 
2408     wxPyEndAllowThreads(__tstate
); 
2409     if (PyErr_Occurred()) return NULL
; 
2410 }    Py_INCREF(Py_None
); 
2411     _resultobj 
= Py_None
; 
2419 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0)  (_swigobj->GetToolShortHelp(_swigarg0)) 
2420 static PyObject 
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2421     PyObject 
* _resultobj
; 
2423     wxToolBarBase 
* _arg0
; 
2425     PyObject 
* _argo0 
= 0; 
2426     char *_kwnames
[] = { "self","id", NULL 
}; 
2429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))  
2432         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2433         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2434             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p."); 
2439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2440     _result 
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
)); 
2442     wxPyEndAllowThreads(__tstate
); 
2443     if (PyErr_Occurred()) return NULL
; 
2446     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
2448     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2457 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1)) 
2458 static PyObject 
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2459     PyObject 
* _resultobj
; 
2460     wxToolBarBase 
* _arg0
; 
2463     PyObject 
* _argo0 
= 0; 
2464     PyObject 
* _obj2 
= 0; 
2465     char *_kwnames
[] = { "self","id","helpString", NULL 
}; 
2468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
2471         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2472         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2473             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p."); 
2478     _arg2 
= wxString_in_helper(_obj2
); 
2483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2484     wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
); 
2486     wxPyEndAllowThreads(__tstate
); 
2487     if (PyErr_Occurred()) return NULL
; 
2488 }    Py_INCREF(Py_None
); 
2489     _resultobj 
= Py_None
; 
2497 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0)  (_swigobj->GetToolLongHelp(_swigarg0)) 
2498 static PyObject 
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2499     PyObject 
* _resultobj
; 
2501     wxToolBarBase 
* _arg0
; 
2503     PyObject 
* _argo0 
= 0; 
2504     char *_kwnames
[] = { "self","id", NULL 
}; 
2507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))  
2510         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2511         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2512             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p."); 
2517     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2518     _result 
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
)); 
2520     wxPyEndAllowThreads(__tstate
); 
2521     if (PyErr_Occurred()) return NULL
; 
2524     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
2526     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2535 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetMargins(_swigarg0,_swigarg1)) 
2536 static PyObject 
*_wrap_wxToolBarBase_SetMarginsXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2537     PyObject 
* _resultobj
; 
2538     wxToolBarBase 
* _arg0
; 
2541     PyObject 
* _argo0 
= 0; 
2542     char *_kwnames
[] = { "self","x","y", NULL 
}; 
2545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
2548         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2549         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2550             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p."); 
2555     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2556     wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
); 
2558     wxPyEndAllowThreads(__tstate
); 
2559     if (PyErr_Occurred()) return NULL
; 
2560 }    Py_INCREF(Py_None
); 
2561     _resultobj 
= Py_None
; 
2565 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0)  (_swigobj->SetMargins(_swigarg0)) 
2566 static PyObject 
*_wrap_wxToolBarBase_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2567     PyObject 
* _resultobj
; 
2568     wxToolBarBase 
* _arg0
; 
2570     PyObject 
* _argo0 
= 0; 
2572     PyObject 
* _obj1 
= 0; 
2573     char *_kwnames
[] = { "self","size", NULL 
}; 
2576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))  
2579         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2580         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2581             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p."); 
2587     if (! wxSize_helper(_obj1
, &_arg1
)) 
2591     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2592     wxToolBarBase_SetMargins(_arg0
,*_arg1
); 
2594     wxPyEndAllowThreads(__tstate
); 
2595     if (PyErr_Occurred()) return NULL
; 
2596 }    Py_INCREF(Py_None
); 
2597     _resultobj 
= Py_None
; 
2601 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0)  (_swigobj->SetToolPacking(_swigarg0)) 
2602 static PyObject 
*_wrap_wxToolBarBase_SetToolPacking(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2603     PyObject 
* _resultobj
; 
2604     wxToolBarBase 
* _arg0
; 
2606     PyObject 
* _argo0 
= 0; 
2607     char *_kwnames
[] = { "self","packing", NULL 
}; 
2610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))  
2613         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2614         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2615             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p."); 
2620     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2621     wxToolBarBase_SetToolPacking(_arg0
,_arg1
); 
2623     wxPyEndAllowThreads(__tstate
); 
2624     if (PyErr_Occurred()) return NULL
; 
2625 }    Py_INCREF(Py_None
); 
2626     _resultobj 
= Py_None
; 
2630 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0)  (_swigobj->SetToolSeparation(_swigarg0)) 
2631 static PyObject 
*_wrap_wxToolBarBase_SetToolSeparation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2632     PyObject 
* _resultobj
; 
2633     wxToolBarBase 
* _arg0
; 
2635     PyObject 
* _argo0 
= 0; 
2636     char *_kwnames
[] = { "self","separation", NULL 
}; 
2639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))  
2642         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2643         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2644             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p."); 
2649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2650     wxToolBarBase_SetToolSeparation(_arg0
,_arg1
); 
2652     wxPyEndAllowThreads(__tstate
); 
2653     if (PyErr_Occurred()) return NULL
; 
2654 }    Py_INCREF(Py_None
); 
2655     _resultobj 
= Py_None
; 
2659 #define wxToolBarBase_GetToolMargins(_swigobj)  (_swigobj->GetToolMargins()) 
2660 static PyObject 
*_wrap_wxToolBarBase_GetToolMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2661     PyObject 
* _resultobj
; 
2663     wxToolBarBase 
* _arg0
; 
2664     PyObject 
* _argo0 
= 0; 
2665     char *_kwnames
[] = { "self", NULL 
}; 
2669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))  
2672         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2673         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2674             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p."); 
2679     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2680     _result 
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
)); 
2682     wxPyEndAllowThreads(__tstate
); 
2683     if (PyErr_Occurred()) return NULL
; 
2684 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2685     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2689 #define wxToolBarBase_GetMargins(_swigobj)  (_swigobj->GetMargins()) 
2690 static PyObject 
*_wrap_wxToolBarBase_GetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2691     PyObject 
* _resultobj
; 
2693     wxToolBarBase 
* _arg0
; 
2694     PyObject 
* _argo0 
= 0; 
2695     char *_kwnames
[] = { "self", NULL 
}; 
2699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMargins",_kwnames
,&_argo0
))  
2702         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2703         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2704             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMargins. Expected _wxToolBarBase_p."); 
2709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2710     _result 
= new wxSize (wxToolBarBase_GetMargins(_arg0
)); 
2712     wxPyEndAllowThreads(__tstate
); 
2713     if (PyErr_Occurred()) return NULL
; 
2714 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2715     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2719 #define wxToolBarBase_GetToolPacking(_swigobj)  (_swigobj->GetToolPacking()) 
2720 static PyObject 
*_wrap_wxToolBarBase_GetToolPacking(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2721     PyObject 
* _resultobj
; 
2723     wxToolBarBase 
* _arg0
; 
2724     PyObject 
* _argo0 
= 0; 
2725     char *_kwnames
[] = { "self", NULL 
}; 
2728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))  
2731         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2732         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2733             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p."); 
2738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2739     _result 
= (int )wxToolBarBase_GetToolPacking(_arg0
); 
2741     wxPyEndAllowThreads(__tstate
); 
2742     if (PyErr_Occurred()) return NULL
; 
2743 }    _resultobj 
= Py_BuildValue("i",_result
); 
2747 #define wxToolBarBase_GetToolSeparation(_swigobj)  (_swigobj->GetToolSeparation()) 
2748 static PyObject 
*_wrap_wxToolBarBase_GetToolSeparation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2749     PyObject 
* _resultobj
; 
2751     wxToolBarBase 
* _arg0
; 
2752     PyObject 
* _argo0 
= 0; 
2753     char *_kwnames
[] = { "self", NULL 
}; 
2756     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))  
2759         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2760         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2761             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p."); 
2766     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2767     _result 
= (int )wxToolBarBase_GetToolSeparation(_arg0
); 
2769     wxPyEndAllowThreads(__tstate
); 
2770     if (PyErr_Occurred()) return NULL
; 
2771 }    _resultobj 
= Py_BuildValue("i",_result
); 
2775 #define wxToolBarBase_SetRows(_swigobj,_swigarg0)  (_swigobj->SetRows(_swigarg0)) 
2776 static PyObject 
*_wrap_wxToolBarBase_SetRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2777     PyObject 
* _resultobj
; 
2778     wxToolBarBase 
* _arg0
; 
2780     PyObject 
* _argo0 
= 0; 
2781     char *_kwnames
[] = { "self","nRows", NULL 
}; 
2784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))  
2787         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2788         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2789             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p."); 
2794     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2795     wxToolBarBase_SetRows(_arg0
,_arg1
); 
2797     wxPyEndAllowThreads(__tstate
); 
2798     if (PyErr_Occurred()) return NULL
; 
2799 }    Py_INCREF(Py_None
); 
2800     _resultobj 
= Py_None
; 
2804 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1)) 
2805 static PyObject 
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2806     PyObject 
* _resultobj
; 
2807     wxToolBarBase 
* _arg0
; 
2810     PyObject 
* _argo0 
= 0; 
2811     char *_kwnames
[] = { "self","rows","cols", NULL 
}; 
2814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
2817         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2818         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2819             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p."); 
2824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2825     wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
); 
2827     wxPyEndAllowThreads(__tstate
); 
2828     if (PyErr_Occurred()) return NULL
; 
2829 }    Py_INCREF(Py_None
); 
2830     _resultobj 
= Py_None
; 
2834 #define wxToolBarBase_GetMaxRows(_swigobj)  (_swigobj->GetMaxRows()) 
2835 static PyObject 
*_wrap_wxToolBarBase_GetMaxRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2836     PyObject 
* _resultobj
; 
2838     wxToolBarBase 
* _arg0
; 
2839     PyObject 
* _argo0 
= 0; 
2840     char *_kwnames
[] = { "self", NULL 
}; 
2843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))  
2846         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2847         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2848             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p."); 
2853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2854     _result 
= (int )wxToolBarBase_GetMaxRows(_arg0
); 
2856     wxPyEndAllowThreads(__tstate
); 
2857     if (PyErr_Occurred()) return NULL
; 
2858 }    _resultobj 
= Py_BuildValue("i",_result
); 
2862 #define wxToolBarBase_GetMaxCols(_swigobj)  (_swigobj->GetMaxCols()) 
2863 static PyObject 
*_wrap_wxToolBarBase_GetMaxCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2864     PyObject 
* _resultobj
; 
2866     wxToolBarBase 
* _arg0
; 
2867     PyObject 
* _argo0 
= 0; 
2868     char *_kwnames
[] = { "self", NULL 
}; 
2871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))  
2874         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2875         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2876             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p."); 
2881     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2882     _result 
= (int )wxToolBarBase_GetMaxCols(_arg0
); 
2884     wxPyEndAllowThreads(__tstate
); 
2885     if (PyErr_Occurred()) return NULL
; 
2886 }    _resultobj 
= Py_BuildValue("i",_result
); 
2890 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0)  (_swigobj->SetToolBitmapSize(_swigarg0)) 
2891 static PyObject 
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2892     PyObject 
* _resultobj
; 
2893     wxToolBarBase 
* _arg0
; 
2895     PyObject 
* _argo0 
= 0; 
2897     PyObject 
* _obj1 
= 0; 
2898     char *_kwnames
[] = { "self","size", NULL 
}; 
2901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))  
2904         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2905         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2906             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p."); 
2912     if (! wxSize_helper(_obj1
, &_arg1
)) 
2916     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2917     wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
); 
2919     wxPyEndAllowThreads(__tstate
); 
2920     if (PyErr_Occurred()) return NULL
; 
2921 }    Py_INCREF(Py_None
); 
2922     _resultobj 
= Py_None
; 
2926 #define wxToolBarBase_GetToolBitmapSize(_swigobj)  (_swigobj->GetToolBitmapSize()) 
2927 static PyObject 
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2928     PyObject 
* _resultobj
; 
2930     wxToolBarBase 
* _arg0
; 
2931     PyObject 
* _argo0 
= 0; 
2932     char *_kwnames
[] = { "self", NULL 
}; 
2936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))  
2939         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2940         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2941             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p."); 
2946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2947     _result 
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
)); 
2949     wxPyEndAllowThreads(__tstate
); 
2950     if (PyErr_Occurred()) return NULL
; 
2951 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2952     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2956 #define wxToolBarBase_GetToolSize(_swigobj)  (_swigobj->GetToolSize()) 
2957 static PyObject 
*_wrap_wxToolBarBase_GetToolSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2958     PyObject 
* _resultobj
; 
2960     wxToolBarBase 
* _arg0
; 
2961     PyObject 
* _argo0 
= 0; 
2962     char *_kwnames
[] = { "self", NULL 
}; 
2966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))  
2969         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2970         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2971             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p."); 
2976     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2977     _result 
= new wxSize (wxToolBarBase_GetToolSize(_arg0
)); 
2979     wxPyEndAllowThreads(__tstate
); 
2980     if (PyErr_Occurred()) return NULL
; 
2981 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2982     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2986 #define wxToolBarBase_FindToolForPosition(_swigobj,_swigarg0,_swigarg1)  (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) 
2987 static PyObject 
*_wrap_wxToolBarBase_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2988     PyObject 
* _resultobj
; 
2989     wxToolBarToolBase 
* _result
; 
2990     wxToolBarBase 
* _arg0
; 
2993     PyObject 
* _argo0 
= 0; 
2994     char *_kwnames
[] = { "self","x","y", NULL 
}; 
2997     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
3000         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3001         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
3002             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_FindToolForPosition. Expected _wxToolBarBase_p."); 
3007     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3008     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_FindToolForPosition(_arg0
,_arg1
,_arg2
); 
3010     wxPyEndAllowThreads(__tstate
); 
3011     if (PyErr_Occurred()) return NULL
; 
3012 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
3016 #define wxToolBarBase_IsVertical(_swigobj)  (_swigobj->IsVertical()) 
3017 static PyObject 
*_wrap_wxToolBarBase_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3018     PyObject 
* _resultobj
; 
3020     wxToolBarBase 
* _arg0
; 
3021     PyObject 
* _argo0 
= 0; 
3022     char *_kwnames
[] = { "self", NULL 
}; 
3025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_IsVertical",_kwnames
,&_argo0
))  
3028         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3029         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
3030             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_IsVertical. Expected _wxToolBarBase_p."); 
3035     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3036     _result 
= (bool )wxToolBarBase_IsVertical(_arg0
); 
3038     wxPyEndAllowThreads(__tstate
); 
3039     if (PyErr_Occurred()) return NULL
; 
3040 }    _resultobj 
= Py_BuildValue("i",_result
); 
3044 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) { 
3046     wxToolBarBase 
*dest
; 
3047     src 
= (wxToolBar 
*) ptr
; 
3048     dest 
= (wxToolBarBase 
*) src
; 
3049     return (void *) dest
; 
3052 static void *SwigwxToolBarTowxControl(void *ptr
) { 
3055     src 
= (wxToolBar 
*) ptr
; 
3056     dest 
= (wxControl 
*) src
; 
3057     return (void *) dest
; 
3060 static void *SwigwxToolBarTowxWindow(void *ptr
) { 
3063     src 
= (wxToolBar 
*) ptr
; 
3064     dest 
= (wxWindow 
*) src
; 
3065     return (void *) dest
; 
3068 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) { 
3071     src 
= (wxToolBar 
*) ptr
; 
3072     dest 
= (wxEvtHandler 
*) src
; 
3073     return (void *) dest
; 
3076 static void *SwigwxToolBarTowxObject(void *ptr
) { 
3079     src 
= (wxToolBar 
*) ptr
; 
3080     dest 
= (wxObject 
*) src
; 
3081     return (void *) dest
; 
3084 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
3085 static PyObject 
*_wrap_new_wxToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3086     PyObject 
* _resultobj
; 
3087     wxToolBar 
* _result
; 
3090     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
3091     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
3092     long  _arg4 
= (long ) wxNO_BORDER
|(wxTB_HORIZONTAL
); 
3093     wxString 
* _arg5 
= (wxString 
*) &wxPyToolBarNameStr
; 
3094     PyObject 
* _argo0 
= 0; 
3096     PyObject 
* _obj2 
= 0; 
3098     PyObject 
* _obj3 
= 0; 
3099     PyObject 
* _obj5 
= 0; 
3100     char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL 
}; 
3104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))  
3107         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3108         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
3109             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p."); 
3116     if (! wxPoint_helper(_obj2
, &_arg2
)) 
3122     if (! wxSize_helper(_obj3
, &_arg3
)) 
3127     _arg5 
= wxString_in_helper(_obj5
); 
3132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3133     _result 
= (wxToolBar 
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
); 
3135     wxPyEndAllowThreads(__tstate
); 
3136     if (PyErr_Occurred()) return NULL
; 
3138         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p"); 
3139         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3142         _resultobj 
= Py_None
; 
3151 #define new_wxPreToolBar() (new wxToolBar()) 
3152 static PyObject 
*_wrap_new_wxPreToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3153     PyObject 
* _resultobj
; 
3154     wxToolBar 
* _result
; 
3155     char *_kwnames
[] = {  NULL 
}; 
3159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToolBar",_kwnames
))  
3162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3163     _result 
= (wxToolBar 
*)new_wxPreToolBar(); 
3165     wxPyEndAllowThreads(__tstate
); 
3166     if (PyErr_Occurred()) return NULL
; 
3168         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p"); 
3169         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3172         _resultobj 
= Py_None
; 
3177 #define wxToolBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
3178 static PyObject 
*_wrap_wxToolBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3179     PyObject 
* _resultobj
; 
3184     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
3185     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
3186     long  _arg5 
= (long ) wxNO_BORDER
|(wxTB_HORIZONTAL
); 
3187     wxString 
* _arg6 
= (wxString 
*) &wxPyToolBarNameStr
; 
3188     PyObject 
* _argo0 
= 0; 
3189     PyObject 
* _argo1 
= 0; 
3191     PyObject 
* _obj3 
= 0; 
3193     PyObject 
* _obj4 
= 0; 
3194     PyObject 
* _obj6 
= 0; 
3195     char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL 
}; 
3198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxToolBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
3201         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3202         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) { 
3203             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Create. Expected _wxToolBar_p."); 
3208         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3209         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3210             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_Create. Expected _wxWindow_p."); 
3217     if (! wxPoint_helper(_obj3
, &_arg3
)) 
3223     if (! wxSize_helper(_obj4
, &_arg4
)) 
3228     _arg6 
= wxString_in_helper(_obj6
); 
3233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3234     _result 
= (bool )wxToolBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
3236     wxPyEndAllowThreads(__tstate
); 
3237     if (PyErr_Occurred()) return NULL
; 
3238 }    _resultobj 
= Py_BuildValue("i",_result
); 
3246 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1)  (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) 
3247 static PyObject 
*_wrap_wxToolBar_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3248     PyObject 
* _resultobj
; 
3249     wxToolBarToolBase 
* _result
; 
3253     PyObject 
* _argo0 
= 0; 
3254     char *_kwnames
[] = { "self","x","y", NULL 
}; 
3257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
3260         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3261         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) { 
3262             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p."); 
3267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3268     _result 
= (wxToolBarToolBase 
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
); 
3270     wxPyEndAllowThreads(__tstate
); 
3271     if (PyErr_Occurred()) return NULL
; 
3272 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
3276 static PyMethodDef stattoolcMethods
[] = { 
3277          { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3278          { "wxToolBar_Create", (PyCFunction
) _wrap_wxToolBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3279          { "new_wxPreToolBar", (PyCFunction
) _wrap_new_wxPreToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3280          { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3281          { "wxToolBarBase_IsVertical", (PyCFunction
) _wrap_wxToolBarBase_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3282          { "wxToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarBase_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3283          { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3284          { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3285          { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3286          { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3287          { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3288          { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3289          { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3290          { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3291          { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3292          { "wxToolBarBase_GetMargins", (PyCFunction
) _wrap_wxToolBarBase_GetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3293          { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3294          { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3295          { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3296          { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3297          { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3298          { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3299          { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3300          { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3301          { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3302          { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3303          { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3304          { "wxToolBarBase_GetToolPos", (PyCFunction
) _wrap_wxToolBarBase_GetToolPos
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3305          { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3306          { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3307          { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3308          { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3309          { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3310          { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3311          { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3312          { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3313          { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3314          { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3315          { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3316          { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3317          { "wxToolBarBase_FindControl", (PyCFunction
) _wrap_wxToolBarBase_FindControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3318          { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3319          { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3320          { "wxToolBarBase_DoInsertTool", (PyCFunction
) _wrap_wxToolBarBase_DoInsertTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3321          { "wxToolBarBase_DoAddTool", (PyCFunction
) _wrap_wxToolBarBase_DoAddTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3322          { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3323          { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3324          { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3325          { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3326          { "wxToolBarToolBase_SetLabel", (PyCFunction
) _wrap_wxToolBarToolBase_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3327          { "wxToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_SetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3328          { "wxToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_SetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3329          { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3330          { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3331          { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3332          { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3333          { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3334          { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3335          { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3336          { "wxToolBarToolBase_GetLabel", (PyCFunction
) _wrap_wxToolBarToolBase_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3337          { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3338          { "wxToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3339          { "wxToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3340          { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3341          { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3342          { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3343          { "wxToolBarToolBase_GetKind", (PyCFunction
) _wrap_wxToolBarToolBase_GetKind
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3344          { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3345          { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3346          { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3347          { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3348          { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3349          { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3350          { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3351          { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3352          { "wxStatusBar_SetMinHeight", (PyCFunction
) _wrap_wxStatusBar_SetMinHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3353          { "wxStatusBar_PopStatusText", (PyCFunction
) _wrap_wxStatusBar_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3354          { "wxStatusBar_PushStatusText", (PyCFunction
) _wrap_wxStatusBar_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3355          { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3356          { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3357          { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3358          { "wxStatusBar_GetBorderY", (PyCFunction
) _wrap_wxStatusBar_GetBorderY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3359          { "wxStatusBar_GetBorderX", (PyCFunction
) _wrap_wxStatusBar_GetBorderX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3360          { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3361          { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3362          { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3363          { "wxStatusBar_Create", (PyCFunction
) _wrap_wxStatusBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3364          { "new_wxPreStatusBar", (PyCFunction
) _wrap_new_wxPreStatusBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3365          { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3372  * This table is used by the pointer type-checker 
3374 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
3375     { "_signed_long","_long",0}, 
3376     { "_wxPrintQuality","_wxCoord",0}, 
3377     { "_wxPrintQuality","_int",0}, 
3378     { "_wxPrintQuality","_signed_int",0}, 
3379     { "_wxPrintQuality","_unsigned_int",0}, 
3380     { "_wxPrintQuality","_wxWindowID",0}, 
3381     { "_wxPrintQuality","_uint",0}, 
3382     { "_wxPrintQuality","_EBool",0}, 
3383     { "_wxPrintQuality","_size_t",0}, 
3384     { "_wxPrintQuality","_time_t",0}, 
3385     { "_byte","_unsigned_char",0}, 
3386     { "_long","_unsigned_long",0}, 
3387     { "_long","_signed_long",0}, 
3388     { "_size_t","_wxCoord",0}, 
3389     { "_size_t","_wxPrintQuality",0}, 
3390     { "_size_t","_time_t",0}, 
3391     { "_size_t","_unsigned_int",0}, 
3392     { "_size_t","_int",0}, 
3393     { "_size_t","_wxWindowID",0}, 
3394     { "_size_t","_uint",0}, 
3395     { "_uint","_wxCoord",0}, 
3396     { "_uint","_wxPrintQuality",0}, 
3397     { "_uint","_time_t",0}, 
3398     { "_uint","_size_t",0}, 
3399     { "_uint","_unsigned_int",0}, 
3400     { "_uint","_int",0}, 
3401     { "_uint","_wxWindowID",0}, 
3402     { "_wxChar","_char",0}, 
3403     { "_char","_wxChar",0}, 
3404     { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, 
3405     { "_EBool","_wxCoord",0}, 
3406     { "_EBool","_wxPrintQuality",0}, 
3407     { "_EBool","_signed_int",0}, 
3408     { "_EBool","_int",0}, 
3409     { "_EBool","_wxWindowID",0}, 
3410     { "_unsigned_long","_long",0}, 
3411     { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, 
3412     { "_signed_int","_wxCoord",0}, 
3413     { "_signed_int","_wxPrintQuality",0}, 
3414     { "_signed_int","_EBool",0}, 
3415     { "_signed_int","_wxWindowID",0}, 
3416     { "_signed_int","_int",0}, 
3417     { "_WXTYPE","_short",0}, 
3418     { "_WXTYPE","_signed_short",0}, 
3419     { "_WXTYPE","_unsigned_short",0}, 
3420     { "_unsigned_short","_WXTYPE",0}, 
3421     { "_unsigned_short","_short",0}, 
3422     { "_wxObject","_wxToolBar",SwigwxToolBarTowxObject
}, 
3423     { "_wxObject","_wxToolBarBase",SwigwxToolBarBaseTowxObject
}, 
3424     { "_wxObject","_wxToolBarToolBase",SwigwxToolBarToolBaseTowxObject
}, 
3425     { "_wxObject","_wxStatusBar",SwigwxStatusBarTowxObject
}, 
3426     { "_signed_short","_WXTYPE",0}, 
3427     { "_signed_short","_short",0}, 
3428     { "_unsigned_char","_byte",0}, 
3429     { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
}, 
3430     { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
}, 
3431     { "_unsigned_int","_wxCoord",0}, 
3432     { "_unsigned_int","_wxPrintQuality",0}, 
3433     { "_unsigned_int","_time_t",0}, 
3434     { "_unsigned_int","_size_t",0}, 
3435     { "_unsigned_int","_uint",0}, 
3436     { "_unsigned_int","_wxWindowID",0}, 
3437     { "_unsigned_int","_int",0}, 
3438     { "_short","_WXTYPE",0}, 
3439     { "_short","_unsigned_short",0}, 
3440     { "_short","_signed_short",0}, 
3441     { "_wxWindowID","_wxCoord",0}, 
3442     { "_wxWindowID","_wxPrintQuality",0}, 
3443     { "_wxWindowID","_time_t",0}, 
3444     { "_wxWindowID","_size_t",0}, 
3445     { "_wxWindowID","_EBool",0}, 
3446     { "_wxWindowID","_uint",0}, 
3447     { "_wxWindowID","_int",0}, 
3448     { "_wxWindowID","_signed_int",0}, 
3449     { "_wxWindowID","_unsigned_int",0}, 
3450     { "_int","_wxCoord",0}, 
3451     { "_int","_wxPrintQuality",0}, 
3452     { "_int","_time_t",0}, 
3453     { "_int","_size_t",0}, 
3454     { "_int","_EBool",0}, 
3455     { "_int","_uint",0}, 
3456     { "_int","_wxWindowID",0}, 
3457     { "_int","_unsigned_int",0}, 
3458     { "_int","_signed_int",0}, 
3459     { "_time_t","_wxCoord",0}, 
3460     { "_time_t","_wxPrintQuality",0}, 
3461     { "_time_t","_unsigned_int",0}, 
3462     { "_time_t","_int",0}, 
3463     { "_time_t","_wxWindowID",0}, 
3464     { "_time_t","_uint",0}, 
3465     { "_time_t","_size_t",0}, 
3466     { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
}, 
3467     { "_wxCoord","_int",0}, 
3468     { "_wxCoord","_signed_int",0}, 
3469     { "_wxCoord","_unsigned_int",0}, 
3470     { "_wxCoord","_wxWindowID",0}, 
3471     { "_wxCoord","_uint",0}, 
3472     { "_wxCoord","_EBool",0}, 
3473     { "_wxCoord","_size_t",0}, 
3474     { "_wxCoord","_time_t",0}, 
3475     { "_wxCoord","_wxPrintQuality",0}, 
3476     { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
}, 
3477     { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
}, 
3478     { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
}, 
3479     { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
}, 
3480     { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
}, 
3481     { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
}, 
3484 static PyObject 
*SWIG_globals
; 
3488 SWIGEXPORT(void) initstattoolc() { 
3490          SWIG_globals 
= SWIG_newvarlink(); 
3491          m 
= Py_InitModule("stattoolc", stattoolcMethods
); 
3492          d 
= PyModule_GetDict(m
); 
3493          PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
)); 
3494          PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
)); 
3495          PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
)); 
3496          PyDict_SetItemString(d
,"wxTB_HORIZONTAL", PyInt_FromLong((long) wxTB_HORIZONTAL
)); 
3497          PyDict_SetItemString(d
,"wxTB_VERTICAL", PyInt_FromLong((long) wxTB_VERTICAL
)); 
3498          PyDict_SetItemString(d
,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS
)); 
3499          PyDict_SetItemString(d
,"wxTB_FLAT", PyInt_FromLong((long) wxTB_FLAT
)); 
3500          PyDict_SetItemString(d
,"wxTB_DOCKABLE", PyInt_FromLong((long) wxTB_DOCKABLE
)); 
3501          PyDict_SetItemString(d
,"wxTB_NOICONS", PyInt_FromLong((long) wxTB_NOICONS
)); 
3502          PyDict_SetItemString(d
,"wxTB_TEXT", PyInt_FromLong((long) wxTB_TEXT
)); 
3503          PyDict_SetItemString(d
,"wxTB_NODIVIDER", PyInt_FromLong((long) wxTB_NODIVIDER
)); 
3504          PyDict_SetItemString(d
,"wxTB_NOALIGN", PyInt_FromLong((long) wxTB_NOALIGN
)); 
3505          PyDict_SetItemString(d
,"wxTB_HORZ_LAYOUT", PyInt_FromLong((long) wxTB_HORZ_LAYOUT
)); 
3506          PyDict_SetItemString(d
,"wxTB_HORZ_TEXT", PyInt_FromLong((long) wxTB_HORZ_TEXT
)); 
3509    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
3510         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);