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 */ 
  24 /* Definitions for Windows/Unix exporting */ 
  25 #if defined(__WIN32__) 
  26 #   if defined(_MSC_VER) 
  27 #       define SWIGEXPORT(a) __declspec(dllexport) a 
  29 #       if defined(__BORLANDC__) 
  30 #           define SWIGEXPORT(a) a _export 
  32 #           define SWIGEXPORT(a) a 
  36 #   define SWIGEXPORT(a) a 
  45 extern void SWIG_MakePtr(char *, void *, char *); 
  46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); 
  47 extern char *SWIG_GetPtr(char *, void **, char *); 
  48 extern char *SWIG_GetPtrObj(PyObject 
*, void **, char *); 
  49 extern void SWIG_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
  50 extern PyObject 
*SWIG_newvarlink(void); 
  54 #define SWIG_init    initstattoolc 
  56 #define SWIG_name    "stattoolc" 
  59 #include <wx/toolbar.h> 
  60 #include <wx/tbarsmpl.h> 
  63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
  69     } else if (target 
== Py_None
) { 
  73         if (!PyTuple_Check(target
)) { 
  75             target 
= PyTuple_New(1); 
  76             PyTuple_SetItem(target
, 0, o2
); 
  79         PyTuple_SetItem(o3
, 0, o
); 
  82         target 
= PySequence_Concat(o2
, o3
); 
  91 static void *SwigwxStatusBarTowxWindow(void *ptr
) { 
  94     src 
= (wxStatusBar 
*) ptr
; 
  95     dest 
= (wxWindow 
*) src
; 
  99 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) { 
 102     src 
= (wxStatusBar 
*) ptr
; 
 103     dest 
= (wxEvtHandler 
*) src
; 
 104     return (void *) dest
; 
 107 static void *SwigwxStatusBarTowxObject(void *ptr
) { 
 110     src 
= (wxStatusBar 
*) ptr
; 
 111     dest 
= (wxObject 
*) src
; 
 112     return (void *) dest
; 
 115 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
 116 static PyObject 
*_wrap_new_wxStatusBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 117     PyObject 
* _resultobj
; 
 118     wxStatusBar 
* _result
; 
 120     wxWindowID  _arg1 
= (wxWindowID 
) -1; 
 121     long  _arg2 
= (long ) wxST_SIZEGRIP
; 
 122     char * _arg3 
= (char *) "statusBar"; 
 123     PyObject 
* _argo0 
= 0; 
 124     char *_kwnames
[] = { "parent","id","style","name", NULL 
}; 
 128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ils:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))  
 131         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 132         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
 133             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p."); 
 138     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 139     _result 
= (wxStatusBar 
*)new_wxStatusBar(_arg0
,_arg1
,_arg2
,_arg3
); 
 141     wxPyEndAllowThreads(__tstate
); 
 142     if (PyErr_Occurred()) return NULL
; 
 144         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p"); 
 145         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 148         _resultobj 
= Py_None
; 
 153 #define new_wxPreStatusBar() (new wxStatusBar()) 
 154 static PyObject 
*_wrap_new_wxPreStatusBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 155     PyObject 
* _resultobj
; 
 156     wxStatusBar 
* _result
; 
 157     char *_kwnames
[] = {  NULL 
}; 
 161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStatusBar",_kwnames
))  
 164     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 165     _result 
= (wxStatusBar 
*)new_wxPreStatusBar(); 
 167     wxPyEndAllowThreads(__tstate
); 
 168     if (PyErr_Occurred()) return NULL
; 
 170         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p"); 
 171         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 174         _resultobj 
= Py_None
; 
 179 #define wxStatusBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
 180 static PyObject 
*_wrap_wxStatusBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 181     PyObject 
* _resultobj
; 
 186     long  _arg3 
= (long ) wxST_SIZEGRIP
; 
 187     char * _arg4 
= (char *) "statusBar"; 
 188     PyObject 
* _argo0 
= 0; 
 189     PyObject 
* _argo1 
= 0; 
 190     char *_kwnames
[] = { "self","parent","id","style","name", NULL 
}; 
 193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|ls:wxStatusBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))  
 196         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 197         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 198             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_Create. Expected _wxStatusBar_p."); 
 203         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
 204         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
 205             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_Create. Expected _wxWindow_p."); 
 210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 211     _result 
= (bool )wxStatusBar_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
); 
 213     wxPyEndAllowThreads(__tstate
); 
 214     if (PyErr_Occurred()) return NULL
; 
 215 }    _resultobj 
= Py_BuildValue("i",_result
); 
 219 static wxRect 
* wxStatusBar_GetFieldRect(wxStatusBar 
*self
,long  item
) { 
 220             wxRect
* rect
= new wxRect
; 
 221             self
->GetFieldRect(item
, *rect
); 
 224 static PyObject 
*_wrap_wxStatusBar_GetFieldRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 225     PyObject 
* _resultobj
; 
 229     PyObject 
* _argo0 
= 0; 
 230     char *_kwnames
[] = { "self","item", NULL 
}; 
 234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))  
 237         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 238         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 239             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p."); 
 244     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 245     _result 
= (wxRect 
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
); 
 247     wxPyEndAllowThreads(__tstate
); 
 248     if (PyErr_Occurred()) return NULL
; 
 250         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p"); 
 251         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 254         _resultobj 
= Py_None
; 
 259 #define wxStatusBar_GetFieldsCount(_swigobj)  (_swigobj->GetFieldsCount()) 
 260 static PyObject 
*_wrap_wxStatusBar_GetFieldsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 261     PyObject 
* _resultobj
; 
 264     PyObject 
* _argo0 
= 0; 
 265     char *_kwnames
[] = { "self", NULL 
}; 
 268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))  
 271         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 272         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 273             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p."); 
 278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 279     _result 
= (int )wxStatusBar_GetFieldsCount(_arg0
); 
 281     wxPyEndAllowThreads(__tstate
); 
 282     if (PyErr_Occurred()) return NULL
; 
 283 }    _resultobj 
= Py_BuildValue("i",_result
); 
 287 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0)  (_swigobj->GetStatusText(_swigarg0)) 
 288 static PyObject 
*_wrap_wxStatusBar_GetStatusText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 289     PyObject 
* _resultobj
; 
 292     int  _arg1 
= (int ) 0; 
 293     PyObject 
* _argo0 
= 0; 
 294     char *_kwnames
[] = { "self","ir", NULL 
}; 
 297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))  
 300         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 301         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 302             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p."); 
 307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 308     _result 
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
)); 
 310     wxPyEndAllowThreads(__tstate
); 
 311     if (PyErr_Occurred()) return NULL
; 
 314     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 316     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 325 #define wxStatusBar_GetBorderX(_swigobj)  (_swigobj->GetBorderX()) 
 326 static PyObject 
*_wrap_wxStatusBar_GetBorderX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 327     PyObject 
* _resultobj
; 
 330     PyObject 
* _argo0 
= 0; 
 331     char *_kwnames
[] = { "self", NULL 
}; 
 334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderX",_kwnames
,&_argo0
))  
 337         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 338         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 339             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p."); 
 344     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 345     _result 
= (int )wxStatusBar_GetBorderX(_arg0
); 
 347     wxPyEndAllowThreads(__tstate
); 
 348     if (PyErr_Occurred()) return NULL
; 
 349 }    _resultobj 
= Py_BuildValue("i",_result
); 
 353 #define wxStatusBar_GetBorderY(_swigobj)  (_swigobj->GetBorderY()) 
 354 static PyObject 
*_wrap_wxStatusBar_GetBorderY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 355     PyObject 
* _resultobj
; 
 358     PyObject 
* _argo0 
= 0; 
 359     char *_kwnames
[] = { "self", NULL 
}; 
 362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderY",_kwnames
,&_argo0
))  
 365         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 366         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 367             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p."); 
 372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 373     _result 
= (int )wxStatusBar_GetBorderY(_arg0
); 
 375     wxPyEndAllowThreads(__tstate
); 
 376     if (PyErr_Occurred()) return NULL
; 
 377 }    _resultobj 
= Py_BuildValue("i",_result
); 
 381 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0)  (_swigobj->SetFieldsCount(_swigarg0)) 
 382 static PyObject 
*_wrap_wxStatusBar_SetFieldsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 383     PyObject 
* _resultobj
; 
 385     int  _arg1 
= (int ) 1; 
 386     PyObject 
* _argo0 
= 0; 
 387     char *_kwnames
[] = { "self","number", NULL 
}; 
 390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))  
 393         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 394         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 395             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p."); 
 400     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 401     wxStatusBar_SetFieldsCount(_arg0
,_arg1
); 
 403     wxPyEndAllowThreads(__tstate
); 
 404     if (PyErr_Occurred()) return NULL
; 
 405 }    Py_INCREF(Py_None
); 
 406     _resultobj 
= Py_None
; 
 410 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetStatusText(_swigarg0,_swigarg1)) 
 411 static PyObject 
*_wrap_wxStatusBar_SetStatusText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 412     PyObject 
* _resultobj
; 
 415     int  _arg2 
= (int ) 0; 
 416     PyObject 
* _argo0 
= 0; 
 417     PyObject 
* _obj1 
= 0; 
 418     char *_kwnames
[] = { "self","text","i", NULL 
}; 
 421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))  
 424         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 425         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 426             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p."); 
 431     _arg1 
= wxString_in_helper(_obj1
); 
 436     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 437     wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
); 
 439     wxPyEndAllowThreads(__tstate
); 
 440     if (PyErr_Occurred()) return NULL
; 
 441 }    Py_INCREF(Py_None
); 
 442     _resultobj 
= Py_None
; 
 450 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) 
 451 static PyObject 
*_wrap_wxStatusBar_SetStatusWidths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 452     PyObject 
* _resultobj
; 
 456     PyObject 
* _argo0 
= 0; 
 457     PyObject 
* _obj2 
= 0; 
 458     char *_kwnames
[] = { "self","choices", NULL 
}; 
 461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))  
 464         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 465         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 466             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p."); 
 472     _arg2 
= int_LIST_helper(_obj2
); 
 479         _arg1 
= PyList_Size(_obj2
); 
 486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 487     wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
); 
 489     wxPyEndAllowThreads(__tstate
); 
 490     if (PyErr_Occurred()) return NULL
; 
 491 }    Py_INCREF(Py_None
); 
 492     _resultobj 
= Py_None
; 
 499 #define wxStatusBar_SetMinHeight(_swigobj,_swigarg0)  (_swigobj->SetMinHeight(_swigarg0)) 
 500 static PyObject 
*_wrap_wxStatusBar_SetMinHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 501     PyObject 
* _resultobj
; 
 504     PyObject 
* _argo0 
= 0; 
 505     char *_kwnames
[] = { "self","height", NULL 
}; 
 508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStatusBar_SetMinHeight",_kwnames
,&_argo0
,&_arg1
))  
 511         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 512         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) { 
 513             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p."); 
 518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 519     wxStatusBar_SetMinHeight(_arg0
,_arg1
); 
 521     wxPyEndAllowThreads(__tstate
); 
 522     if (PyErr_Occurred()) return NULL
; 
 523 }    Py_INCREF(Py_None
); 
 524     _resultobj 
= Py_None
; 
 528 static void *SwigwxToolBarToolBaseTowxObject(void *ptr
) { 
 529     wxToolBarToolBase 
*src
; 
 531     src 
= (wxToolBarToolBase 
*) ptr
; 
 532     dest 
= (wxObject 
*) src
; 
 533     return (void *) dest
; 
 536 static void  wxToolBarToolBase_Destroy(wxToolBarToolBase 
*self
) { delete self
; } 
 537 static PyObject 
*_wrap_wxToolBarToolBase_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 538     PyObject 
* _resultobj
; 
 539     wxToolBarToolBase 
* _arg0
; 
 540     PyObject 
* _argo0 
= 0; 
 541     char *_kwnames
[] = { "self", NULL 
}; 
 544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))  
 547         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 548         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 549             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p."); 
 554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 555     wxToolBarToolBase_Destroy(_arg0
); 
 557     wxPyEndAllowThreads(__tstate
); 
 558     if (PyErr_Occurred()) return NULL
; 
 559 }    Py_INCREF(Py_None
); 
 560     _resultobj 
= Py_None
; 
 564 #define wxToolBarToolBase_GetId(_swigobj)  (_swigobj->GetId()) 
 565 static PyObject 
*_wrap_wxToolBarToolBase_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 566     PyObject 
* _resultobj
; 
 568     wxToolBarToolBase 
* _arg0
; 
 569     PyObject 
* _argo0 
= 0; 
 570     char *_kwnames
[] = { "self", NULL 
}; 
 573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))  
 576         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 577         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 578             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p."); 
 583     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 584     _result 
= (int )wxToolBarToolBase_GetId(_arg0
); 
 586     wxPyEndAllowThreads(__tstate
); 
 587     if (PyErr_Occurred()) return NULL
; 
 588 }    _resultobj 
= Py_BuildValue("i",_result
); 
 592 #define wxToolBarToolBase_GetControl(_swigobj)  (_swigobj->GetControl()) 
 593 static PyObject 
*_wrap_wxToolBarToolBase_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 594     PyObject 
* _resultobj
; 
 596     wxToolBarToolBase 
* _arg0
; 
 597     PyObject 
* _argo0 
= 0; 
 598     char *_kwnames
[] = { "self", NULL 
}; 
 601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))  
 604         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 605         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 606             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p."); 
 611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 612     _result 
= (wxControl 
*)wxToolBarToolBase_GetControl(_arg0
); 
 614     wxPyEndAllowThreads(__tstate
); 
 615     if (PyErr_Occurred()) return NULL
; 
 616 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
 620 #define wxToolBarToolBase_GetToolBar(_swigobj)  (_swigobj->GetToolBar()) 
 621 static PyObject 
*_wrap_wxToolBarToolBase_GetToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 622     PyObject 
* _resultobj
; 
 623     wxToolBarBase 
* _result
; 
 624     wxToolBarToolBase 
* _arg0
; 
 625     PyObject 
* _argo0 
= 0; 
 626     char *_kwnames
[] = { "self", NULL 
}; 
 629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))  
 632         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 633         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 634             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p."); 
 639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 640     _result 
= (wxToolBarBase 
*)wxToolBarToolBase_GetToolBar(_arg0
); 
 642     wxPyEndAllowThreads(__tstate
); 
 643     if (PyErr_Occurred()) return NULL
; 
 644 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
 648 #define wxToolBarToolBase_IsButton(_swigobj)  (_swigobj->IsButton()) 
 649 static PyObject 
*_wrap_wxToolBarToolBase_IsButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 650     PyObject 
* _resultobj
; 
 652     wxToolBarToolBase 
* _arg0
; 
 653     PyObject 
* _argo0 
= 0; 
 654     char *_kwnames
[] = { "self", NULL 
}; 
 657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))  
 660         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 661         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 662             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p."); 
 667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 668     _result 
= (int )wxToolBarToolBase_IsButton(_arg0
); 
 670     wxPyEndAllowThreads(__tstate
); 
 671     if (PyErr_Occurred()) return NULL
; 
 672 }    _resultobj 
= Py_BuildValue("i",_result
); 
 676 #define wxToolBarToolBase_IsControl(_swigobj)  (_swigobj->IsControl()) 
 677 static PyObject 
*_wrap_wxToolBarToolBase_IsControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 678     PyObject 
* _resultobj
; 
 680     wxToolBarToolBase 
* _arg0
; 
 681     PyObject 
* _argo0 
= 0; 
 682     char *_kwnames
[] = { "self", NULL 
}; 
 685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))  
 688         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 689         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 690             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p."); 
 695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 696     _result 
= (int )wxToolBarToolBase_IsControl(_arg0
); 
 698     wxPyEndAllowThreads(__tstate
); 
 699     if (PyErr_Occurred()) return NULL
; 
 700 }    _resultobj 
= Py_BuildValue("i",_result
); 
 704 #define wxToolBarToolBase_IsSeparator(_swigobj)  (_swigobj->IsSeparator()) 
 705 static PyObject 
*_wrap_wxToolBarToolBase_IsSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 706     PyObject 
* _resultobj
; 
 708     wxToolBarToolBase 
* _arg0
; 
 709     PyObject 
* _argo0 
= 0; 
 710     char *_kwnames
[] = { "self", NULL 
}; 
 713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))  
 716         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 717         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 718             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p."); 
 723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 724     _result 
= (int )wxToolBarToolBase_IsSeparator(_arg0
); 
 726     wxPyEndAllowThreads(__tstate
); 
 727     if (PyErr_Occurred()) return NULL
; 
 728 }    _resultobj 
= Py_BuildValue("i",_result
); 
 732 #define wxToolBarToolBase_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
 733 static PyObject 
*_wrap_wxToolBarToolBase_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 734     PyObject 
* _resultobj
; 
 736     wxToolBarToolBase 
* _arg0
; 
 737     PyObject 
* _argo0 
= 0; 
 738     char *_kwnames
[] = { "self", NULL 
}; 
 741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))  
 744         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 745         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 746             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p."); 
 751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 752     _result 
= (int )wxToolBarToolBase_GetStyle(_arg0
); 
 754     wxPyEndAllowThreads(__tstate
); 
 755     if (PyErr_Occurred()) return NULL
; 
 756 }    _resultobj 
= Py_BuildValue("i",_result
); 
 760 #define wxToolBarToolBase_IsEnabled(_swigobj)  (_swigobj->IsEnabled()) 
 761 static PyObject 
*_wrap_wxToolBarToolBase_IsEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 762     PyObject 
* _resultobj
; 
 764     wxToolBarToolBase 
* _arg0
; 
 765     PyObject 
* _argo0 
= 0; 
 766     char *_kwnames
[] = { "self", NULL 
}; 
 769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))  
 772         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 773         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 774             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p."); 
 779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 780     _result 
= (bool )wxToolBarToolBase_IsEnabled(_arg0
); 
 782     wxPyEndAllowThreads(__tstate
); 
 783     if (PyErr_Occurred()) return NULL
; 
 784 }    _resultobj 
= Py_BuildValue("i",_result
); 
 788 #define wxToolBarToolBase_IsToggled(_swigobj)  (_swigobj->IsToggled()) 
 789 static PyObject 
*_wrap_wxToolBarToolBase_IsToggled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 790     PyObject 
* _resultobj
; 
 792     wxToolBarToolBase 
* _arg0
; 
 793     PyObject 
* _argo0 
= 0; 
 794     char *_kwnames
[] = { "self", NULL 
}; 
 797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))  
 800         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 801         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 802             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p."); 
 807     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 808     _result 
= (bool )wxToolBarToolBase_IsToggled(_arg0
); 
 810     wxPyEndAllowThreads(__tstate
); 
 811     if (PyErr_Occurred()) return NULL
; 
 812 }    _resultobj 
= Py_BuildValue("i",_result
); 
 816 #define wxToolBarToolBase_CanBeToggled(_swigobj)  (_swigobj->CanBeToggled()) 
 817 static PyObject 
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 818     PyObject 
* _resultobj
; 
 820     wxToolBarToolBase 
* _arg0
; 
 821     PyObject 
* _argo0 
= 0; 
 822     char *_kwnames
[] = { "self", NULL 
}; 
 825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))  
 828         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 829         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 830             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p."); 
 835     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 836     _result 
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
); 
 838     wxPyEndAllowThreads(__tstate
); 
 839     if (PyErr_Occurred()) return NULL
; 
 840 }    _resultobj 
= Py_BuildValue("i",_result
); 
 844 #define wxToolBarToolBase_GetNormalBitmap(_swigobj)  (_swigobj->GetNormalBitmap()) 
 845 static PyObject 
*_wrap_wxToolBarToolBase_GetNormalBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 846     PyObject 
* _resultobj
; 
 848     wxToolBarToolBase 
* _arg0
; 
 849     PyObject 
* _argo0 
= 0; 
 850     char *_kwnames
[] = { "self", NULL 
}; 
 854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetNormalBitmap",_kwnames
,&_argo0
))  
 857         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 858         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 859             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetNormalBitmap. Expected _wxToolBarToolBase_p."); 
 864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 865     const wxBitmap 
& _result_ref 
= wxToolBarToolBase_GetNormalBitmap(_arg0
); 
 866     _result 
= (wxBitmap 
*) &_result_ref
; 
 868     wxPyEndAllowThreads(__tstate
); 
 869     if (PyErr_Occurred()) return NULL
; 
 871         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p"); 
 872         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 875         _resultobj 
= Py_None
; 
 880 #define wxToolBarToolBase_GetDisabledBitmap(_swigobj)  (_swigobj->GetDisabledBitmap()) 
 881 static PyObject 
*_wrap_wxToolBarToolBase_GetDisabledBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 882     PyObject 
* _resultobj
; 
 884     wxToolBarToolBase 
* _arg0
; 
 885     PyObject 
* _argo0 
= 0; 
 886     char *_kwnames
[] = { "self", NULL 
}; 
 890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetDisabledBitmap",_kwnames
,&_argo0
))  
 893         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 894         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 895             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetDisabledBitmap. Expected _wxToolBarToolBase_p."); 
 900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 901     const wxBitmap 
& _result_ref 
= wxToolBarToolBase_GetDisabledBitmap(_arg0
); 
 902     _result 
= (wxBitmap 
*) &_result_ref
; 
 904     wxPyEndAllowThreads(__tstate
); 
 905     if (PyErr_Occurred()) return NULL
; 
 907         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p"); 
 908         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 911         _resultobj 
= Py_None
; 
 916 #define wxToolBarToolBase_GetBitmap(_swigobj)  (_swigobj->GetBitmap()) 
 917 static PyObject 
*_wrap_wxToolBarToolBase_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 918     PyObject 
* _resultobj
; 
 920     wxToolBarToolBase 
* _arg0
; 
 921     PyObject 
* _argo0 
= 0; 
 922     char *_kwnames
[] = { "self", NULL 
}; 
 926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))  
 929         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 930         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 931             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p."); 
 936     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 937     _result 
= new wxBitmap (wxToolBarToolBase_GetBitmap(_arg0
)); 
 939     wxPyEndAllowThreads(__tstate
); 
 940     if (PyErr_Occurred()) return NULL
; 
 941 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p"); 
 942     _resultobj 
= Py_BuildValue("s",_ptemp
); 
 946 #define wxToolBarToolBase_GetLabel(_swigobj)  (_swigobj->GetLabel()) 
 947 static PyObject 
*_wrap_wxToolBarToolBase_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 948     PyObject 
* _resultobj
; 
 950     wxToolBarToolBase 
* _arg0
; 
 951     PyObject 
* _argo0 
= 0; 
 952     char *_kwnames
[] = { "self", NULL 
}; 
 955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLabel",_kwnames
,&_argo0
))  
 958         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 959         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 960             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLabel. Expected _wxToolBarToolBase_p."); 
 965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 966     _result 
= new wxString (wxToolBarToolBase_GetLabel(_arg0
)); 
 968     wxPyEndAllowThreads(__tstate
); 
 969     if (PyErr_Occurred()) return NULL
; 
 972     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 974     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 983 #define wxToolBarToolBase_GetShortHelp(_swigobj)  (_swigobj->GetShortHelp()) 
 984 static PyObject 
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 985     PyObject 
* _resultobj
; 
 987     wxToolBarToolBase 
* _arg0
; 
 988     PyObject 
* _argo0 
= 0; 
 989     char *_kwnames
[] = { "self", NULL 
}; 
 992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))  
 995         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 996         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
 997             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p."); 
1002     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1003     _result 
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
)); 
1005     wxPyEndAllowThreads(__tstate
); 
1006     if (PyErr_Occurred()) return NULL
; 
1009     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1011     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1020 #define wxToolBarToolBase_GetLongHelp(_swigobj)  (_swigobj->GetLongHelp()) 
1021 static PyObject 
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1022     PyObject 
* _resultobj
; 
1024     wxToolBarToolBase 
* _arg0
; 
1025     PyObject 
* _argo0 
= 0; 
1026     char *_kwnames
[] = { "self", NULL 
}; 
1029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))  
1032         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1033         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1034             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p."); 
1039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1040     _result 
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
)); 
1042     wxPyEndAllowThreads(__tstate
); 
1043     if (PyErr_Occurred()) return NULL
; 
1046     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1048     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1057 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0)  (_swigobj->Enable(_swigarg0)) 
1058 static PyObject 
*_wrap_wxToolBarToolBase_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1059     PyObject 
* _resultobj
; 
1061     wxToolBarToolBase 
* _arg0
; 
1063     PyObject 
* _argo0 
= 0; 
1065     char *_kwnames
[] = { "self","enable", NULL 
}; 
1068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))  
1071         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1072         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1073             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p."); 
1077     _arg1 
= (bool ) tempbool1
; 
1079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1080     _result 
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
); 
1082     wxPyEndAllowThreads(__tstate
); 
1083     if (PyErr_Occurred()) return NULL
; 
1084 }    _resultobj 
= Py_BuildValue("i",_result
); 
1088 #define wxToolBarToolBase_Toggle(_swigobj)  (_swigobj->Toggle()) 
1089 static PyObject 
*_wrap_wxToolBarToolBase_Toggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1090     PyObject 
* _resultobj
; 
1091     wxToolBarToolBase 
* _arg0
; 
1092     PyObject 
* _argo0 
= 0; 
1093     char *_kwnames
[] = { "self", NULL 
}; 
1096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
))  
1099         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1100         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1101             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p."); 
1106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1107     wxToolBarToolBase_Toggle(_arg0
); 
1109     wxPyEndAllowThreads(__tstate
); 
1110     if (PyErr_Occurred()) return NULL
; 
1111 }    Py_INCREF(Py_None
); 
1112     _resultobj 
= Py_None
; 
1116 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0)  (_swigobj->SetToggle(_swigarg0)) 
1117 static PyObject 
*_wrap_wxToolBarToolBase_SetToggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1118     PyObject 
* _resultobj
; 
1120     wxToolBarToolBase 
* _arg0
; 
1122     PyObject 
* _argo0 
= 0; 
1124     char *_kwnames
[] = { "self","toggle", NULL 
}; 
1127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))  
1130         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1131         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1132             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p."); 
1136     _arg1 
= (bool ) tempbool1
; 
1138     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1139     _result 
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
); 
1141     wxPyEndAllowThreads(__tstate
); 
1142     if (PyErr_Occurred()) return NULL
; 
1143 }    _resultobj 
= Py_BuildValue("i",_result
); 
1147 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0)  (_swigobj->SetShortHelp(_swigarg0)) 
1148 static PyObject 
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1149     PyObject 
* _resultobj
; 
1151     wxToolBarToolBase 
* _arg0
; 
1153     PyObject 
* _argo0 
= 0; 
1154     PyObject 
* _obj1 
= 0; 
1155     char *_kwnames
[] = { "self","help", NULL 
}; 
1158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))  
1161         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1162         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1163             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p."); 
1168     _arg1 
= wxString_in_helper(_obj1
); 
1173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1174     _result 
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
); 
1176     wxPyEndAllowThreads(__tstate
); 
1177     if (PyErr_Occurred()) return NULL
; 
1178 }    _resultobj 
= Py_BuildValue("i",_result
); 
1186 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0)  (_swigobj->SetLongHelp(_swigarg0)) 
1187 static PyObject 
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1188     PyObject 
* _resultobj
; 
1190     wxToolBarToolBase 
* _arg0
; 
1192     PyObject 
* _argo0 
= 0; 
1193     PyObject 
* _obj1 
= 0; 
1194     char *_kwnames
[] = { "self","help", NULL 
}; 
1197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))  
1200         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1201         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1202             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p."); 
1207     _arg1 
= wxString_in_helper(_obj1
); 
1212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1213     _result 
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
); 
1215     wxPyEndAllowThreads(__tstate
); 
1216     if (PyErr_Occurred()) return NULL
; 
1217 }    _resultobj 
= Py_BuildValue("i",_result
); 
1225 #define wxToolBarToolBase_SetNormalBitmap(_swigobj,_swigarg0)  (_swigobj->SetNormalBitmap(_swigarg0)) 
1226 static PyObject 
*_wrap_wxToolBarToolBase_SetNormalBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1227     PyObject 
* _resultobj
; 
1228     wxToolBarToolBase 
* _arg0
; 
1230     PyObject 
* _argo0 
= 0; 
1231     PyObject 
* _argo1 
= 0; 
1232     char *_kwnames
[] = { "self","bmp", NULL 
}; 
1235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetNormalBitmap",_kwnames
,&_argo0
,&_argo1
))  
1238         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1239         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1240             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetNormalBitmap. Expected _wxToolBarToolBase_p."); 
1245         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1246         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1247             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetNormalBitmap. Expected _wxBitmap_p."); 
1252     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1253     wxToolBarToolBase_SetNormalBitmap(_arg0
,*_arg1
); 
1255     wxPyEndAllowThreads(__tstate
); 
1256     if (PyErr_Occurred()) return NULL
; 
1257 }    Py_INCREF(Py_None
); 
1258     _resultobj 
= Py_None
; 
1262 #define wxToolBarToolBase_SetDisabledBitmap(_swigobj,_swigarg0)  (_swigobj->SetDisabledBitmap(_swigarg0)) 
1263 static PyObject 
*_wrap_wxToolBarToolBase_SetDisabledBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1264     PyObject 
* _resultobj
; 
1265     wxToolBarToolBase 
* _arg0
; 
1267     PyObject 
* _argo0 
= 0; 
1268     PyObject 
* _argo1 
= 0; 
1269     char *_kwnames
[] = { "self","bmp", NULL 
}; 
1272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetDisabledBitmap",_kwnames
,&_argo0
,&_argo1
))  
1275         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1276         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1277             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetDisabledBitmap. Expected _wxToolBarToolBase_p."); 
1282         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1283         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) { 
1284             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetDisabledBitmap. Expected _wxBitmap_p."); 
1289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1290     wxToolBarToolBase_SetDisabledBitmap(_arg0
,*_arg1
); 
1292     wxPyEndAllowThreads(__tstate
); 
1293     if (PyErr_Occurred()) return NULL
; 
1294 }    Py_INCREF(Py_None
); 
1295     _resultobj 
= Py_None
; 
1299 #define wxToolBarToolBase_SetLabel(_swigobj,_swigarg0)  (_swigobj->SetLabel(_swigarg0)) 
1300 static PyObject 
*_wrap_wxToolBarToolBase_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1301     PyObject 
* _resultobj
; 
1302     wxToolBarToolBase 
* _arg0
; 
1304     PyObject 
* _argo0 
= 0; 
1305     PyObject 
* _obj1 
= 0; 
1306     char *_kwnames
[] = { "self","label", NULL 
}; 
1309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLabel",_kwnames
,&_argo0
,&_obj1
))  
1312         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1313         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1314             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLabel. Expected _wxToolBarToolBase_p."); 
1319     _arg1 
= wxString_in_helper(_obj1
); 
1324     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1325     wxToolBarToolBase_SetLabel(_arg0
,*_arg1
); 
1327     wxPyEndAllowThreads(__tstate
); 
1328     if (PyErr_Occurred()) return NULL
; 
1329 }    Py_INCREF(Py_None
); 
1330     _resultobj 
= Py_None
; 
1338 #define wxToolBarToolBase_Detach(_swigobj)  (_swigobj->Detach()) 
1339 static PyObject 
*_wrap_wxToolBarToolBase_Detach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1340     PyObject 
* _resultobj
; 
1341     wxToolBarToolBase 
* _arg0
; 
1342     PyObject 
* _argo0 
= 0; 
1343     char *_kwnames
[] = { "self", NULL 
}; 
1346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))  
1349         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1350         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1351             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p."); 
1356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1357     wxToolBarToolBase_Detach(_arg0
); 
1359     wxPyEndAllowThreads(__tstate
); 
1360     if (PyErr_Occurred()) return NULL
; 
1361 }    Py_INCREF(Py_None
); 
1362     _resultobj 
= Py_None
; 
1366 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0)  (_swigobj->Attach(_swigarg0)) 
1367 static PyObject 
*_wrap_wxToolBarToolBase_Attach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1368     PyObject 
* _resultobj
; 
1369     wxToolBarToolBase 
* _arg0
; 
1370     wxToolBarBase 
* _arg1
; 
1371     PyObject 
* _argo0 
= 0; 
1372     PyObject 
* _argo1 
= 0; 
1373     char *_kwnames
[] = { "self","tbar", NULL 
}; 
1376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))  
1379         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1380         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1381             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p."); 
1386         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1387         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) { 
1388             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p."); 
1393     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1394     wxToolBarToolBase_Attach(_arg0
,_arg1
); 
1396     wxPyEndAllowThreads(__tstate
); 
1397     if (PyErr_Occurred()) return NULL
; 
1398 }    Py_INCREF(Py_None
); 
1399     _resultobj 
= Py_None
; 
1403 static PyObject 
* wxToolBarToolBase_GetClientData(wxToolBarToolBase 
*self
) { 
1404             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetClientData(); 
1406                 Py_INCREF(udata
->m_obj
); 
1407                 return udata
->m_obj
; 
1413 static PyObject 
*_wrap_wxToolBarToolBase_GetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1414     PyObject 
* _resultobj
; 
1416     wxToolBarToolBase 
* _arg0
; 
1417     PyObject 
* _argo0 
= 0; 
1418     char *_kwnames
[] = { "self", NULL 
}; 
1421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))  
1424         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1425         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1426             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p."); 
1431     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1432     _result 
= (PyObject 
*)wxToolBarToolBase_GetClientData(_arg0
); 
1434     wxPyEndAllowThreads(__tstate
); 
1435     if (PyErr_Occurred()) return NULL
; 
1437   _resultobj 
= _result
; 
1442 static void  wxToolBarToolBase_SetClientData(wxToolBarToolBase 
*self
,PyObject 
* clientData
) { 
1443             self
->SetClientData(new wxPyUserData(clientData
)); 
1445 static PyObject 
*_wrap_wxToolBarToolBase_SetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1446     PyObject 
* _resultobj
; 
1447     wxToolBarToolBase 
* _arg0
; 
1449     PyObject 
* _argo0 
= 0; 
1450     PyObject 
* _obj1 
= 0; 
1451     char *_kwnames
[] = { "self","clientData", NULL 
}; 
1454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))  
1457         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1458         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) { 
1459             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p."); 
1467     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1468     wxToolBarToolBase_SetClientData(_arg0
,_arg1
); 
1470     wxPyEndAllowThreads(__tstate
); 
1471     if (PyErr_Occurred()) return NULL
; 
1472 }    Py_INCREF(Py_None
); 
1473     _resultobj 
= Py_None
; 
1477 static void *SwigwxToolBarBaseTowxControl(void *ptr
) { 
1480     src 
= (wxToolBarBase 
*) ptr
; 
1481     dest 
= (wxControl 
*) src
; 
1482     return (void *) dest
; 
1485 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) { 
1488     src 
= (wxToolBarBase 
*) ptr
; 
1489     dest 
= (wxWindow 
*) src
; 
1490     return (void *) dest
; 
1493 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) { 
1496     src 
= (wxToolBarBase 
*) ptr
; 
1497     dest 
= (wxEvtHandler 
*) src
; 
1498     return (void *) dest
; 
1501 static void *SwigwxToolBarBaseTowxObject(void *ptr
) { 
1504     src 
= (wxToolBarBase 
*) ptr
; 
1505     dest 
= (wxObject 
*) src
; 
1506     return (void *) dest
; 
1509 static wxToolBarToolBase 
* wxToolBarBase_AddTool(wxToolBarBase 
*self
,int  id
,const wxBitmap 
& bitmap
,const wxBitmap 
& pushedBitmap
,int  isToggle
,PyObject 
* clientData
,const wxString 
& shortHelpString
,const wxString 
& longHelpString
) { 
1510             wxPyUserData
* udata 
= NULL
; 
1512                 udata 
= new wxPyUserData(clientData
); 
1513             return self
->AddTool(id
, bitmap
, pushedBitmap
, (bool)isToggle
, 
1514                                  udata
, shortHelpString
, longHelpString
); 
1516 static PyObject 
*_wrap_wxToolBarBase_AddTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1517     PyObject 
* _resultobj
; 
1518     wxToolBarToolBase 
* _result
; 
1519     wxToolBarBase 
* _arg0
; 
1522     wxBitmap 
* _arg3 
= (wxBitmap 
*) &wxNullBitmap
; 
1523     int  _arg4 
= (int ) FALSE
; 
1524     PyObject 
* _arg5 
= (PyObject 
*) NULL
; 
1525     wxString 
* _arg6 
= (wxString 
*) &wxEmptyString
; 
1526     wxString 
* _arg7 
= (wxString 
*) &wxEmptyString
; 
1527     PyObject 
* _argo0 
= 0; 
1528     PyObject 
* _argo2 
= 0; 
1529     PyObject 
* _argo3 
= 0; 
1530     PyObject 
* _obj5 
= 0; 
1531     PyObject 
* _obj6 
= 0; 
1532     PyObject 
* _obj7 
= 0; 
1533     char *_kwnames
[] = { "self","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL 
}; 
1536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_obj7
))  
1539         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1540         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1541             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p."); 
1546         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
1547         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) { 
1548             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p."); 
1553         if (_argo3 
== Py_None
) { _arg3 
= NULL
; } 
1554         else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) { 
1555             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p."); 
1565     _arg6 
= wxString_in_helper(_obj6
); 
1571     _arg7 
= wxString_in_helper(_obj7
); 
1576     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1577     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
); 
1579     wxPyEndAllowThreads(__tstate
); 
1580     if (PyErr_Occurred()) return NULL
; 
1581 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1593 static wxToolBarToolBase 
* wxToolBarBase_AddSimpleTool(wxToolBarBase 
*self
,int  id
,const wxBitmap 
& bitmap
,const wxString 
& shortHelpString
,const wxString 
& longHelpString
,int  isToggle
) { 
1594             return self
->AddTool(id
, bitmap
, wxNullBitmap
, isToggle
, NULL
, 
1595                                  shortHelpString
, longHelpString
); 
1597 static PyObject 
*_wrap_wxToolBarBase_AddSimpleTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1598     PyObject 
* _resultobj
; 
1599     wxToolBarToolBase 
* _result
; 
1600     wxToolBarBase 
* _arg0
; 
1603     wxString 
* _arg3 
= (wxString 
*) &wxEmptyString
; 
1604     wxString 
* _arg4 
= (wxString 
*) &wxEmptyString
; 
1605     int  _arg5 
= (int ) FALSE
; 
1606     PyObject 
* _argo0 
= 0; 
1607     PyObject 
* _argo2 
= 0; 
1608     PyObject 
* _obj3 
= 0; 
1609     PyObject 
* _obj4 
= 0; 
1610     char *_kwnames
[] = { "self","id","bitmap","shortHelpString","longHelpString","isToggle", NULL 
}; 
1613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
))  
1616         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1617         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1618             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p."); 
1623         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
1624         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) { 
1625             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p."); 
1631     _arg3 
= wxString_in_helper(_obj3
); 
1637     _arg4 
= wxString_in_helper(_obj4
); 
1642     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1643     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
); 
1645     wxPyEndAllowThreads(__tstate
); 
1646     if (PyErr_Occurred()) return NULL
; 
1647 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1659 static wxToolBarToolBase 
* wxToolBarBase_InsertTool(wxToolBarBase 
*self
,size_t  pos
,int  id
,const wxBitmap 
& bitmap
,const wxBitmap 
& pushedBitmap
,int  isToggle
,PyObject 
* clientData
,const wxString 
& shortHelpString
,const wxString 
& longHelpString
) { 
1660             wxPyUserData
* udata 
= NULL
; 
1662                 udata 
= new wxPyUserData(clientData
); 
1663             return self
->InsertTool(pos
, id
, bitmap
, pushedBitmap
, (bool)isToggle
, 
1664                                     udata
, shortHelpString
, longHelpString
); 
1666 static PyObject 
*_wrap_wxToolBarBase_InsertTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1667     PyObject 
* _resultobj
; 
1668     wxToolBarToolBase 
* _result
; 
1669     wxToolBarBase 
* _arg0
; 
1673     wxBitmap 
* _arg4 
= (wxBitmap 
*) &wxNullBitmap
; 
1674     int  _arg5 
= (int ) FALSE
; 
1675     PyObject 
* _arg6 
= (PyObject 
*) NULL
; 
1676     wxString 
* _arg7 
= (wxString 
*) &wxEmptyString
; 
1677     wxString 
* _arg8 
= (wxString 
*) &wxEmptyString
; 
1678     PyObject 
* _argo0 
= 0; 
1679     PyObject 
* _argo3 
= 0; 
1680     PyObject 
* _argo4 
= 0; 
1681     PyObject 
* _obj6 
= 0; 
1682     PyObject 
* _obj7 
= 0; 
1683     PyObject 
* _obj8 
= 0; 
1684     char *_kwnames
[] = { "self","pos","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL 
}; 
1687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))  
1690         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1691         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1692             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p."); 
1697         if (_argo3 
== Py_None
) { _arg3 
= NULL
; } 
1698         else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) { 
1699             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p."); 
1704         if (_argo4 
== Py_None
) { _arg4 
= NULL
; } 
1705         else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) { 
1706             PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p."); 
1716     _arg7 
= wxString_in_helper(_obj7
); 
1722     _arg8 
= wxString_in_helper(_obj8
); 
1727     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1728     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_InsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
); 
1730     wxPyEndAllowThreads(__tstate
); 
1731     if (PyErr_Occurred()) return NULL
; 
1732 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1744 static wxToolBarToolBase 
* wxToolBarBase_InsertSimpleTool(wxToolBarBase 
*self
,size_t  pos
,int  id
,const wxBitmap 
& bitmap
,const wxString 
& shortHelpString
,const wxString 
& longHelpString
,int  isToggle
) { 
1745             return self
->InsertTool(pos
, id
, bitmap
, wxNullBitmap
, isToggle
, NULL
, 
1746                                     shortHelpString
, longHelpString
); 
1748 static PyObject 
*_wrap_wxToolBarBase_InsertSimpleTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1749     PyObject 
* _resultobj
; 
1750     wxToolBarToolBase 
* _result
; 
1751     wxToolBarBase 
* _arg0
; 
1755     wxString 
* _arg4 
= (wxString 
*) &wxEmptyString
; 
1756     wxString 
* _arg5 
= (wxString 
*) &wxEmptyString
; 
1757     int  _arg6 
= (int ) FALSE
; 
1758     PyObject 
* _argo0 
= 0; 
1759     PyObject 
* _argo3 
= 0; 
1760     PyObject 
* _obj4 
= 0; 
1761     PyObject 
* _obj5 
= 0; 
1762     char *_kwnames
[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","isToggle", NULL 
}; 
1765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
))  
1768         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1769         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1770             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p."); 
1775         if (_argo3 
== Py_None
) { _arg3 
= NULL
; } 
1776         else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) { 
1777             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p."); 
1783     _arg4 
= wxString_in_helper(_obj4
); 
1789     _arg5 
= wxString_in_helper(_obj5
); 
1794     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1795     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_InsertSimpleTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
); 
1797     wxPyEndAllowThreads(__tstate
); 
1798     if (PyErr_Occurred()) return NULL
; 
1799 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1811 #define wxToolBarBase_AddControl(_swigobj,_swigarg0)  (_swigobj->AddControl(_swigarg0)) 
1812 static PyObject 
*_wrap_wxToolBarBase_AddControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1813     PyObject 
* _resultobj
; 
1814     wxToolBarToolBase 
* _result
; 
1815     wxToolBarBase 
* _arg0
; 
1817     PyObject 
* _argo0 
= 0; 
1818     PyObject 
* _argo1 
= 0; 
1819     char *_kwnames
[] = { "self","control", NULL 
}; 
1822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))  
1825         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1826         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1827             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p."); 
1832         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1833         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) { 
1834             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p."); 
1839     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1840     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_AddControl(_arg0
,_arg1
); 
1842     wxPyEndAllowThreads(__tstate
); 
1843     if (PyErr_Occurred()) return NULL
; 
1844 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1848 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1)  (_swigobj->InsertControl(_swigarg0,_swigarg1)) 
1849 static PyObject 
*_wrap_wxToolBarBase_InsertControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1850     PyObject 
* _resultobj
; 
1851     wxToolBarToolBase 
* _result
; 
1852     wxToolBarBase 
* _arg0
; 
1855     PyObject 
* _argo0 
= 0; 
1856     PyObject 
* _argo2 
= 0; 
1857     char *_kwnames
[] = { "self","pos","control", NULL 
}; 
1860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))  
1863         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1864         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1865             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p."); 
1870         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
1871         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) { 
1872             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p."); 
1877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1878     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
); 
1880     wxPyEndAllowThreads(__tstate
); 
1881     if (PyErr_Occurred()) return NULL
; 
1882 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1886 #define wxToolBarBase_AddSeparator(_swigobj)  (_swigobj->AddSeparator()) 
1887 static PyObject 
*_wrap_wxToolBarBase_AddSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1888     PyObject 
* _resultobj
; 
1889     wxToolBarToolBase 
* _result
; 
1890     wxToolBarBase 
* _arg0
; 
1891     PyObject 
* _argo0 
= 0; 
1892     char *_kwnames
[] = { "self", NULL 
}; 
1895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))  
1898         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1899         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1900             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p."); 
1905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1906     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_AddSeparator(_arg0
); 
1908     wxPyEndAllowThreads(__tstate
); 
1909     if (PyErr_Occurred()) return NULL
; 
1910 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1914 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0)  (_swigobj->InsertSeparator(_swigarg0)) 
1915 static PyObject 
*_wrap_wxToolBarBase_InsertSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1916     PyObject 
* _resultobj
; 
1917     wxToolBarToolBase 
* _result
; 
1918     wxToolBarBase 
* _arg0
; 
1920     PyObject 
* _argo0 
= 0; 
1921     char *_kwnames
[] = { "self","pos", NULL 
}; 
1924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))  
1927         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1928         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1929             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p."); 
1934     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1935     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
); 
1937     wxPyEndAllowThreads(__tstate
); 
1938     if (PyErr_Occurred()) return NULL
; 
1939 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1943 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0)  (_swigobj->RemoveTool(_swigarg0)) 
1944 static PyObject 
*_wrap_wxToolBarBase_RemoveTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1945     PyObject 
* _resultobj
; 
1946     wxToolBarToolBase 
* _result
; 
1947     wxToolBarBase 
* _arg0
; 
1949     PyObject 
* _argo0 
= 0; 
1950     char *_kwnames
[] = { "self","id", NULL 
}; 
1953     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))  
1956         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1957         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1958             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p."); 
1963     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1964     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
); 
1966     wxPyEndAllowThreads(__tstate
); 
1967     if (PyErr_Occurred()) return NULL
; 
1968 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
1972 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0)  (_swigobj->DeleteToolByPos(_swigarg0)) 
1973 static PyObject 
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1974     PyObject 
* _resultobj
; 
1976     wxToolBarBase 
* _arg0
; 
1978     PyObject 
* _argo0 
= 0; 
1979     char *_kwnames
[] = { "self","pos", NULL 
}; 
1982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))  
1985         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1986         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
1987             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p."); 
1992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1993     _result 
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
); 
1995     wxPyEndAllowThreads(__tstate
); 
1996     if (PyErr_Occurred()) return NULL
; 
1997 }    _resultobj 
= Py_BuildValue("i",_result
); 
2001 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0)  (_swigobj->DeleteTool(_swigarg0)) 
2002 static PyObject 
*_wrap_wxToolBarBase_DeleteTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2003     PyObject 
* _resultobj
; 
2005     wxToolBarBase 
* _arg0
; 
2007     PyObject 
* _argo0 
= 0; 
2008     char *_kwnames
[] = { "self","id", NULL 
}; 
2011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))  
2014         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2015         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2016             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p."); 
2021     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2022     _result 
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
); 
2024     wxPyEndAllowThreads(__tstate
); 
2025     if (PyErr_Occurred()) return NULL
; 
2026 }    _resultobj 
= Py_BuildValue("i",_result
); 
2030 #define wxToolBarBase_ClearTools(_swigobj)  (_swigobj->ClearTools()) 
2031 static PyObject 
*_wrap_wxToolBarBase_ClearTools(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2032     PyObject 
* _resultobj
; 
2033     wxToolBarBase 
* _arg0
; 
2034     PyObject 
* _argo0 
= 0; 
2035     char *_kwnames
[] = { "self", NULL 
}; 
2038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))  
2041         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2042         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2043             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p."); 
2048     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2049     wxToolBarBase_ClearTools(_arg0
); 
2051     wxPyEndAllowThreads(__tstate
); 
2052     if (PyErr_Occurred()) return NULL
; 
2053 }    Py_INCREF(Py_None
); 
2054     _resultobj 
= Py_None
; 
2058 #define wxToolBarBase_Realize(_swigobj)  (_swigobj->Realize()) 
2059 static PyObject 
*_wrap_wxToolBarBase_Realize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2060     PyObject 
* _resultobj
; 
2062     wxToolBarBase 
* _arg0
; 
2063     PyObject 
* _argo0 
= 0; 
2064     char *_kwnames
[] = { "self", NULL 
}; 
2067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))  
2070         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2071         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2072             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p."); 
2077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2078     _result 
= (bool )wxToolBarBase_Realize(_arg0
); 
2080     wxPyEndAllowThreads(__tstate
); 
2081     if (PyErr_Occurred()) return NULL
; 
2082 }    _resultobj 
= Py_BuildValue("i",_result
); 
2086 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1)  (_swigobj->EnableTool(_swigarg0,_swigarg1)) 
2087 static PyObject 
*_wrap_wxToolBarBase_EnableTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2088     PyObject 
* _resultobj
; 
2089     wxToolBarBase 
* _arg0
; 
2092     PyObject 
* _argo0 
= 0; 
2094     char *_kwnames
[] = { "self","id","enable", NULL 
}; 
2097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2100         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2101         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2102             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p."); 
2106     _arg2 
= (bool ) tempbool2
; 
2108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2109     wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
); 
2111     wxPyEndAllowThreads(__tstate
); 
2112     if (PyErr_Occurred()) return NULL
; 
2113 }    Py_INCREF(Py_None
); 
2114     _resultobj 
= Py_None
; 
2118 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1)  (_swigobj->ToggleTool(_swigarg0,_swigarg1)) 
2119 static PyObject 
*_wrap_wxToolBarBase_ToggleTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2120     PyObject 
* _resultobj
; 
2121     wxToolBarBase 
* _arg0
; 
2124     PyObject 
* _argo0 
= 0; 
2126     char *_kwnames
[] = { "self","id","toggle", NULL 
}; 
2129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2132         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2133         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2134             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p."); 
2138     _arg2 
= (bool ) tempbool2
; 
2140     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2141     wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
); 
2143     wxPyEndAllowThreads(__tstate
); 
2144     if (PyErr_Occurred()) return NULL
; 
2145 }    Py_INCREF(Py_None
); 
2146     _resultobj 
= Py_None
; 
2150 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetToggle(_swigarg0,_swigarg1)) 
2151 static PyObject 
*_wrap_wxToolBarBase_SetToggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2152     PyObject 
* _resultobj
; 
2153     wxToolBarBase 
* _arg0
; 
2156     PyObject 
* _argo0 
= 0; 
2158     char *_kwnames
[] = { "self","id","toggle", NULL 
}; 
2161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2164         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2165         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2166             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p."); 
2170     _arg2 
= (bool ) tempbool2
; 
2172     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2173     wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
); 
2175     wxPyEndAllowThreads(__tstate
); 
2176     if (PyErr_Occurred()) return NULL
; 
2177 }    Py_INCREF(Py_None
); 
2178     _resultobj 
= Py_None
; 
2182 static PyObject 
* wxToolBarBase_GetToolClientData(wxToolBarBase 
*self
,int  id
) { 
2183             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetToolClientData(id
); 
2185                 Py_INCREF(udata
->m_obj
); 
2186                 return udata
->m_obj
; 
2192 static PyObject 
*_wrap_wxToolBarBase_GetToolClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2193     PyObject 
* _resultobj
; 
2195     wxToolBarBase 
* _arg0
; 
2197     PyObject 
* _argo0 
= 0; 
2198     char *_kwnames
[] = { "self","id", NULL 
}; 
2201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))  
2204         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2205         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2206             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p."); 
2211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2212     _result 
= (PyObject 
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
); 
2214     wxPyEndAllowThreads(__tstate
); 
2215     if (PyErr_Occurred()) return NULL
; 
2217   _resultobj 
= _result
; 
2222 static void  wxToolBarBase_SetToolClientData(wxToolBarBase 
*self
,int  id
,PyObject 
* clientData
) { 
2223             self
->SetToolClientData(id
, new wxPyUserData(clientData
)); 
2225 static PyObject 
*_wrap_wxToolBarBase_SetToolClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2226     PyObject 
* _resultobj
; 
2227     wxToolBarBase 
* _arg0
; 
2230     PyObject 
* _argo0 
= 0; 
2231     PyObject 
* _obj2 
= 0; 
2232     char *_kwnames
[] = { "self","id","clientData", NULL 
}; 
2235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
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_SetToolClientData. Expected _wxToolBarBase_p."); 
2248     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2249     wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
); 
2251     wxPyEndAllowThreads(__tstate
); 
2252     if (PyErr_Occurred()) return NULL
; 
2253 }    Py_INCREF(Py_None
); 
2254     _resultobj 
= Py_None
; 
2258 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0)  (_swigobj->GetToolState(_swigarg0)) 
2259 static PyObject 
*_wrap_wxToolBarBase_GetToolState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2260     PyObject 
* _resultobj
; 
2262     wxToolBarBase 
* _arg0
; 
2264     PyObject 
* _argo0 
= 0; 
2265     char *_kwnames
[] = { "self","id", NULL 
}; 
2268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))  
2271         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2272         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2273             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p."); 
2278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2279     _result 
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
); 
2281     wxPyEndAllowThreads(__tstate
); 
2282     if (PyErr_Occurred()) return NULL
; 
2283 }    _resultobj 
= Py_BuildValue("i",_result
); 
2287 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0)  (_swigobj->GetToolEnabled(_swigarg0)) 
2288 static PyObject 
*_wrap_wxToolBarBase_GetToolEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2289     PyObject 
* _resultobj
; 
2291     wxToolBarBase 
* _arg0
; 
2293     PyObject 
* _argo0 
= 0; 
2294     char *_kwnames
[] = { "self","id", NULL 
}; 
2297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))  
2300         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2301         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2302             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p."); 
2307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2308     _result 
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
); 
2310     wxPyEndAllowThreads(__tstate
); 
2311     if (PyErr_Occurred()) return NULL
; 
2312 }    _resultobj 
= Py_BuildValue("i",_result
); 
2316 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1)) 
2317 static PyObject 
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2318     PyObject 
* _resultobj
; 
2319     wxToolBarBase 
* _arg0
; 
2322     PyObject 
* _argo0 
= 0; 
2323     PyObject 
* _obj2 
= 0; 
2324     char *_kwnames
[] = { "self","id","helpString", NULL 
}; 
2327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
2330         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2331         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2332             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p."); 
2337     _arg2 
= wxString_in_helper(_obj2
); 
2342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2343     wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
); 
2345     wxPyEndAllowThreads(__tstate
); 
2346     if (PyErr_Occurred()) return NULL
; 
2347 }    Py_INCREF(Py_None
); 
2348     _resultobj 
= Py_None
; 
2356 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0)  (_swigobj->GetToolShortHelp(_swigarg0)) 
2357 static PyObject 
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2358     PyObject 
* _resultobj
; 
2360     wxToolBarBase 
* _arg0
; 
2362     PyObject 
* _argo0 
= 0; 
2363     char *_kwnames
[] = { "self","id", NULL 
}; 
2366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))  
2369         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2370         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2371             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p."); 
2376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2377     _result 
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
)); 
2379     wxPyEndAllowThreads(__tstate
); 
2380     if (PyErr_Occurred()) return NULL
; 
2383     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2385     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2394 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1)) 
2395 static PyObject 
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2396     PyObject 
* _resultobj
; 
2397     wxToolBarBase 
* _arg0
; 
2400     PyObject 
* _argo0 
= 0; 
2401     PyObject 
* _obj2 
= 0; 
2402     char *_kwnames
[] = { "self","id","helpString", NULL 
}; 
2405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
2408         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2409         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2410             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p."); 
2415     _arg2 
= wxString_in_helper(_obj2
); 
2420     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2421     wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
); 
2423     wxPyEndAllowThreads(__tstate
); 
2424     if (PyErr_Occurred()) return NULL
; 
2425 }    Py_INCREF(Py_None
); 
2426     _resultobj 
= Py_None
; 
2434 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0)  (_swigobj->GetToolLongHelp(_swigarg0)) 
2435 static PyObject 
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2436     PyObject 
* _resultobj
; 
2438     wxToolBarBase 
* _arg0
; 
2440     PyObject 
* _argo0 
= 0; 
2441     char *_kwnames
[] = { "self","id", NULL 
}; 
2444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))  
2447         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2448         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2449             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p."); 
2454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2455     _result 
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
)); 
2457     wxPyEndAllowThreads(__tstate
); 
2458     if (PyErr_Occurred()) return NULL
; 
2461     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2463     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2472 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetMargins(_swigarg0,_swigarg1)) 
2473 static PyObject 
*_wrap_wxToolBarBase_SetMarginsXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2474     PyObject 
* _resultobj
; 
2475     wxToolBarBase 
* _arg0
; 
2478     PyObject 
* _argo0 
= 0; 
2479     char *_kwnames
[] = { "self","x","y", NULL 
}; 
2482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
2485         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2486         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2487             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p."); 
2492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2493     wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
); 
2495     wxPyEndAllowThreads(__tstate
); 
2496     if (PyErr_Occurred()) return NULL
; 
2497 }    Py_INCREF(Py_None
); 
2498     _resultobj 
= Py_None
; 
2502 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0)  (_swigobj->SetMargins(_swigarg0)) 
2503 static PyObject 
*_wrap_wxToolBarBase_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2504     PyObject 
* _resultobj
; 
2505     wxToolBarBase 
* _arg0
; 
2507     PyObject 
* _argo0 
= 0; 
2509     PyObject 
* _obj1 
= 0; 
2510     char *_kwnames
[] = { "self","size", NULL 
}; 
2513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))  
2516         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2517         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2518             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p."); 
2524     if (! wxSize_helper(_obj1
, &_arg1
)) 
2528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2529     wxToolBarBase_SetMargins(_arg0
,*_arg1
); 
2531     wxPyEndAllowThreads(__tstate
); 
2532     if (PyErr_Occurred()) return NULL
; 
2533 }    Py_INCREF(Py_None
); 
2534     _resultobj 
= Py_None
; 
2538 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0)  (_swigobj->SetToolPacking(_swigarg0)) 
2539 static PyObject 
*_wrap_wxToolBarBase_SetToolPacking(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2540     PyObject 
* _resultobj
; 
2541     wxToolBarBase 
* _arg0
; 
2543     PyObject 
* _argo0 
= 0; 
2544     char *_kwnames
[] = { "self","packing", NULL 
}; 
2547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))  
2550         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2551         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2552             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p."); 
2557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2558     wxToolBarBase_SetToolPacking(_arg0
,_arg1
); 
2560     wxPyEndAllowThreads(__tstate
); 
2561     if (PyErr_Occurred()) return NULL
; 
2562 }    Py_INCREF(Py_None
); 
2563     _resultobj 
= Py_None
; 
2567 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0)  (_swigobj->SetToolSeparation(_swigarg0)) 
2568 static PyObject 
*_wrap_wxToolBarBase_SetToolSeparation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2569     PyObject 
* _resultobj
; 
2570     wxToolBarBase 
* _arg0
; 
2572     PyObject 
* _argo0 
= 0; 
2573     char *_kwnames
[] = { "self","separation", NULL 
}; 
2576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))  
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_SetToolSeparation. Expected _wxToolBarBase_p."); 
2586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2587     wxToolBarBase_SetToolSeparation(_arg0
,_arg1
); 
2589     wxPyEndAllowThreads(__tstate
); 
2590     if (PyErr_Occurred()) return NULL
; 
2591 }    Py_INCREF(Py_None
); 
2592     _resultobj 
= Py_None
; 
2596 #define wxToolBarBase_GetToolMargins(_swigobj)  (_swigobj->GetToolMargins()) 
2597 static PyObject 
*_wrap_wxToolBarBase_GetToolMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2598     PyObject 
* _resultobj
; 
2600     wxToolBarBase 
* _arg0
; 
2601     PyObject 
* _argo0 
= 0; 
2602     char *_kwnames
[] = { "self", NULL 
}; 
2606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))  
2609         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2610         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2611             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p."); 
2616     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2617     _result 
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
)); 
2619     wxPyEndAllowThreads(__tstate
); 
2620     if (PyErr_Occurred()) return NULL
; 
2621 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2622     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2626 #define wxToolBarBase_GetMargins(_swigobj)  (_swigobj->GetMargins()) 
2627 static PyObject 
*_wrap_wxToolBarBase_GetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2628     PyObject 
* _resultobj
; 
2630     wxToolBarBase 
* _arg0
; 
2631     PyObject 
* _argo0 
= 0; 
2632     char *_kwnames
[] = { "self", NULL 
}; 
2636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMargins",_kwnames
,&_argo0
))  
2639         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2640         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2641             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMargins. Expected _wxToolBarBase_p."); 
2646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2647     _result 
= new wxSize (wxToolBarBase_GetMargins(_arg0
)); 
2649     wxPyEndAllowThreads(__tstate
); 
2650     if (PyErr_Occurred()) return NULL
; 
2651 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2652     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2656 #define wxToolBarBase_GetToolPacking(_swigobj)  (_swigobj->GetToolPacking()) 
2657 static PyObject 
*_wrap_wxToolBarBase_GetToolPacking(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2658     PyObject 
* _resultobj
; 
2660     wxToolBarBase 
* _arg0
; 
2661     PyObject 
* _argo0 
= 0; 
2662     char *_kwnames
[] = { "self", NULL 
}; 
2665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))  
2668         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2669         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2670             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p."); 
2675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2676     _result 
= (int )wxToolBarBase_GetToolPacking(_arg0
); 
2678     wxPyEndAllowThreads(__tstate
); 
2679     if (PyErr_Occurred()) return NULL
; 
2680 }    _resultobj 
= Py_BuildValue("i",_result
); 
2684 #define wxToolBarBase_GetToolSeparation(_swigobj)  (_swigobj->GetToolSeparation()) 
2685 static PyObject 
*_wrap_wxToolBarBase_GetToolSeparation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2686     PyObject 
* _resultobj
; 
2688     wxToolBarBase 
* _arg0
; 
2689     PyObject 
* _argo0 
= 0; 
2690     char *_kwnames
[] = { "self", NULL 
}; 
2693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))  
2696         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2697         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2698             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p."); 
2703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2704     _result 
= (int )wxToolBarBase_GetToolSeparation(_arg0
); 
2706     wxPyEndAllowThreads(__tstate
); 
2707     if (PyErr_Occurred()) return NULL
; 
2708 }    _resultobj 
= Py_BuildValue("i",_result
); 
2712 #define wxToolBarBase_SetRows(_swigobj,_swigarg0)  (_swigobj->SetRows(_swigarg0)) 
2713 static PyObject 
*_wrap_wxToolBarBase_SetRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2714     PyObject 
* _resultobj
; 
2715     wxToolBarBase 
* _arg0
; 
2717     PyObject 
* _argo0 
= 0; 
2718     char *_kwnames
[] = { "self","nRows", NULL 
}; 
2721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))  
2724         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2725         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2726             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p."); 
2731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2732     wxToolBarBase_SetRows(_arg0
,_arg1
); 
2734     wxPyEndAllowThreads(__tstate
); 
2735     if (PyErr_Occurred()) return NULL
; 
2736 }    Py_INCREF(Py_None
); 
2737     _resultobj 
= Py_None
; 
2741 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1)) 
2742 static PyObject 
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2743     PyObject 
* _resultobj
; 
2744     wxToolBarBase 
* _arg0
; 
2747     PyObject 
* _argo0 
= 0; 
2748     char *_kwnames
[] = { "self","rows","cols", NULL 
}; 
2751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
2754         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2755         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2756             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p."); 
2761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2762     wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
); 
2764     wxPyEndAllowThreads(__tstate
); 
2765     if (PyErr_Occurred()) return NULL
; 
2766 }    Py_INCREF(Py_None
); 
2767     _resultobj 
= Py_None
; 
2771 #define wxToolBarBase_GetMaxRows(_swigobj)  (_swigobj->GetMaxRows()) 
2772 static PyObject 
*_wrap_wxToolBarBase_GetMaxRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2773     PyObject 
* _resultobj
; 
2775     wxToolBarBase 
* _arg0
; 
2776     PyObject 
* _argo0 
= 0; 
2777     char *_kwnames
[] = { "self", NULL 
}; 
2780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))  
2783         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2784         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2785             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p."); 
2790     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2791     _result 
= (int )wxToolBarBase_GetMaxRows(_arg0
); 
2793     wxPyEndAllowThreads(__tstate
); 
2794     if (PyErr_Occurred()) return NULL
; 
2795 }    _resultobj 
= Py_BuildValue("i",_result
); 
2799 #define wxToolBarBase_GetMaxCols(_swigobj)  (_swigobj->GetMaxCols()) 
2800 static PyObject 
*_wrap_wxToolBarBase_GetMaxCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2801     PyObject 
* _resultobj
; 
2803     wxToolBarBase 
* _arg0
; 
2804     PyObject 
* _argo0 
= 0; 
2805     char *_kwnames
[] = { "self", NULL 
}; 
2808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))  
2811         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2812         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2813             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p."); 
2818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2819     _result 
= (int )wxToolBarBase_GetMaxCols(_arg0
); 
2821     wxPyEndAllowThreads(__tstate
); 
2822     if (PyErr_Occurred()) return NULL
; 
2823 }    _resultobj 
= Py_BuildValue("i",_result
); 
2827 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0)  (_swigobj->SetToolBitmapSize(_swigarg0)) 
2828 static PyObject 
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2829     PyObject 
* _resultobj
; 
2830     wxToolBarBase 
* _arg0
; 
2832     PyObject 
* _argo0 
= 0; 
2834     PyObject 
* _obj1 
= 0; 
2835     char *_kwnames
[] = { "self","size", NULL 
}; 
2838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))  
2841         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2842         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2843             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p."); 
2849     if (! wxSize_helper(_obj1
, &_arg1
)) 
2853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2854     wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
); 
2856     wxPyEndAllowThreads(__tstate
); 
2857     if (PyErr_Occurred()) return NULL
; 
2858 }    Py_INCREF(Py_None
); 
2859     _resultobj 
= Py_None
; 
2863 #define wxToolBarBase_GetToolBitmapSize(_swigobj)  (_swigobj->GetToolBitmapSize()) 
2864 static PyObject 
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2865     PyObject 
* _resultobj
; 
2867     wxToolBarBase 
* _arg0
; 
2868     PyObject 
* _argo0 
= 0; 
2869     char *_kwnames
[] = { "self", NULL 
}; 
2873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))  
2876         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2877         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2878             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p."); 
2883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2884     _result 
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
)); 
2886     wxPyEndAllowThreads(__tstate
); 
2887     if (PyErr_Occurred()) return NULL
; 
2888 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2889     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2893 #define wxToolBarBase_GetToolSize(_swigobj)  (_swigobj->GetToolSize()) 
2894 static PyObject 
*_wrap_wxToolBarBase_GetToolSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2895     PyObject 
* _resultobj
; 
2897     wxToolBarBase 
* _arg0
; 
2898     PyObject 
* _argo0 
= 0; 
2899     char *_kwnames
[] = { "self", NULL 
}; 
2903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))  
2906         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2907         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2908             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p."); 
2913     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2914     _result 
= new wxSize (wxToolBarBase_GetToolSize(_arg0
)); 
2916     wxPyEndAllowThreads(__tstate
); 
2917     if (PyErr_Occurred()) return NULL
; 
2918 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2919     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2923 #define wxToolBarBase_FindToolForPosition(_swigobj,_swigarg0,_swigarg1)  (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) 
2924 static PyObject 
*_wrap_wxToolBarBase_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2925     PyObject 
* _resultobj
; 
2926     wxToolBarToolBase 
* _result
; 
2927     wxToolBarBase 
* _arg0
; 
2930     PyObject 
* _argo0 
= 0; 
2931     char *_kwnames
[] = { "self","x","y", NULL 
}; 
2934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
2937         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2938         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2939             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_FindToolForPosition. Expected _wxToolBarBase_p."); 
2944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2945     _result 
= (wxToolBarToolBase 
*)wxToolBarBase_FindToolForPosition(_arg0
,_arg1
,_arg2
); 
2947     wxPyEndAllowThreads(__tstate
); 
2948     if (PyErr_Occurred()) return NULL
; 
2949 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
2953 #define wxToolBarBase_IsVertical(_swigobj)  (_swigobj->IsVertical()) 
2954 static PyObject 
*_wrap_wxToolBarBase_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2955     PyObject 
* _resultobj
; 
2957     wxToolBarBase 
* _arg0
; 
2958     PyObject 
* _argo0 
= 0; 
2959     char *_kwnames
[] = { "self", NULL 
}; 
2962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_IsVertical",_kwnames
,&_argo0
))  
2965         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2966         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) { 
2967             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_IsVertical. Expected _wxToolBarBase_p."); 
2972     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2973     _result 
= (bool )wxToolBarBase_IsVertical(_arg0
); 
2975     wxPyEndAllowThreads(__tstate
); 
2976     if (PyErr_Occurred()) return NULL
; 
2977 }    _resultobj 
= Py_BuildValue("i",_result
); 
2981 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) { 
2983     wxToolBarBase 
*dest
; 
2984     src 
= (wxToolBar 
*) ptr
; 
2985     dest 
= (wxToolBarBase 
*) src
; 
2986     return (void *) dest
; 
2989 static void *SwigwxToolBarTowxControl(void *ptr
) { 
2992     src 
= (wxToolBar 
*) ptr
; 
2993     dest 
= (wxControl 
*) src
; 
2994     return (void *) dest
; 
2997 static void *SwigwxToolBarTowxWindow(void *ptr
) { 
3000     src 
= (wxToolBar 
*) ptr
; 
3001     dest 
= (wxWindow 
*) src
; 
3002     return (void *) dest
; 
3005 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) { 
3008     src 
= (wxToolBar 
*) ptr
; 
3009     dest 
= (wxEvtHandler 
*) src
; 
3010     return (void *) dest
; 
3013 static void *SwigwxToolBarTowxObject(void *ptr
) { 
3016     src 
= (wxToolBar 
*) ptr
; 
3017     dest 
= (wxObject 
*) src
; 
3018     return (void *) dest
; 
3021 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
3022 static PyObject 
*_wrap_new_wxToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3023     PyObject 
* _resultobj
; 
3024     wxToolBar 
* _result
; 
3027     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
3028     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
3029     long  _arg4 
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
; 
3030     char * _arg5 
= (char *) wxToolBarNameStr
; 
3031     PyObject 
* _argo0 
= 0; 
3033     PyObject 
* _obj2 
= 0; 
3035     PyObject 
* _obj3 
= 0; 
3036     char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL 
}; 
3040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))  
3043         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3044         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
3045             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p."); 
3052     if (! wxPoint_helper(_obj2
, &_arg2
)) 
3058     if (! wxSize_helper(_obj3
, &_arg3
)) 
3062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3063     _result 
= (wxToolBar 
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
); 
3065     wxPyEndAllowThreads(__tstate
); 
3066     if (PyErr_Occurred()) return NULL
; 
3068         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p"); 
3069         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3072         _resultobj 
= Py_None
; 
3077 #define new_wxPreToolBar() (new wxToolBar()) 
3078 static PyObject 
*_wrap_new_wxPreToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3079     PyObject 
* _resultobj
; 
3080     wxToolBar 
* _result
; 
3081     char *_kwnames
[] = {  NULL 
}; 
3085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToolBar",_kwnames
))  
3088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3089     _result 
= (wxToolBar 
*)new_wxPreToolBar(); 
3091     wxPyEndAllowThreads(__tstate
); 
3092     if (PyErr_Occurred()) return NULL
; 
3094         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p"); 
3095         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3098         _resultobj 
= Py_None
; 
3103 #define wxToolBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
3104 static PyObject 
*_wrap_wxToolBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3105     PyObject 
* _resultobj
; 
3110     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
3111     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
3112     long  _arg5 
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
; 
3113     char * _arg6 
= (char *) wxToolBarNameStr
; 
3114     PyObject 
* _argo0 
= 0; 
3115     PyObject 
* _argo1 
= 0; 
3117     PyObject 
* _obj3 
= 0; 
3119     PyObject 
* _obj4 
= 0; 
3120     char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL 
}; 
3123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxToolBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))  
3126         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3127         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) { 
3128             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Create. Expected _wxToolBar_p."); 
3133         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3134         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3135             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_Create. Expected _wxWindow_p."); 
3142     if (! wxPoint_helper(_obj3
, &_arg3
)) 
3148     if (! wxSize_helper(_obj4
, &_arg4
)) 
3152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3153     _result 
= (bool )wxToolBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
); 
3155     wxPyEndAllowThreads(__tstate
); 
3156     if (PyErr_Occurred()) return NULL
; 
3157 }    _resultobj 
= Py_BuildValue("i",_result
); 
3161 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1)  (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) 
3162 static PyObject 
*_wrap_wxToolBar_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3163     PyObject 
* _resultobj
; 
3164     wxToolBarToolBase 
* _result
; 
3168     PyObject 
* _argo0 
= 0; 
3169     char *_kwnames
[] = { "self","x","y", NULL 
}; 
3172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
3175         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3176         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) { 
3177             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p."); 
3182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3183     _result 
= (wxToolBarToolBase 
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
); 
3185     wxPyEndAllowThreads(__tstate
); 
3186     if (PyErr_Occurred()) return NULL
; 
3187 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
3191 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr
) { 
3192     wxToolBarSimple 
*src
; 
3193     wxToolBarBase 
*dest
; 
3194     src 
= (wxToolBarSimple 
*) ptr
; 
3195     dest 
= (wxToolBarBase 
*) src
; 
3196     return (void *) dest
; 
3199 static void *SwigwxToolBarSimpleTowxControl(void *ptr
) { 
3200     wxToolBarSimple 
*src
; 
3202     src 
= (wxToolBarSimple 
*) ptr
; 
3203     dest 
= (wxControl 
*) src
; 
3204     return (void *) dest
; 
3207 static void *SwigwxToolBarSimpleTowxWindow(void *ptr
) { 
3208     wxToolBarSimple 
*src
; 
3210     src 
= (wxToolBarSimple 
*) ptr
; 
3211     dest 
= (wxWindow 
*) src
; 
3212     return (void *) dest
; 
3215 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr
) { 
3216     wxToolBarSimple 
*src
; 
3218     src 
= (wxToolBarSimple 
*) ptr
; 
3219     dest 
= (wxEvtHandler 
*) src
; 
3220     return (void *) dest
; 
3223 static void *SwigwxToolBarSimpleTowxObject(void *ptr
) { 
3224     wxToolBarSimple 
*src
; 
3226     src 
= (wxToolBarSimple 
*) ptr
; 
3227     dest 
= (wxObject 
*) src
; 
3228     return (void *) dest
; 
3231 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
3232 static PyObject 
*_wrap_new_wxToolBarSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3233     PyObject 
* _resultobj
; 
3234     wxToolBarSimple 
* _result
; 
3237     wxPoint 
* _arg2 
= (wxPoint 
*) &wxDefaultPosition
; 
3238     wxSize 
* _arg3 
= (wxSize 
*) &wxDefaultSize
; 
3239     long  _arg4 
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
; 
3240     char * _arg5 
= (char *) wxToolBarNameStr
; 
3241     PyObject 
* _argo0 
= 0; 
3243     PyObject 
* _obj2 
= 0; 
3245     PyObject 
* _obj3 
= 0; 
3246     char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL 
}; 
3250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBarSimple",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))  
3253         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3254         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
3255             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p."); 
3262     if (! wxPoint_helper(_obj2
, &_arg2
)) 
3268     if (! wxSize_helper(_obj3
, &_arg3
)) 
3272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3273     _result 
= (wxToolBarSimple 
*)new_wxToolBarSimple(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
); 
3275     wxPyEndAllowThreads(__tstate
); 
3276     if (PyErr_Occurred()) return NULL
; 
3278         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p"); 
3279         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3282         _resultobj 
= Py_None
; 
3287 #define new_wxPreToolBarSimple() (new wxToolBarSimple()) 
3288 static PyObject 
*_wrap_new_wxPreToolBarSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3289     PyObject 
* _resultobj
; 
3290     wxToolBarSimple 
* _result
; 
3291     char *_kwnames
[] = {  NULL 
}; 
3295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToolBarSimple",_kwnames
))  
3298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3299     _result 
= (wxToolBarSimple 
*)new_wxPreToolBarSimple(); 
3301     wxPyEndAllowThreads(__tstate
); 
3302     if (PyErr_Occurred()) return NULL
; 
3304         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p"); 
3305         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3308         _resultobj 
= Py_None
; 
3313 #define wxToolBarSimple_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
3314 static PyObject 
*_wrap_wxToolBarSimple_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3315     PyObject 
* _resultobj
; 
3317     wxToolBarSimple 
* _arg0
; 
3320     wxPoint 
* _arg3 
= (wxPoint 
*) &wxDefaultPosition
; 
3321     wxSize 
* _arg4 
= (wxSize 
*) &wxDefaultSize
; 
3322     long  _arg5 
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
; 
3323     char * _arg6 
= (char *) wxToolBarNameStr
; 
3324     PyObject 
* _argo0 
= 0; 
3325     PyObject 
* _argo1 
= 0; 
3327     PyObject 
* _obj3 
= 0; 
3329     PyObject 
* _obj4 
= 0; 
3330     char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL 
}; 
3333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxToolBarSimple_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))  
3336         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3337         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) { 
3338             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_Create. Expected _wxToolBarSimple_p."); 
3343         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3344         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3345             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarSimple_Create. Expected _wxWindow_p."); 
3352     if (! wxPoint_helper(_obj3
, &_arg3
)) 
3358     if (! wxSize_helper(_obj4
, &_arg4
)) 
3362     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3363     _result 
= (bool )wxToolBarSimple_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
); 
3365     wxPyEndAllowThreads(__tstate
); 
3366     if (PyErr_Occurred()) return NULL
; 
3367 }    _resultobj 
= Py_BuildValue("i",_result
); 
3371 #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1)  (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) 
3372 static PyObject 
*_wrap_wxToolBarSimple_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3373     PyObject 
* _resultobj
; 
3374     wxToolBarToolBase 
* _result
; 
3375     wxToolBarSimple 
* _arg0
; 
3378     PyObject 
* _argo0 
= 0; 
3379     char *_kwnames
[] = { "self","x","y", NULL 
}; 
3382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
3385         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3386         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) { 
3387             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p."); 
3392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3393     _result 
= (wxToolBarToolBase 
*)wxToolBarSimple_FindToolForPosition(_arg0
,_arg1
,_arg2
); 
3395     wxPyEndAllowThreads(__tstate
); 
3396     if (PyErr_Occurred()) return NULL
; 
3397 }{ _resultobj 
= wxPyMake_wxObject(_result
); } 
3401 static PyMethodDef stattoolcMethods
[] = { 
3402          { "wxToolBarSimple_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarSimple_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3403          { "wxToolBarSimple_Create", (PyCFunction
) _wrap_wxToolBarSimple_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3404          { "new_wxPreToolBarSimple", (PyCFunction
) _wrap_new_wxPreToolBarSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3405          { "new_wxToolBarSimple", (PyCFunction
) _wrap_new_wxToolBarSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3406          { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3407          { "wxToolBar_Create", (PyCFunction
) _wrap_wxToolBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3408          { "new_wxPreToolBar", (PyCFunction
) _wrap_new_wxPreToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3409          { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3410          { "wxToolBarBase_IsVertical", (PyCFunction
) _wrap_wxToolBarBase_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3411          { "wxToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarBase_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3412          { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3413          { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3414          { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3415          { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3416          { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3417          { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3418          { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3419          { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3420          { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3421          { "wxToolBarBase_GetMargins", (PyCFunction
) _wrap_wxToolBarBase_GetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3422          { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3423          { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3424          { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3425          { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3426          { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3427          { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3428          { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3429          { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3430          { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3431          { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3432          { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3433          { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3434          { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3435          { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3436          { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3437          { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3438          { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3439          { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3440          { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3441          { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3442          { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3443          { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3444          { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3445          { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3446          { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3447          { "wxToolBarBase_InsertSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_InsertSimpleTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3448          { "wxToolBarBase_InsertTool", (PyCFunction
) _wrap_wxToolBarBase_InsertTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3449          { "wxToolBarBase_AddSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_AddSimpleTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3450          { "wxToolBarBase_AddTool", (PyCFunction
) _wrap_wxToolBarBase_AddTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3451          { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3452          { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3453          { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3454          { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3455          { "wxToolBarToolBase_SetLabel", (PyCFunction
) _wrap_wxToolBarToolBase_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3456          { "wxToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_SetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3457          { "wxToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_SetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3458          { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3459          { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3460          { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3461          { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3462          { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3463          { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3464          { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3465          { "wxToolBarToolBase_GetLabel", (PyCFunction
) _wrap_wxToolBarToolBase_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3466          { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3467          { "wxToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3468          { "wxToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3469          { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3470          { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3471          { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3472          { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3473          { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3474          { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3475          { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3476          { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3477          { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3478          { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3479          { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3480          { "wxStatusBar_SetMinHeight", (PyCFunction
) _wrap_wxStatusBar_SetMinHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3481          { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3482          { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3483          { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3484          { "wxStatusBar_GetBorderY", (PyCFunction
) _wrap_wxStatusBar_GetBorderY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3485          { "wxStatusBar_GetBorderX", (PyCFunction
) _wrap_wxStatusBar_GetBorderX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3486          { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3487          { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3488          { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3489          { "wxStatusBar_Create", (PyCFunction
) _wrap_wxStatusBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3490          { "new_wxPreStatusBar", (PyCFunction
) _wrap_new_wxPreStatusBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3491          { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3498  * This table is used by the pointer type-checker 
3500 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
3501     { "_signed_long","_long",0}, 
3502     { "_wxPrintQuality","_wxCoord",0}, 
3503     { "_wxPrintQuality","_int",0}, 
3504     { "_wxPrintQuality","_signed_int",0}, 
3505     { "_wxPrintQuality","_unsigned_int",0}, 
3506     { "_wxPrintQuality","_wxWindowID",0}, 
3507     { "_wxPrintQuality","_uint",0}, 
3508     { "_wxPrintQuality","_EBool",0}, 
3509     { "_wxPrintQuality","_size_t",0}, 
3510     { "_wxPrintQuality","_time_t",0}, 
3511     { "_byte","_unsigned_char",0}, 
3512     { "_long","_unsigned_long",0}, 
3513     { "_long","_signed_long",0}, 
3514     { "_size_t","_wxCoord",0}, 
3515     { "_size_t","_wxPrintQuality",0}, 
3516     { "_size_t","_time_t",0}, 
3517     { "_size_t","_unsigned_int",0}, 
3518     { "_size_t","_int",0}, 
3519     { "_size_t","_wxWindowID",0}, 
3520     { "_size_t","_uint",0}, 
3521     { "_uint","_wxCoord",0}, 
3522     { "_uint","_wxPrintQuality",0}, 
3523     { "_uint","_time_t",0}, 
3524     { "_uint","_size_t",0}, 
3525     { "_uint","_unsigned_int",0}, 
3526     { "_uint","_int",0}, 
3527     { "_uint","_wxWindowID",0}, 
3528     { "_wxChar","_char",0}, 
3529     { "_char","_wxChar",0}, 
3530     { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, 
3531     { "_EBool","_wxCoord",0}, 
3532     { "_EBool","_wxPrintQuality",0}, 
3533     { "_EBool","_signed_int",0}, 
3534     { "_EBool","_int",0}, 
3535     { "_EBool","_wxWindowID",0}, 
3536     { "_unsigned_long","_long",0}, 
3537     { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, 
3538     { "_signed_int","_wxCoord",0}, 
3539     { "_signed_int","_wxPrintQuality",0}, 
3540     { "_signed_int","_EBool",0}, 
3541     { "_signed_int","_wxWindowID",0}, 
3542     { "_signed_int","_int",0}, 
3543     { "_WXTYPE","_short",0}, 
3544     { "_WXTYPE","_signed_short",0}, 
3545     { "_WXTYPE","_unsigned_short",0}, 
3546     { "_unsigned_short","_WXTYPE",0}, 
3547     { "_unsigned_short","_short",0}, 
3548     { "_wxObject","_wxToolBarSimple",SwigwxToolBarSimpleTowxObject
}, 
3549     { "_wxObject","_wxToolBar",SwigwxToolBarTowxObject
}, 
3550     { "_wxObject","_wxToolBarBase",SwigwxToolBarBaseTowxObject
}, 
3551     { "_wxObject","_wxToolBarToolBase",SwigwxToolBarToolBaseTowxObject
}, 
3552     { "_wxObject","_wxStatusBar",SwigwxStatusBarTowxObject
}, 
3553     { "_signed_short","_WXTYPE",0}, 
3554     { "_signed_short","_short",0}, 
3555     { "_unsigned_char","_byte",0}, 
3556     { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
}, 
3557     { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
}, 
3558     { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
}, 
3559     { "_unsigned_int","_wxCoord",0}, 
3560     { "_unsigned_int","_wxPrintQuality",0}, 
3561     { "_unsigned_int","_time_t",0}, 
3562     { "_unsigned_int","_size_t",0}, 
3563     { "_unsigned_int","_uint",0}, 
3564     { "_unsigned_int","_wxWindowID",0}, 
3565     { "_unsigned_int","_int",0}, 
3566     { "_short","_WXTYPE",0}, 
3567     { "_short","_unsigned_short",0}, 
3568     { "_short","_signed_short",0}, 
3569     { "_wxWindowID","_wxCoord",0}, 
3570     { "_wxWindowID","_wxPrintQuality",0}, 
3571     { "_wxWindowID","_time_t",0}, 
3572     { "_wxWindowID","_size_t",0}, 
3573     { "_wxWindowID","_EBool",0}, 
3574     { "_wxWindowID","_uint",0}, 
3575     { "_wxWindowID","_int",0}, 
3576     { "_wxWindowID","_signed_int",0}, 
3577     { "_wxWindowID","_unsigned_int",0}, 
3578     { "_int","_wxCoord",0}, 
3579     { "_int","_wxPrintQuality",0}, 
3580     { "_int","_time_t",0}, 
3581     { "_int","_size_t",0}, 
3582     { "_int","_EBool",0}, 
3583     { "_int","_uint",0}, 
3584     { "_int","_wxWindowID",0}, 
3585     { "_int","_unsigned_int",0}, 
3586     { "_int","_signed_int",0}, 
3587     { "_time_t","_wxCoord",0}, 
3588     { "_time_t","_wxPrintQuality",0}, 
3589     { "_time_t","_unsigned_int",0}, 
3590     { "_time_t","_int",0}, 
3591     { "_time_t","_wxWindowID",0}, 
3592     { "_time_t","_uint",0}, 
3593     { "_time_t","_size_t",0}, 
3594     { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
}, 
3595     { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
}, 
3596     { "_wxCoord","_int",0}, 
3597     { "_wxCoord","_signed_int",0}, 
3598     { "_wxCoord","_unsigned_int",0}, 
3599     { "_wxCoord","_wxWindowID",0}, 
3600     { "_wxCoord","_uint",0}, 
3601     { "_wxCoord","_EBool",0}, 
3602     { "_wxCoord","_size_t",0}, 
3603     { "_wxCoord","_time_t",0}, 
3604     { "_wxCoord","_wxPrintQuality",0}, 
3605     { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
}, 
3606     { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
}, 
3607     { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
}, 
3608     { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
}, 
3609     { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
}, 
3610     { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
}, 
3611     { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
}, 
3612     { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
}, 
3615 static PyObject 
*SWIG_globals
; 
3619 SWIGEXPORT(void) initstattoolc() { 
3621          SWIG_globals 
= SWIG_newvarlink(); 
3622          m 
= Py_InitModule("stattoolc", stattoolcMethods
); 
3623          d 
= PyModule_GetDict(m
); 
3624          PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
)); 
3625          PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
)); 
3626          PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
)); 
3629    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
3630         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);