2  * FILE : src/gtk/misc.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    initmiscc 
  56 #define SWIG_name    "miscc" 
  59 #include <wx/resource.h> 
  60 #include <wx/tooltip.h> 
  61 #include <wx/busyinfo.h> 
  64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
  70     } else if (target 
== Py_None
) { 
  74         if (!PyTuple_Check(target
)) { 
  76             target 
= PyTuple_New(1); 
  77             PyTuple_SetItem(target
, 0, o2
); 
  80         PyTuple_SetItem(o3
, 0, o
); 
  83         target 
= PySequence_Concat(o2
, o3
); 
  90 #if PYTHON_API_VERSION >= 1009 
  91     static char* wxStringErrorMsg 
= "String or Unicode type required"; 
  93     static char* wxStringErrorMsg 
= "string type is required for parameter"; 
  96     static wxString 
wxPyEmptyStr(""); 
  98     PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) { 
 101         wxRect    
dest(0,0,0,0); 
 104         reg1
.Intersect(reg2
); 
 105         dest 
= reg1
.GetBox(); 
 107         if (dest 
!= wxRect(0,0,0,0)) { 
 108             bool doSave 
= wxPyRestoreThread(); 
 109             wxRect
* newRect 
= new wxRect(dest
); 
 110             obj 
= wxPyConstructObject((void*)newRect
, "wxRect"); 
 111             PyObject
* one 
= PyInt_FromLong(1); 
 112             PyObject_SetAttrString(obj
, "thisown", one
); 
 114             wxPySaveThread(doSave
); 
 121     char* wxGetResource(char *section
, char *entry
, char *file 
= NULL
) { 
 123         wxGetResource(section
, entry
, &retval
, file
); 
 127 #if 0  // we want to use the definition from the header, not the 
 128        // one SWIG will generate. 
 129 extern wxAcceleratorTable  wxNullAcceleratorTable
;  
 135 static PyObject 
*_wrap_wxIntersectRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 136     PyObject 
* _resultobj
; 
 141     PyObject 
* _obj0 
= 0; 
 143     PyObject 
* _obj1 
= 0; 
 144     char *_kwnames
[] = { "r1","r2", NULL 
}; 
 147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))  
 151     if (! wxRect_helper(_obj0
, &_arg0
)) 
 156     if (! wxRect_helper(_obj1
, &_arg1
)) 
 160     wxPy_BEGIN_ALLOW_THREADS
; 
 161         _result 
= (PyObject 
*)wxIntersectRect(_arg0
,_arg1
); 
 163     wxPy_END_ALLOW_THREADS
; 
 164     if (PyErr_Occurred()) return NULL
; 
 166   _resultobj 
= _result
; 
 171 static PyObject 
*_wrap_wxNewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 172     PyObject 
* _resultobj
; 
 174     char *_kwnames
[] = {  NULL 
}; 
 177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))  
 180     wxPy_BEGIN_ALLOW_THREADS
; 
 181         _result 
= (long )wxNewId(); 
 183     wxPy_END_ALLOW_THREADS
; 
 184     if (PyErr_Occurred()) return NULL
; 
 185 }    _resultobj 
= Py_BuildValue("l",_result
); 
 189 static PyObject 
*_wrap_wxRegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 190     PyObject 
* _resultobj
; 
 192     char *_kwnames
[] = { "id", NULL 
}; 
 195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))  
 198     wxPy_BEGIN_ALLOW_THREADS
; 
 201     wxPy_END_ALLOW_THREADS
; 
 202     if (PyErr_Occurred()) return NULL
; 
 203 }    Py_INCREF(Py_None
); 
 204     _resultobj 
= Py_None
; 
 208 static PyObject 
*_wrap_NewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 209     PyObject 
* _resultobj
; 
 211     char *_kwnames
[] = {  NULL 
}; 
 214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))  
 217     wxPy_BEGIN_ALLOW_THREADS
; 
 218         _result 
= (long )wxNewId(); 
 220     wxPy_END_ALLOW_THREADS
; 
 221     if (PyErr_Occurred()) return NULL
; 
 222 }    _resultobj 
= Py_BuildValue("l",_result
); 
 226 static PyObject 
*_wrap_RegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 227     PyObject 
* _resultobj
; 
 229     char *_kwnames
[] = { "id", NULL 
}; 
 232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))  
 235     wxPy_BEGIN_ALLOW_THREADS
; 
 238     wxPy_END_ALLOW_THREADS
; 
 239     if (PyErr_Occurred()) return NULL
; 
 240 }    Py_INCREF(Py_None
); 
 241     _resultobj 
= Py_None
; 
 245 static PyObject 
*_wrap_wxGetCurrentId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 246     PyObject 
* _resultobj
; 
 248     char *_kwnames
[] = {  NULL 
}; 
 251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))  
 254     wxPy_BEGIN_ALLOW_THREADS
; 
 255         _result 
= (long )wxGetCurrentId(); 
 257     wxPy_END_ALLOW_THREADS
; 
 258     if (PyErr_Occurred()) return NULL
; 
 259 }    _resultobj 
= Py_BuildValue("l",_result
); 
 263 static PyObject 
*_wrap_wxBell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 264     PyObject 
* _resultobj
; 
 265     char *_kwnames
[] = {  NULL 
}; 
 268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))  
 271     wxPy_BEGIN_ALLOW_THREADS
; 
 274     wxPy_END_ALLOW_THREADS
; 
 275     if (PyErr_Occurred()) return NULL
; 
 276 }    Py_INCREF(Py_None
); 
 277     _resultobj 
= Py_None
; 
 281 static PyObject 
*_wrap_wxEndBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 282     PyObject 
* _resultobj
; 
 283     char *_kwnames
[] = {  NULL 
}; 
 286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))  
 289     wxPy_BEGIN_ALLOW_THREADS
; 
 292     wxPy_END_ALLOW_THREADS
; 
 293     if (PyErr_Occurred()) return NULL
; 
 294 }    Py_INCREF(Py_None
); 
 295     _resultobj 
= Py_None
; 
 299 static PyObject 
*_wrap_wxGetElapsedTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 300     PyObject 
* _resultobj
; 
 302     bool  _arg0 
= (bool ) TRUE
; 
 303     int tempbool0 
= (int) TRUE
; 
 304     char *_kwnames
[] = { "resetTimer", NULL 
}; 
 307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))  
 309     _arg0 
= (bool ) tempbool0
; 
 311     wxPy_BEGIN_ALLOW_THREADS
; 
 312         _result 
= (long )wxGetElapsedTime(_arg0
); 
 314     wxPy_END_ALLOW_THREADS
; 
 315     if (PyErr_Occurred()) return NULL
; 
 316 }    _resultobj 
= Py_BuildValue("l",_result
); 
 320 static PyObject 
*_wrap_wxGetMousePosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 321     PyObject 
* _resultobj
; 
 326     char *_kwnames
[] = {  NULL 
}; 
 335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))  
 338     wxPy_BEGIN_ALLOW_THREADS
; 
 339         wxGetMousePosition(_arg0
,_arg1
); 
 341     wxPy_END_ALLOW_THREADS
; 
 342     if (PyErr_Occurred()) return NULL
; 
 343 }    Py_INCREF(Py_None
); 
 344     _resultobj 
= Py_None
; 
 347     o 
= PyInt_FromLong((long) (*_arg0
)); 
 348     _resultobj 
= t_output_helper(_resultobj
, o
); 
 352     o 
= PyInt_FromLong((long) (*_arg1
)); 
 353     _resultobj 
= t_output_helper(_resultobj
, o
); 
 358 static PyObject 
*_wrap_wxIsBusy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 359     PyObject 
* _resultobj
; 
 361     char *_kwnames
[] = {  NULL 
}; 
 364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))  
 367     wxPy_BEGIN_ALLOW_THREADS
; 
 368         _result 
= (bool )wxIsBusy(); 
 370     wxPy_END_ALLOW_THREADS
; 
 371     if (PyErr_Occurred()) return NULL
; 
 372 }    _resultobj 
= Py_BuildValue("i",_result
); 
 376 static PyObject 
*_wrap_wxNow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 377     PyObject 
* _resultobj
; 
 379     char *_kwnames
[] = {  NULL 
}; 
 382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))  
 385     wxPy_BEGIN_ALLOW_THREADS
; 
 386         _result 
= new wxString (wxNow()); 
 388     wxPy_END_ALLOW_THREADS
; 
 389     if (PyErr_Occurred()) return NULL
; 
 391     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 399 static PyObject 
*_wrap_wxShell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 400     PyObject 
* _resultobj
; 
 402     wxString 
* _arg0 
= (wxString 
*) &wxPyEmptyStr
; 
 403     PyObject 
* _obj0 
= 0; 
 404     char *_kwnames
[] = { "command", NULL 
}; 
 407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))  
 411 #if PYTHON_API_VERSION >= 1009 
 412     char* tmpPtr
; int tmpSize
; 
 413     if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) { 
 414         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
 417     if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1) 
 419     _arg0 
= new wxString(tmpPtr
, tmpSize
); 
 421     if (!PyString_Check(_obj0
)) { 
 422         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
 425     _arg0 
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
)); 
 429     wxPy_BEGIN_ALLOW_THREADS
; 
 430         _result 
= (bool )wxShell(*_arg0
); 
 432     wxPy_END_ALLOW_THREADS
; 
 433     if (PyErr_Occurred()) return NULL
; 
 434 }    _resultobj 
= Py_BuildValue("i",_result
); 
 442 static PyObject 
*_wrap_wxStartTimer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 443     PyObject 
* _resultobj
; 
 444     char *_kwnames
[] = {  NULL 
}; 
 447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))  
 450     wxPy_BEGIN_ALLOW_THREADS
; 
 453     wxPy_END_ALLOW_THREADS
; 
 454     if (PyErr_Occurred()) return NULL
; 
 455 }    Py_INCREF(Py_None
); 
 456     _resultobj 
= Py_None
; 
 460 static PyObject 
*_wrap_wxGetOsVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 461     PyObject 
* _resultobj
; 
 467     char *_kwnames
[] = {  NULL 
}; 
 476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))  
 479     wxPy_BEGIN_ALLOW_THREADS
; 
 480         _result 
= (int )wxGetOsVersion(_arg0
,_arg1
); 
 482     wxPy_END_ALLOW_THREADS
; 
 483     if (PyErr_Occurred()) return NULL
; 
 484 }    _resultobj 
= Py_BuildValue("i",_result
); 
 487     o 
= PyInt_FromLong((long) (*_arg0
)); 
 488     _resultobj 
= t_output_helper(_resultobj
, o
); 
 492     o 
= PyInt_FromLong((long) (*_arg1
)); 
 493     _resultobj 
= t_output_helper(_resultobj
, o
); 
 498 static PyObject 
*_wrap_wxGetOsDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 499     PyObject 
* _resultobj
; 
 501     char *_kwnames
[] = {  NULL 
}; 
 504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))  
 507     wxPy_BEGIN_ALLOW_THREADS
; 
 508         _result 
= new wxString (wxGetOsDescription()); 
 510     wxPy_END_ALLOW_THREADS
; 
 511     if (PyErr_Occurred()) return NULL
; 
 513     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 521 static PyObject 
*_wrap_wxSleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 522     PyObject 
* _resultobj
; 
 524     char *_kwnames
[] = { "secs", NULL 
}; 
 527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))  
 530     wxPy_BEGIN_ALLOW_THREADS
; 
 533     wxPy_END_ALLOW_THREADS
; 
 534     if (PyErr_Occurred()) return NULL
; 
 535 }    Py_INCREF(Py_None
); 
 536     _resultobj 
= Py_None
; 
 540 static PyObject 
*_wrap_wxUsleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 541     PyObject 
* _resultobj
; 
 543     char *_kwnames
[] = { "milliseconds", NULL 
}; 
 546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))  
 549     wxPy_BEGIN_ALLOW_THREADS
; 
 552     wxPy_END_ALLOW_THREADS
; 
 553     if (PyErr_Occurred()) return NULL
; 
 554 }    Py_INCREF(Py_None
); 
 555     _resultobj 
= Py_None
; 
 559 static PyObject 
*_wrap_wxYield(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 560     PyObject 
* _resultobj
; 
 562     char *_kwnames
[] = {  NULL 
}; 
 565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))  
 568     wxPy_BEGIN_ALLOW_THREADS
; 
 569         _result 
= (bool )wxYield(); 
 571     wxPy_END_ALLOW_THREADS
; 
 572     if (PyErr_Occurred()) return NULL
; 
 573 }    _resultobj 
= Py_BuildValue("i",_result
); 
 577 static PyObject 
*_wrap_wxYieldIfNeeded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 578     PyObject 
* _resultobj
; 
 580     char *_kwnames
[] = {  NULL 
}; 
 583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))  
 586     wxPy_BEGIN_ALLOW_THREADS
; 
 587         _result 
= (bool )wxYieldIfNeeded(); 
 589     wxPy_END_ALLOW_THREADS
; 
 590     if (PyErr_Occurred()) return NULL
; 
 591 }    _resultobj 
= Py_BuildValue("i",_result
); 
 595 static PyObject 
*_wrap_wxEnableTopLevelWindows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 596     PyObject 
* _resultobj
; 
 599     char *_kwnames
[] = { "enable", NULL 
}; 
 602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))  
 604     _arg0 
= (bool ) tempbool0
; 
 606     wxPy_BEGIN_ALLOW_THREADS
; 
 607         wxEnableTopLevelWindows(_arg0
); 
 609     wxPy_END_ALLOW_THREADS
; 
 610     if (PyErr_Occurred()) return NULL
; 
 611 }    Py_INCREF(Py_None
); 
 612     _resultobj 
= Py_None
; 
 616 static PyObject 
*_wrap_wxGetResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 617     PyObject 
* _resultobj
; 
 621     char * _arg2 
= (char *) NULL
; 
 622     char *_kwnames
[] = { "section","entry","file", NULL 
}; 
 625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))  
 628     wxPy_BEGIN_ALLOW_THREADS
; 
 629         _result 
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
); 
 631     wxPy_END_ALLOW_THREADS
; 
 632     if (PyErr_Occurred()) return NULL
; 
 633 }    _resultobj 
= Py_BuildValue("s", _result
); 
 637 static PyObject 
*_wrap_wxStripMenuCodes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 638     PyObject 
* _resultobj
; 
 641     PyObject 
* _obj0 
= 0; 
 642     char *_kwnames
[] = { "in", NULL 
}; 
 645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))  
 648 #if PYTHON_API_VERSION >= 1009 
 649     char* tmpPtr
; int tmpSize
; 
 650     if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) { 
 651         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
 654     if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1) 
 656     _arg0 
= new wxString(tmpPtr
, tmpSize
); 
 658     if (!PyString_Check(_obj0
)) { 
 659         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
 662     _arg0 
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
)); 
 666     wxPy_BEGIN_ALLOW_THREADS
; 
 667         _result 
= new wxString (wxStripMenuCodes(*_arg0
)); 
 669     wxPy_END_ALLOW_THREADS
; 
 670     if (PyErr_Occurred()) return NULL
; 
 672     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 684 static PyObject 
*_wrap_wxGetEmailAddress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 685     PyObject 
* _resultobj
; 
 687     char *_kwnames
[] = {  NULL 
}; 
 690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))  
 693     wxPy_BEGIN_ALLOW_THREADS
; 
 694         _result 
= new wxString (wxGetEmailAddress()); 
 696     wxPy_END_ALLOW_THREADS
; 
 697     if (PyErr_Occurred()) return NULL
; 
 699     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 707 static PyObject 
*_wrap_wxGetHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 708     PyObject 
* _resultobj
; 
 710     char *_kwnames
[] = {  NULL 
}; 
 713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))  
 716     wxPy_BEGIN_ALLOW_THREADS
; 
 717         _result 
= new wxString (wxGetHostName()); 
 719     wxPy_END_ALLOW_THREADS
; 
 720     if (PyErr_Occurred()) return NULL
; 
 722     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 730 static PyObject 
*_wrap_wxGetFullHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 731     PyObject 
* _resultobj
; 
 733     char *_kwnames
[] = {  NULL 
}; 
 736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))  
 739     wxPy_BEGIN_ALLOW_THREADS
; 
 740         _result 
= new wxString (wxGetFullHostName()); 
 742     wxPy_END_ALLOW_THREADS
; 
 743     if (PyErr_Occurred()) return NULL
; 
 745     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 753 static PyObject 
*_wrap_wxGetUserId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 754     PyObject 
* _resultobj
; 
 756     char *_kwnames
[] = {  NULL 
}; 
 759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))  
 762     wxPy_BEGIN_ALLOW_THREADS
; 
 763         _result 
= new wxString (wxGetUserId()); 
 765     wxPy_END_ALLOW_THREADS
; 
 766     if (PyErr_Occurred()) return NULL
; 
 768     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 776 static PyObject 
*_wrap_wxGetUserName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 777     PyObject 
* _resultobj
; 
 779     char *_kwnames
[] = {  NULL 
}; 
 782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))  
 785     wxPy_BEGIN_ALLOW_THREADS
; 
 786         _result 
= new wxString (wxGetUserName()); 
 788     wxPy_END_ALLOW_THREADS
; 
 789     if (PyErr_Occurred()) return NULL
; 
 791     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 799 static PyObject 
*_wrap_wxGetHomeDir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 800     PyObject 
* _resultobj
; 
 802     char *_kwnames
[] = {  NULL 
}; 
 805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))  
 808     wxPy_BEGIN_ALLOW_THREADS
; 
 809         _result 
= new wxString (wxGetHomeDir()); 
 811     wxPy_END_ALLOW_THREADS
; 
 812     if (PyErr_Occurred()) return NULL
; 
 814     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 822 static PyObject 
*_wrap_wxGetAccelFromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 823     PyObject 
* _resultobj
; 
 824     wxAcceleratorEntry 
* _result
; 
 826     PyObject 
* _obj0 
= 0; 
 827     char *_kwnames
[] = { "label", NULL 
}; 
 831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))  
 834 #if PYTHON_API_VERSION >= 1009 
 835     char* tmpPtr
; int tmpSize
; 
 836     if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) { 
 837         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
 840     if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1) 
 842     _arg0 
= new wxString(tmpPtr
, tmpSize
); 
 844     if (!PyString_Check(_obj0
)) { 
 845         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
 848     _arg0 
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
)); 
 852     wxPy_BEGIN_ALLOW_THREADS
; 
 853         _result 
= (wxAcceleratorEntry 
*)wxGetAccelFromString(*_arg0
); 
 855     wxPy_END_ALLOW_THREADS
; 
 856     if (PyErr_Occurred()) return NULL
; 
 858         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p"); 
 859         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 862         _resultobj 
= Py_None
; 
 871 static int _wrap_wxNullAcceleratorTable_set(PyObject 
*val
) { 
 873     PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only."); 
 877 static PyObject 
*_wrap_wxNullAcceleratorTable_get() { 
 881     SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p"); 
 882     pyobj 
= PyString_FromString(ptemp
); 
 886 static const char * wxObject_GetClassName(wxObject 
*self
) { 
 887             return self
->GetClassInfo()->GetClassName(); 
 889 static PyObject 
*_wrap_wxObject_GetClassName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 890     PyObject 
* _resultobj
; 
 893     PyObject 
* _argo0 
= 0; 
 894     char *_kwnames
[] = { "self", NULL 
}; 
 897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))  
 900         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 901         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) { 
 902             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p."); 
 907     wxPy_BEGIN_ALLOW_THREADS
; 
 908         _result 
= (char *)wxObject_GetClassName(_arg0
); 
 910     wxPy_END_ALLOW_THREADS
; 
 911     if (PyErr_Occurred()) return NULL
; 
 912 }    _resultobj 
= Py_BuildValue("s", _result
); 
 916 static void  wxObject_Destroy(wxObject 
*self
) { 
 919 static PyObject 
*_wrap_wxObject_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 920     PyObject 
* _resultobj
; 
 922     PyObject 
* _argo0 
= 0; 
 923     char *_kwnames
[] = { "self", NULL 
}; 
 926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))  
 929         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 930         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) { 
 931             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p."); 
 936     wxPy_BEGIN_ALLOW_THREADS
; 
 937         wxObject_Destroy(_arg0
); 
 939     wxPy_END_ALLOW_THREADS
; 
 940     if (PyErr_Occurred()) return NULL
; 
 941 }    Py_INCREF(Py_None
); 
 942     _resultobj 
= Py_None
; 
 946 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
 947 static PyObject 
*_wrap_wxSize_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 948     PyObject 
* _resultobj
; 
 953     PyObject 
* _obj0 
= 0; 
 954     char *_kwnames
[] = { "self","x", NULL 
}; 
 957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))  
 961     if (! wxSize_helper(_obj0
, &_arg0
)) 
 965     wxPy_BEGIN_ALLOW_THREADS
; 
 966         _result 
= (long )wxSize_x_set(_arg0
,_arg1
); 
 968     wxPy_END_ALLOW_THREADS
; 
 969     if (PyErr_Occurred()) return NULL
; 
 970 }    _resultobj 
= Py_BuildValue("l",_result
); 
 974 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x) 
 975 static PyObject 
*_wrap_wxSize_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 976     PyObject 
* _resultobj
; 
 980     PyObject 
* _obj0 
= 0; 
 981     char *_kwnames
[] = { "self", NULL 
}; 
 984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))  
 988     if (! wxSize_helper(_obj0
, &_arg0
)) 
 992     wxPy_BEGIN_ALLOW_THREADS
; 
 993         _result 
= (long )wxSize_x_get(_arg0
); 
 995     wxPy_END_ALLOW_THREADS
; 
 996     if (PyErr_Occurred()) return NULL
; 
 997 }    _resultobj 
= Py_BuildValue("l",_result
); 
1001 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
1002 static PyObject 
*_wrap_wxSize_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1003     PyObject 
* _resultobj
; 
1008     PyObject 
* _obj0 
= 0; 
1009     char *_kwnames
[] = { "self","y", NULL 
}; 
1012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))  
1016     if (! wxSize_helper(_obj0
, &_arg0
)) 
1020     wxPy_BEGIN_ALLOW_THREADS
; 
1021         _result 
= (long )wxSize_y_set(_arg0
,_arg1
); 
1023     wxPy_END_ALLOW_THREADS
; 
1024     if (PyErr_Occurred()) return NULL
; 
1025 }    _resultobj 
= Py_BuildValue("l",_result
); 
1029 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y) 
1030 static PyObject 
*_wrap_wxSize_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1031     PyObject 
* _resultobj
; 
1035     PyObject 
* _obj0 
= 0; 
1036     char *_kwnames
[] = { "self", NULL 
}; 
1039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))  
1043     if (! wxSize_helper(_obj0
, &_arg0
)) 
1047     wxPy_BEGIN_ALLOW_THREADS
; 
1048         _result 
= (long )wxSize_y_get(_arg0
); 
1050     wxPy_END_ALLOW_THREADS
; 
1051     if (PyErr_Occurred()) return NULL
; 
1052 }    _resultobj 
= Py_BuildValue("l",_result
); 
1056 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1)) 
1057 static PyObject 
*_wrap_new_wxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1058     PyObject 
* _resultobj
; 
1060     long  _arg0 
= (long ) 0; 
1061     long  _arg1 
= (long ) 0; 
1062     char *_kwnames
[] = { "w","h", NULL 
}; 
1066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))  
1069     wxPy_BEGIN_ALLOW_THREADS
; 
1070         _result 
= (wxSize 
*)new_wxSize(_arg0
,_arg1
); 
1072     wxPy_END_ALLOW_THREADS
; 
1073     if (PyErr_Occurred()) return NULL
; 
1075         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p"); 
1076         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1079         _resultobj 
= Py_None
; 
1084 #define delete_wxSize(_swigobj) (delete _swigobj) 
1085 static PyObject 
*_wrap_delete_wxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1086     PyObject 
* _resultobj
; 
1089     PyObject 
* _obj0 
= 0; 
1090     char *_kwnames
[] = { "self", NULL 
}; 
1093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))  
1097     if (! wxSize_helper(_obj0
, &_arg0
)) 
1101     wxPy_BEGIN_ALLOW_THREADS
; 
1102         delete_wxSize(_arg0
); 
1104     wxPy_END_ALLOW_THREADS
; 
1105     if (PyErr_Occurred()) return NULL
; 
1106 }    Py_INCREF(Py_None
); 
1107     _resultobj 
= Py_None
; 
1111 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Set(_swigarg0,_swigarg1)) 
1112 static PyObject 
*_wrap_wxSize_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1113     PyObject 
* _resultobj
; 
1118     PyObject 
* _obj0 
= 0; 
1119     char *_kwnames
[] = { "self","w","h", NULL 
}; 
1122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
1126     if (! wxSize_helper(_obj0
, &_arg0
)) 
1130     wxPy_BEGIN_ALLOW_THREADS
; 
1131         wxSize_Set(_arg0
,_arg1
,_arg2
); 
1133     wxPy_END_ALLOW_THREADS
; 
1134     if (PyErr_Occurred()) return NULL
; 
1135 }    Py_INCREF(Py_None
); 
1136     _resultobj 
= Py_None
; 
1140 #define wxSize_GetX(_swigobj)  (_swigobj->GetX()) 
1141 static PyObject 
*_wrap_wxSize_GetX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1142     PyObject 
* _resultobj
; 
1146     PyObject 
* _obj0 
= 0; 
1147     char *_kwnames
[] = { "self", NULL 
}; 
1150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))  
1154     if (! wxSize_helper(_obj0
, &_arg0
)) 
1158     wxPy_BEGIN_ALLOW_THREADS
; 
1159         _result 
= (long )wxSize_GetX(_arg0
); 
1161     wxPy_END_ALLOW_THREADS
; 
1162     if (PyErr_Occurred()) return NULL
; 
1163 }    _resultobj 
= Py_BuildValue("l",_result
); 
1167 #define wxSize_GetY(_swigobj)  (_swigobj->GetY()) 
1168 static PyObject 
*_wrap_wxSize_GetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1169     PyObject 
* _resultobj
; 
1173     PyObject 
* _obj0 
= 0; 
1174     char *_kwnames
[] = { "self", NULL 
}; 
1177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))  
1181     if (! wxSize_helper(_obj0
, &_arg0
)) 
1185     wxPy_BEGIN_ALLOW_THREADS
; 
1186         _result 
= (long )wxSize_GetY(_arg0
); 
1188     wxPy_END_ALLOW_THREADS
; 
1189     if (PyErr_Occurred()) return NULL
; 
1190 }    _resultobj 
= Py_BuildValue("l",_result
); 
1194 #define wxSize_GetWidth(_swigobj)  (_swigobj->GetWidth()) 
1195 static PyObject 
*_wrap_wxSize_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1196     PyObject 
* _resultobj
; 
1200     PyObject 
* _obj0 
= 0; 
1201     char *_kwnames
[] = { "self", NULL 
}; 
1204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))  
1208     if (! wxSize_helper(_obj0
, &_arg0
)) 
1212     wxPy_BEGIN_ALLOW_THREADS
; 
1213         _result 
= (long )wxSize_GetWidth(_arg0
); 
1215     wxPy_END_ALLOW_THREADS
; 
1216     if (PyErr_Occurred()) return NULL
; 
1217 }    _resultobj 
= Py_BuildValue("l",_result
); 
1221 #define wxSize_GetHeight(_swigobj)  (_swigobj->GetHeight()) 
1222 static PyObject 
*_wrap_wxSize_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1223     PyObject 
* _resultobj
; 
1227     PyObject 
* _obj0 
= 0; 
1228     char *_kwnames
[] = { "self", NULL 
}; 
1231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))  
1235     if (! wxSize_helper(_obj0
, &_arg0
)) 
1239     wxPy_BEGIN_ALLOW_THREADS
; 
1240         _result 
= (long )wxSize_GetHeight(_arg0
); 
1242     wxPy_END_ALLOW_THREADS
; 
1243     if (PyErr_Occurred()) return NULL
; 
1244 }    _resultobj 
= Py_BuildValue("l",_result
); 
1248 #define wxSize_SetWidth(_swigobj,_swigarg0)  (_swigobj->SetWidth(_swigarg0)) 
1249 static PyObject 
*_wrap_wxSize_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1250     PyObject 
* _resultobj
; 
1254     PyObject 
* _obj0 
= 0; 
1255     char *_kwnames
[] = { "self","w", NULL 
}; 
1258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))  
1262     if (! wxSize_helper(_obj0
, &_arg0
)) 
1266     wxPy_BEGIN_ALLOW_THREADS
; 
1267         wxSize_SetWidth(_arg0
,_arg1
); 
1269     wxPy_END_ALLOW_THREADS
; 
1270     if (PyErr_Occurred()) return NULL
; 
1271 }    Py_INCREF(Py_None
); 
1272     _resultobj 
= Py_None
; 
1276 #define wxSize_SetHeight(_swigobj,_swigarg0)  (_swigobj->SetHeight(_swigarg0)) 
1277 static PyObject 
*_wrap_wxSize_SetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1278     PyObject 
* _resultobj
; 
1282     PyObject 
* _obj0 
= 0; 
1283     char *_kwnames
[] = { "self","h", NULL 
}; 
1286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))  
1290     if (! wxSize_helper(_obj0
, &_arg0
)) 
1294     wxPy_BEGIN_ALLOW_THREADS
; 
1295         wxSize_SetHeight(_arg0
,_arg1
); 
1297     wxPy_END_ALLOW_THREADS
; 
1298     if (PyErr_Occurred()) return NULL
; 
1299 }    Py_INCREF(Py_None
); 
1300     _resultobj 
= Py_None
; 
1304 static PyObject 
* wxSize_asTuple(wxSize 
*self
) { 
1305             PyObject
* tup 
= PyTuple_New(2); 
1306             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
1307             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
1310 static PyObject 
*_wrap_wxSize_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1311     PyObject 
* _resultobj
; 
1315     PyObject 
* _obj0 
= 0; 
1316     char *_kwnames
[] = { "self", NULL 
}; 
1319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))  
1323     if (! wxSize_helper(_obj0
, &_arg0
)) 
1327     wxPy_BEGIN_ALLOW_THREADS
; 
1328         _result 
= (PyObject 
*)wxSize_asTuple(_arg0
); 
1330     wxPy_END_ALLOW_THREADS
; 
1331     if (PyErr_Occurred()) return NULL
; 
1333   _resultobj 
= _result
; 
1338 static int  wxSize___cmp__(wxSize 
*self
,const wxSize 
* sz
) { 
1340             if (*self 
== *sz
) return 0; 
1343 static PyObject 
*_wrap_wxSize___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1344     PyObject 
* _resultobj
; 
1349     PyObject 
* _obj0 
= 0; 
1351     PyObject 
* _obj1 
= 0; 
1352     char *_kwnames
[] = { "self","sz", NULL 
}; 
1355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))  
1359     if (! wxSize_helper(_obj0
, &_arg0
)) 
1364     if (! wxSize_helper(_obj1
, &_arg1
)) 
1368     wxPy_BEGIN_ALLOW_THREADS
; 
1369         _result 
= (int )wxSize___cmp__(_arg0
,_arg1
); 
1371     wxPy_END_ALLOW_THREADS
; 
1372     if (PyErr_Occurred()) return NULL
; 
1373 }    _resultobj 
= Py_BuildValue("i",_result
); 
1377 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
1378 static PyObject 
*_wrap_wxRealPoint_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1379     PyObject 
* _resultobj
; 
1381     wxRealPoint 
* _arg0
; 
1384     PyObject 
* _obj0 
= 0; 
1385     char *_kwnames
[] = { "self","x", NULL 
}; 
1388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))  
1392     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1396     wxPy_BEGIN_ALLOW_THREADS
; 
1397         _result 
= (double )wxRealPoint_x_set(_arg0
,_arg1
); 
1399     wxPy_END_ALLOW_THREADS
; 
1400     if (PyErr_Occurred()) return NULL
; 
1401 }    _resultobj 
= Py_BuildValue("d",_result
); 
1405 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x) 
1406 static PyObject 
*_wrap_wxRealPoint_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1407     PyObject 
* _resultobj
; 
1409     wxRealPoint 
* _arg0
; 
1411     PyObject 
* _obj0 
= 0; 
1412     char *_kwnames
[] = { "self", NULL 
}; 
1415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))  
1419     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1423     wxPy_BEGIN_ALLOW_THREADS
; 
1424         _result 
= (double )wxRealPoint_x_get(_arg0
); 
1426     wxPy_END_ALLOW_THREADS
; 
1427     if (PyErr_Occurred()) return NULL
; 
1428 }    _resultobj 
= Py_BuildValue("d",_result
); 
1432 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
1433 static PyObject 
*_wrap_wxRealPoint_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1434     PyObject 
* _resultobj
; 
1436     wxRealPoint 
* _arg0
; 
1439     PyObject 
* _obj0 
= 0; 
1440     char *_kwnames
[] = { "self","y", NULL 
}; 
1443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))  
1447     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1451     wxPy_BEGIN_ALLOW_THREADS
; 
1452         _result 
= (double )wxRealPoint_y_set(_arg0
,_arg1
); 
1454     wxPy_END_ALLOW_THREADS
; 
1455     if (PyErr_Occurred()) return NULL
; 
1456 }    _resultobj 
= Py_BuildValue("d",_result
); 
1460 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y) 
1461 static PyObject 
*_wrap_wxRealPoint_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1462     PyObject 
* _resultobj
; 
1464     wxRealPoint 
* _arg0
; 
1466     PyObject 
* _obj0 
= 0; 
1467     char *_kwnames
[] = { "self", NULL 
}; 
1470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))  
1474     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1478     wxPy_BEGIN_ALLOW_THREADS
; 
1479         _result 
= (double )wxRealPoint_y_get(_arg0
); 
1481     wxPy_END_ALLOW_THREADS
; 
1482     if (PyErr_Occurred()) return NULL
; 
1483 }    _resultobj 
= Py_BuildValue("d",_result
); 
1487 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1)) 
1488 static PyObject 
*_wrap_new_wxRealPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1489     PyObject 
* _resultobj
; 
1490     wxRealPoint 
* _result
; 
1491     double  _arg0 
= (double ) 0.0; 
1492     double  _arg1 
= (double ) 0.0; 
1493     char *_kwnames
[] = { "x","y", NULL 
}; 
1497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))  
1500     wxPy_BEGIN_ALLOW_THREADS
; 
1501         _result 
= (wxRealPoint 
*)new_wxRealPoint(_arg0
,_arg1
); 
1503     wxPy_END_ALLOW_THREADS
; 
1504     if (PyErr_Occurred()) return NULL
; 
1506         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p"); 
1507         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1510         _resultobj 
= Py_None
; 
1515 #define delete_wxRealPoint(_swigobj) (delete _swigobj) 
1516 static PyObject 
*_wrap_delete_wxRealPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1517     PyObject 
* _resultobj
; 
1518     wxRealPoint 
* _arg0
; 
1520     PyObject 
* _obj0 
= 0; 
1521     char *_kwnames
[] = { "self", NULL 
}; 
1524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))  
1528     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1532     wxPy_BEGIN_ALLOW_THREADS
; 
1533         delete_wxRealPoint(_arg0
); 
1535     wxPy_END_ALLOW_THREADS
; 
1536     if (PyErr_Occurred()) return NULL
; 
1537 }    Py_INCREF(Py_None
); 
1538     _resultobj 
= Py_None
; 
1542 static void  wxRealPoint_Set(wxRealPoint 
*self
,double  x
,double  y
) { 
1546 static PyObject 
*_wrap_wxRealPoint_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1547     PyObject 
* _resultobj
; 
1548     wxRealPoint 
* _arg0
; 
1552     PyObject 
* _obj0 
= 0; 
1553     char *_kwnames
[] = { "self","x","y", NULL 
}; 
1556     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
1560     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1564     wxPy_BEGIN_ALLOW_THREADS
; 
1565         wxRealPoint_Set(_arg0
,_arg1
,_arg2
); 
1567     wxPy_END_ALLOW_THREADS
; 
1568     if (PyErr_Occurred()) return NULL
; 
1569 }    Py_INCREF(Py_None
); 
1570     _resultobj 
= Py_None
; 
1574 static PyObject 
* wxRealPoint_asTuple(wxRealPoint 
*self
) { 
1575             PyObject
* tup 
= PyTuple_New(2); 
1576             PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
)); 
1577             PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
)); 
1580 static PyObject 
*_wrap_wxRealPoint_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1581     PyObject 
* _resultobj
; 
1583     wxRealPoint 
* _arg0
; 
1585     PyObject 
* _obj0 
= 0; 
1586     char *_kwnames
[] = { "self", NULL 
}; 
1589     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))  
1593     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1597     wxPy_BEGIN_ALLOW_THREADS
; 
1598         _result 
= (PyObject 
*)wxRealPoint_asTuple(_arg0
); 
1600     wxPy_END_ALLOW_THREADS
; 
1601     if (PyErr_Occurred()) return NULL
; 
1603   _resultobj 
= _result
; 
1608 static wxRealPoint  
wxRealPoint___add__(wxRealPoint 
*self
,const wxRealPoint 
* p
) { 
1609             if (! p
) return *self
; 
1612 static PyObject 
*_wrap_wxRealPoint___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1613     PyObject 
* _resultobj
; 
1614     wxRealPoint 
* _result
; 
1615     wxRealPoint 
* _arg0
; 
1616     wxRealPoint 
* _arg1
; 
1618     PyObject 
* _obj0 
= 0; 
1620     PyObject 
* _obj1 
= 0; 
1621     char *_kwnames
[] = { "self","p", NULL 
}; 
1625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))  
1629     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1634     if (! wxRealPoint_helper(_obj1
, &_arg1
)) 
1638     wxPy_BEGIN_ALLOW_THREADS
; 
1639         _result 
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
)); 
1641     wxPy_END_ALLOW_THREADS
; 
1642     if (PyErr_Occurred()) return NULL
; 
1643 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p"); 
1644     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1648 static wxRealPoint  
wxRealPoint___sub__(wxRealPoint 
*self
,const wxRealPoint 
* p
) { 
1649             if (! p
) return *self
; 
1652 static PyObject 
*_wrap_wxRealPoint___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1653     PyObject 
* _resultobj
; 
1654     wxRealPoint 
* _result
; 
1655     wxRealPoint 
* _arg0
; 
1656     wxRealPoint 
* _arg1
; 
1658     PyObject 
* _obj0 
= 0; 
1660     PyObject 
* _obj1 
= 0; 
1661     char *_kwnames
[] = { "self","p", NULL 
}; 
1665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))  
1669     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1674     if (! wxRealPoint_helper(_obj1
, &_arg1
)) 
1678     wxPy_BEGIN_ALLOW_THREADS
; 
1679         _result 
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
)); 
1681     wxPy_END_ALLOW_THREADS
; 
1682     if (PyErr_Occurred()) return NULL
; 
1683 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p"); 
1684     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1688 static int  wxRealPoint___cmp__(wxRealPoint 
*self
,const wxRealPoint 
* p
) { 
1690             if (*self 
== *p
) return 0; 
1693 static PyObject 
*_wrap_wxRealPoint___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1694     PyObject 
* _resultobj
; 
1696     wxRealPoint 
* _arg0
; 
1697     wxRealPoint 
* _arg1
; 
1699     PyObject 
* _obj0 
= 0; 
1701     PyObject 
* _obj1 
= 0; 
1702     char *_kwnames
[] = { "self","p", NULL 
}; 
1705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))  
1709     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1714     if (! wxRealPoint_helper(_obj1
, &_arg1
)) 
1718     wxPy_BEGIN_ALLOW_THREADS
; 
1719         _result 
= (int )wxRealPoint___cmp__(_arg0
,_arg1
); 
1721     wxPy_END_ALLOW_THREADS
; 
1722     if (PyErr_Occurred()) return NULL
; 
1723 }    _resultobj 
= Py_BuildValue("i",_result
); 
1727 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
1728 static PyObject 
*_wrap_wxPoint_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1729     PyObject 
* _resultobj
; 
1734     PyObject 
* _obj0 
= 0; 
1735     char *_kwnames
[] = { "self","x", NULL 
}; 
1738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))  
1742     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1746     wxPy_BEGIN_ALLOW_THREADS
; 
1747         _result 
= (long )wxPoint_x_set(_arg0
,_arg1
); 
1749     wxPy_END_ALLOW_THREADS
; 
1750     if (PyErr_Occurred()) return NULL
; 
1751 }    _resultobj 
= Py_BuildValue("l",_result
); 
1755 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x) 
1756 static PyObject 
*_wrap_wxPoint_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1757     PyObject 
* _resultobj
; 
1761     PyObject 
* _obj0 
= 0; 
1762     char *_kwnames
[] = { "self", NULL 
}; 
1765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))  
1769     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1773     wxPy_BEGIN_ALLOW_THREADS
; 
1774         _result 
= (long )wxPoint_x_get(_arg0
); 
1776     wxPy_END_ALLOW_THREADS
; 
1777     if (PyErr_Occurred()) return NULL
; 
1778 }    _resultobj 
= Py_BuildValue("l",_result
); 
1782 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
1783 static PyObject 
*_wrap_wxPoint_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1784     PyObject 
* _resultobj
; 
1789     PyObject 
* _obj0 
= 0; 
1790     char *_kwnames
[] = { "self","y", NULL 
}; 
1793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))  
1797     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1801     wxPy_BEGIN_ALLOW_THREADS
; 
1802         _result 
= (long )wxPoint_y_set(_arg0
,_arg1
); 
1804     wxPy_END_ALLOW_THREADS
; 
1805     if (PyErr_Occurred()) return NULL
; 
1806 }    _resultobj 
= Py_BuildValue("l",_result
); 
1810 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y) 
1811 static PyObject 
*_wrap_wxPoint_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1812     PyObject 
* _resultobj
; 
1816     PyObject 
* _obj0 
= 0; 
1817     char *_kwnames
[] = { "self", NULL 
}; 
1820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))  
1824     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1828     wxPy_BEGIN_ALLOW_THREADS
; 
1829         _result 
= (long )wxPoint_y_get(_arg0
); 
1831     wxPy_END_ALLOW_THREADS
; 
1832     if (PyErr_Occurred()) return NULL
; 
1833 }    _resultobj 
= Py_BuildValue("l",_result
); 
1837 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1)) 
1838 static PyObject 
*_wrap_new_wxPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1839     PyObject 
* _resultobj
; 
1841     long  _arg0 
= (long ) 0; 
1842     long  _arg1 
= (long ) 0; 
1843     char *_kwnames
[] = { "x","y", NULL 
}; 
1847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))  
1850     wxPy_BEGIN_ALLOW_THREADS
; 
1851         _result 
= (wxPoint 
*)new_wxPoint(_arg0
,_arg1
); 
1853     wxPy_END_ALLOW_THREADS
; 
1854     if (PyErr_Occurred()) return NULL
; 
1856         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p"); 
1857         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1860         _resultobj 
= Py_None
; 
1865 #define delete_wxPoint(_swigobj) (delete _swigobj) 
1866 static PyObject 
*_wrap_delete_wxPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1867     PyObject 
* _resultobj
; 
1870     PyObject 
* _obj0 
= 0; 
1871     char *_kwnames
[] = { "self", NULL 
}; 
1874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))  
1878     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1882     wxPy_BEGIN_ALLOW_THREADS
; 
1883         delete_wxPoint(_arg0
); 
1885     wxPy_END_ALLOW_THREADS
; 
1886     if (PyErr_Occurred()) return NULL
; 
1887 }    Py_INCREF(Py_None
); 
1888     _resultobj 
= Py_None
; 
1892 static void  wxPoint_Set(wxPoint 
*self
,long  x
,long  y
) { 
1896 static PyObject 
*_wrap_wxPoint_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1897     PyObject 
* _resultobj
; 
1902     PyObject 
* _obj0 
= 0; 
1903     char *_kwnames
[] = { "self","x","y", NULL 
}; 
1906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
1910     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1914     wxPy_BEGIN_ALLOW_THREADS
; 
1915         wxPoint_Set(_arg0
,_arg1
,_arg2
); 
1917     wxPy_END_ALLOW_THREADS
; 
1918     if (PyErr_Occurred()) return NULL
; 
1919 }    Py_INCREF(Py_None
); 
1920     _resultobj 
= Py_None
; 
1924 static PyObject 
* wxPoint_asTuple(wxPoint 
*self
) { 
1925             PyObject
* tup 
= PyTuple_New(2); 
1926             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
1927             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
1930 static PyObject 
*_wrap_wxPoint_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1931     PyObject 
* _resultobj
; 
1935     PyObject 
* _obj0 
= 0; 
1936     char *_kwnames
[] = { "self", NULL 
}; 
1939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))  
1943     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1947     wxPy_BEGIN_ALLOW_THREADS
; 
1948         _result 
= (PyObject 
*)wxPoint_asTuple(_arg0
); 
1950     wxPy_END_ALLOW_THREADS
; 
1951     if (PyErr_Occurred()) return NULL
; 
1953   _resultobj 
= _result
; 
1958 static wxPoint  
wxPoint___add__(wxPoint 
*self
,const wxPoint 
* p
) { 
1959             if (! p
) return *self
; 
1962 static PyObject 
*_wrap_wxPoint___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1963     PyObject 
* _resultobj
; 
1968     PyObject 
* _obj0 
= 0; 
1970     PyObject 
* _obj1 
= 0; 
1971     char *_kwnames
[] = { "self","p", NULL 
}; 
1975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))  
1979     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1984     if (! wxPoint_helper(_obj1
, &_arg1
)) 
1988     wxPy_BEGIN_ALLOW_THREADS
; 
1989         _result 
= new wxPoint (wxPoint___add__(_arg0
,_arg1
)); 
1991     wxPy_END_ALLOW_THREADS
; 
1992     if (PyErr_Occurred()) return NULL
; 
1993 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p"); 
1994     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1998 static wxPoint  
wxPoint___sub__(wxPoint 
*self
,const wxPoint 
* p
) { 
1999             if (! p
) return *self
; 
2002 static PyObject 
*_wrap_wxPoint___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2003     PyObject 
* _resultobj
; 
2008     PyObject 
* _obj0 
= 0; 
2010     PyObject 
* _obj1 
= 0; 
2011     char *_kwnames
[] = { "self","p", NULL 
}; 
2015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))  
2019     if (! wxPoint_helper(_obj0
, &_arg0
)) 
2024     if (! wxPoint_helper(_obj1
, &_arg1
)) 
2028     wxPy_BEGIN_ALLOW_THREADS
; 
2029         _result 
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
)); 
2031     wxPy_END_ALLOW_THREADS
; 
2032     if (PyErr_Occurred()) return NULL
; 
2033 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p"); 
2034     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2038 static int  wxPoint___cmp__(wxPoint 
*self
,const wxPoint 
* p
) { 
2040             if (*self 
== *p
) return 0; 
2043 static PyObject 
*_wrap_wxPoint___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2044     PyObject 
* _resultobj
; 
2049     PyObject 
* _obj0 
= 0; 
2051     PyObject 
* _obj1 
= 0; 
2052     char *_kwnames
[] = { "self","p", NULL 
}; 
2055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))  
2059     if (! wxPoint_helper(_obj0
, &_arg0
)) 
2064     if (! wxPoint_helper(_obj1
, &_arg1
)) 
2068     wxPy_BEGIN_ALLOW_THREADS
; 
2069         _result 
= (int )wxPoint___cmp__(_arg0
,_arg1
); 
2071     wxPy_END_ALLOW_THREADS
; 
2072     if (PyErr_Occurred()) return NULL
; 
2073 }    _resultobj 
= Py_BuildValue("i",_result
); 
2077 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
2078 static PyObject 
*_wrap_new_wxRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2079     PyObject 
* _resultobj
; 
2081     int  _arg0 
= (int ) 0; 
2082     int  _arg1 
= (int ) 0; 
2083     int  _arg2 
= (int ) 0; 
2084     int  _arg3 
= (int ) 0; 
2085     char *_kwnames
[] = { "x","y","w","h", NULL 
}; 
2089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))  
2092     wxPy_BEGIN_ALLOW_THREADS
; 
2093         _result 
= (wxRect 
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
); 
2095     wxPy_END_ALLOW_THREADS
; 
2096     if (PyErr_Occurred()) return NULL
; 
2098         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p"); 
2099         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2102         _resultobj 
= Py_None
; 
2107 #define delete_wxRect(_swigobj) (delete _swigobj) 
2108 static PyObject 
*_wrap_delete_wxRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2109     PyObject 
* _resultobj
; 
2112     PyObject 
* _obj0 
= 0; 
2113     char *_kwnames
[] = { "self", NULL 
}; 
2116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))  
2120     if (! wxRect_helper(_obj0
, &_arg0
)) 
2124     wxPy_BEGIN_ALLOW_THREADS
; 
2125         delete_wxRect(_arg0
); 
2127     wxPy_END_ALLOW_THREADS
; 
2128     if (PyErr_Occurred()) return NULL
; 
2129 }    Py_INCREF(Py_None
); 
2130     _resultobj 
= Py_None
; 
2134 #define wxRect_GetX(_swigobj)  (_swigobj->GetX()) 
2135 static PyObject 
*_wrap_wxRect_GetX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2136     PyObject 
* _resultobj
; 
2140     PyObject 
* _obj0 
= 0; 
2141     char *_kwnames
[] = { "self", NULL 
}; 
2144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))  
2148     if (! wxRect_helper(_obj0
, &_arg0
)) 
2152     wxPy_BEGIN_ALLOW_THREADS
; 
2153         _result 
= (int )wxRect_GetX(_arg0
); 
2155     wxPy_END_ALLOW_THREADS
; 
2156     if (PyErr_Occurred()) return NULL
; 
2157 }    _resultobj 
= Py_BuildValue("i",_result
); 
2161 #define wxRect_SetX(_swigobj,_swigarg0)  (_swigobj->SetX(_swigarg0)) 
2162 static PyObject 
*_wrap_wxRect_SetX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2163     PyObject 
* _resultobj
; 
2167     PyObject 
* _obj0 
= 0; 
2168     char *_kwnames
[] = { "self","X", NULL 
}; 
2171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))  
2175     if (! wxRect_helper(_obj0
, &_arg0
)) 
2179     wxPy_BEGIN_ALLOW_THREADS
; 
2180         wxRect_SetX(_arg0
,_arg1
); 
2182     wxPy_END_ALLOW_THREADS
; 
2183     if (PyErr_Occurred()) return NULL
; 
2184 }    Py_INCREF(Py_None
); 
2185     _resultobj 
= Py_None
; 
2189 #define wxRect_GetY(_swigobj)  (_swigobj->GetY()) 
2190 static PyObject 
*_wrap_wxRect_GetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2191     PyObject 
* _resultobj
; 
2195     PyObject 
* _obj0 
= 0; 
2196     char *_kwnames
[] = { "self", NULL 
}; 
2199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))  
2203     if (! wxRect_helper(_obj0
, &_arg0
)) 
2207     wxPy_BEGIN_ALLOW_THREADS
; 
2208         _result 
= (int )wxRect_GetY(_arg0
); 
2210     wxPy_END_ALLOW_THREADS
; 
2211     if (PyErr_Occurred()) return NULL
; 
2212 }    _resultobj 
= Py_BuildValue("i",_result
); 
2216 #define wxRect_SetY(_swigobj,_swigarg0)  (_swigobj->SetY(_swigarg0)) 
2217 static PyObject 
*_wrap_wxRect_SetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2218     PyObject 
* _resultobj
; 
2222     PyObject 
* _obj0 
= 0; 
2223     char *_kwnames
[] = { "self","Y", NULL 
}; 
2226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))  
2230     if (! wxRect_helper(_obj0
, &_arg0
)) 
2234     wxPy_BEGIN_ALLOW_THREADS
; 
2235         wxRect_SetY(_arg0
,_arg1
); 
2237     wxPy_END_ALLOW_THREADS
; 
2238     if (PyErr_Occurred()) return NULL
; 
2239 }    Py_INCREF(Py_None
); 
2240     _resultobj 
= Py_None
; 
2244 #define wxRect_GetWidth(_swigobj)  (_swigobj->GetWidth()) 
2245 static PyObject 
*_wrap_wxRect_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2246     PyObject 
* _resultobj
; 
2250     PyObject 
* _obj0 
= 0; 
2251     char *_kwnames
[] = { "self", NULL 
}; 
2254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))  
2258     if (! wxRect_helper(_obj0
, &_arg0
)) 
2262     wxPy_BEGIN_ALLOW_THREADS
; 
2263         _result 
= (int )wxRect_GetWidth(_arg0
); 
2265     wxPy_END_ALLOW_THREADS
; 
2266     if (PyErr_Occurred()) return NULL
; 
2267 }    _resultobj 
= Py_BuildValue("i",_result
); 
2271 #define wxRect_SetWidth(_swigobj,_swigarg0)  (_swigobj->SetWidth(_swigarg0)) 
2272 static PyObject 
*_wrap_wxRect_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2273     PyObject 
* _resultobj
; 
2277     PyObject 
* _obj0 
= 0; 
2278     char *_kwnames
[] = { "self","w", NULL 
}; 
2281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))  
2285     if (! wxRect_helper(_obj0
, &_arg0
)) 
2289     wxPy_BEGIN_ALLOW_THREADS
; 
2290         wxRect_SetWidth(_arg0
,_arg1
); 
2292     wxPy_END_ALLOW_THREADS
; 
2293     if (PyErr_Occurred()) return NULL
; 
2294 }    Py_INCREF(Py_None
); 
2295     _resultobj 
= Py_None
; 
2299 #define wxRect_GetHeight(_swigobj)  (_swigobj->GetHeight()) 
2300 static PyObject 
*_wrap_wxRect_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2301     PyObject 
* _resultobj
; 
2305     PyObject 
* _obj0 
= 0; 
2306     char *_kwnames
[] = { "self", NULL 
}; 
2309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))  
2313     if (! wxRect_helper(_obj0
, &_arg0
)) 
2317     wxPy_BEGIN_ALLOW_THREADS
; 
2318         _result 
= (int )wxRect_GetHeight(_arg0
); 
2320     wxPy_END_ALLOW_THREADS
; 
2321     if (PyErr_Occurred()) return NULL
; 
2322 }    _resultobj 
= Py_BuildValue("i",_result
); 
2326 #define wxRect_SetHeight(_swigobj,_swigarg0)  (_swigobj->SetHeight(_swigarg0)) 
2327 static PyObject 
*_wrap_wxRect_SetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2328     PyObject 
* _resultobj
; 
2332     PyObject 
* _obj0 
= 0; 
2333     char *_kwnames
[] = { "self","h", NULL 
}; 
2336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))  
2340     if (! wxRect_helper(_obj0
, &_arg0
)) 
2344     wxPy_BEGIN_ALLOW_THREADS
; 
2345         wxRect_SetHeight(_arg0
,_arg1
); 
2347     wxPy_END_ALLOW_THREADS
; 
2348     if (PyErr_Occurred()) return NULL
; 
2349 }    Py_INCREF(Py_None
); 
2350     _resultobj 
= Py_None
; 
2354 #define wxRect_GetPosition(_swigobj)  (_swigobj->GetPosition()) 
2355 static PyObject 
*_wrap_wxRect_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2356     PyObject 
* _resultobj
; 
2360     PyObject 
* _obj0 
= 0; 
2361     char *_kwnames
[] = { "self", NULL 
}; 
2365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))  
2369     if (! wxRect_helper(_obj0
, &_arg0
)) 
2373     wxPy_BEGIN_ALLOW_THREADS
; 
2374         _result 
= new wxPoint (wxRect_GetPosition(_arg0
)); 
2376     wxPy_END_ALLOW_THREADS
; 
2377     if (PyErr_Occurred()) return NULL
; 
2378 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p"); 
2379     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2383 #define wxRect_GetSize(_swigobj)  (_swigobj->GetSize()) 
2384 static PyObject 
*_wrap_wxRect_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2385     PyObject 
* _resultobj
; 
2389     PyObject 
* _obj0 
= 0; 
2390     char *_kwnames
[] = { "self", NULL 
}; 
2394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))  
2398     if (! wxRect_helper(_obj0
, &_arg0
)) 
2402     wxPy_BEGIN_ALLOW_THREADS
; 
2403         _result 
= new wxSize (wxRect_GetSize(_arg0
)); 
2405     wxPy_END_ALLOW_THREADS
; 
2406     if (PyErr_Occurred()) return NULL
; 
2407 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2408     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2412 #define wxRect_GetLeft(_swigobj)  (_swigobj->GetLeft()) 
2413 static PyObject 
*_wrap_wxRect_GetLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2414     PyObject 
* _resultobj
; 
2418     PyObject 
* _obj0 
= 0; 
2419     char *_kwnames
[] = { "self", NULL 
}; 
2422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))  
2426     if (! wxRect_helper(_obj0
, &_arg0
)) 
2430     wxPy_BEGIN_ALLOW_THREADS
; 
2431         _result 
= (int )wxRect_GetLeft(_arg0
); 
2433     wxPy_END_ALLOW_THREADS
; 
2434     if (PyErr_Occurred()) return NULL
; 
2435 }    _resultobj 
= Py_BuildValue("i",_result
); 
2439 #define wxRect_GetTop(_swigobj)  (_swigobj->GetTop()) 
2440 static PyObject 
*_wrap_wxRect_GetTop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2441     PyObject 
* _resultobj
; 
2445     PyObject 
* _obj0 
= 0; 
2446     char *_kwnames
[] = { "self", NULL 
}; 
2449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))  
2453     if (! wxRect_helper(_obj0
, &_arg0
)) 
2457     wxPy_BEGIN_ALLOW_THREADS
; 
2458         _result 
= (int )wxRect_GetTop(_arg0
); 
2460     wxPy_END_ALLOW_THREADS
; 
2461     if (PyErr_Occurred()) return NULL
; 
2462 }    _resultobj 
= Py_BuildValue("i",_result
); 
2466 #define wxRect_GetBottom(_swigobj)  (_swigobj->GetBottom()) 
2467 static PyObject 
*_wrap_wxRect_GetBottom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2468     PyObject 
* _resultobj
; 
2472     PyObject 
* _obj0 
= 0; 
2473     char *_kwnames
[] = { "self", NULL 
}; 
2476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))  
2480     if (! wxRect_helper(_obj0
, &_arg0
)) 
2484     wxPy_BEGIN_ALLOW_THREADS
; 
2485         _result 
= (int )wxRect_GetBottom(_arg0
); 
2487     wxPy_END_ALLOW_THREADS
; 
2488     if (PyErr_Occurred()) return NULL
; 
2489 }    _resultobj 
= Py_BuildValue("i",_result
); 
2493 #define wxRect_GetRight(_swigobj)  (_swigobj->GetRight()) 
2494 static PyObject 
*_wrap_wxRect_GetRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2495     PyObject 
* _resultobj
; 
2499     PyObject 
* _obj0 
= 0; 
2500     char *_kwnames
[] = { "self", NULL 
}; 
2503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))  
2507     if (! wxRect_helper(_obj0
, &_arg0
)) 
2511     wxPy_BEGIN_ALLOW_THREADS
; 
2512         _result 
= (int )wxRect_GetRight(_arg0
); 
2514     wxPy_END_ALLOW_THREADS
; 
2515     if (PyErr_Occurred()) return NULL
; 
2516 }    _resultobj 
= Py_BuildValue("i",_result
); 
2520 #define wxRect_SetLeft(_swigobj,_swigarg0)  (_swigobj->SetLeft(_swigarg0)) 
2521 static PyObject 
*_wrap_wxRect_SetLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2522     PyObject 
* _resultobj
; 
2526     PyObject 
* _obj0 
= 0; 
2527     char *_kwnames
[] = { "self","left", NULL 
}; 
2530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))  
2534     if (! wxRect_helper(_obj0
, &_arg0
)) 
2538     wxPy_BEGIN_ALLOW_THREADS
; 
2539         wxRect_SetLeft(_arg0
,_arg1
); 
2541     wxPy_END_ALLOW_THREADS
; 
2542     if (PyErr_Occurred()) return NULL
; 
2543 }    Py_INCREF(Py_None
); 
2544     _resultobj 
= Py_None
; 
2548 #define wxRect_SetRight(_swigobj,_swigarg0)  (_swigobj->SetRight(_swigarg0)) 
2549 static PyObject 
*_wrap_wxRect_SetRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2550     PyObject 
* _resultobj
; 
2554     PyObject 
* _obj0 
= 0; 
2555     char *_kwnames
[] = { "self","right", NULL 
}; 
2558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))  
2562     if (! wxRect_helper(_obj0
, &_arg0
)) 
2566     wxPy_BEGIN_ALLOW_THREADS
; 
2567         wxRect_SetRight(_arg0
,_arg1
); 
2569     wxPy_END_ALLOW_THREADS
; 
2570     if (PyErr_Occurred()) return NULL
; 
2571 }    Py_INCREF(Py_None
); 
2572     _resultobj 
= Py_None
; 
2576 #define wxRect_SetTop(_swigobj,_swigarg0)  (_swigobj->SetTop(_swigarg0)) 
2577 static PyObject 
*_wrap_wxRect_SetTop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2578     PyObject 
* _resultobj
; 
2582     PyObject 
* _obj0 
= 0; 
2583     char *_kwnames
[] = { "self","top", NULL 
}; 
2586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))  
2590     if (! wxRect_helper(_obj0
, &_arg0
)) 
2594     wxPy_BEGIN_ALLOW_THREADS
; 
2595         wxRect_SetTop(_arg0
,_arg1
); 
2597     wxPy_END_ALLOW_THREADS
; 
2598     if (PyErr_Occurred()) return NULL
; 
2599 }    Py_INCREF(Py_None
); 
2600     _resultobj 
= Py_None
; 
2604 #define wxRect_SetBottom(_swigobj,_swigarg0)  (_swigobj->SetBottom(_swigarg0)) 
2605 static PyObject 
*_wrap_wxRect_SetBottom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2606     PyObject 
* _resultobj
; 
2610     PyObject 
* _obj0 
= 0; 
2611     char *_kwnames
[] = { "self","bottom", NULL 
}; 
2614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))  
2618     if (! wxRect_helper(_obj0
, &_arg0
)) 
2622     wxPy_BEGIN_ALLOW_THREADS
; 
2623         wxRect_SetBottom(_arg0
,_arg1
); 
2625     wxPy_END_ALLOW_THREADS
; 
2626     if (PyErr_Occurred()) return NULL
; 
2627 }    Py_INCREF(Py_None
); 
2628     _resultobj 
= Py_None
; 
2632 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Inflate(_swigarg0,_swigarg1)) 
2633 static PyObject 
*_wrap_wxRect_Inflate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2634     PyObject 
* _resultobj
; 
2639     PyObject 
* _obj0 
= 0; 
2640     char *_kwnames
[] = { "self","dx","dy", NULL 
}; 
2643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
2647     if (! wxRect_helper(_obj0
, &_arg0
)) 
2651     wxPy_BEGIN_ALLOW_THREADS
; 
2652         wxRect_Inflate(_arg0
,_arg1
,_arg2
); 
2654     wxPy_END_ALLOW_THREADS
; 
2655     if (PyErr_Occurred()) return NULL
; 
2656 }    Py_INCREF(Py_None
); 
2657     _resultobj 
= Py_None
; 
2661 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Inside(_swigarg0,_swigarg1)) 
2662 static PyObject 
*_wrap_wxRect_Inside(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2663     PyObject 
* _resultobj
; 
2669     PyObject 
* _obj0 
= 0; 
2670     char *_kwnames
[] = { "self","cx","cy", NULL 
}; 
2673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
2677     if (! wxRect_helper(_obj0
, &_arg0
)) 
2681     wxPy_BEGIN_ALLOW_THREADS
; 
2682         _result 
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
); 
2684     wxPy_END_ALLOW_THREADS
; 
2685     if (PyErr_Occurred()) return NULL
; 
2686 }    _resultobj 
= Py_BuildValue("i",_result
); 
2690 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
2691 static PyObject 
*_wrap_wxRect_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2692     PyObject 
* _resultobj
; 
2697     PyObject 
* _obj0 
= 0; 
2698     char *_kwnames
[] = { "self","x", NULL 
}; 
2701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))  
2705     if (! wxRect_helper(_obj0
, &_arg0
)) 
2709     wxPy_BEGIN_ALLOW_THREADS
; 
2710         _result 
= (int )wxRect_x_set(_arg0
,_arg1
); 
2712     wxPy_END_ALLOW_THREADS
; 
2713     if (PyErr_Occurred()) return NULL
; 
2714 }    _resultobj 
= Py_BuildValue("i",_result
); 
2718 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x) 
2719 static PyObject 
*_wrap_wxRect_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2720     PyObject 
* _resultobj
; 
2724     PyObject 
* _obj0 
= 0; 
2725     char *_kwnames
[] = { "self", NULL 
}; 
2728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))  
2732     if (! wxRect_helper(_obj0
, &_arg0
)) 
2736     wxPy_BEGIN_ALLOW_THREADS
; 
2737         _result 
= (int )wxRect_x_get(_arg0
); 
2739     wxPy_END_ALLOW_THREADS
; 
2740     if (PyErr_Occurred()) return NULL
; 
2741 }    _resultobj 
= Py_BuildValue("i",_result
); 
2745 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
2746 static PyObject 
*_wrap_wxRect_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2747     PyObject 
* _resultobj
; 
2752     PyObject 
* _obj0 
= 0; 
2753     char *_kwnames
[] = { "self","y", NULL 
}; 
2756     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))  
2760     if (! wxRect_helper(_obj0
, &_arg0
)) 
2764     wxPy_BEGIN_ALLOW_THREADS
; 
2765         _result 
= (int )wxRect_y_set(_arg0
,_arg1
); 
2767     wxPy_END_ALLOW_THREADS
; 
2768     if (PyErr_Occurred()) return NULL
; 
2769 }    _resultobj 
= Py_BuildValue("i",_result
); 
2773 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y) 
2774 static PyObject 
*_wrap_wxRect_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2775     PyObject 
* _resultobj
; 
2779     PyObject 
* _obj0 
= 0; 
2780     char *_kwnames
[] = { "self", NULL 
}; 
2783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))  
2787     if (! wxRect_helper(_obj0
, &_arg0
)) 
2791     wxPy_BEGIN_ALLOW_THREADS
; 
2792         _result 
= (int )wxRect_y_get(_arg0
); 
2794     wxPy_END_ALLOW_THREADS
; 
2795     if (PyErr_Occurred()) return NULL
; 
2796 }    _resultobj 
= Py_BuildValue("i",_result
); 
2800 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval) 
2801 static PyObject 
*_wrap_wxRect_width_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2802     PyObject 
* _resultobj
; 
2807     PyObject 
* _obj0 
= 0; 
2808     char *_kwnames
[] = { "self","width", NULL 
}; 
2811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))  
2815     if (! wxRect_helper(_obj0
, &_arg0
)) 
2819     wxPy_BEGIN_ALLOW_THREADS
; 
2820         _result 
= (int )wxRect_width_set(_arg0
,_arg1
); 
2822     wxPy_END_ALLOW_THREADS
; 
2823     if (PyErr_Occurred()) return NULL
; 
2824 }    _resultobj 
= Py_BuildValue("i",_result
); 
2828 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width) 
2829 static PyObject 
*_wrap_wxRect_width_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2830     PyObject 
* _resultobj
; 
2834     PyObject 
* _obj0 
= 0; 
2835     char *_kwnames
[] = { "self", NULL 
}; 
2838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))  
2842     if (! wxRect_helper(_obj0
, &_arg0
)) 
2846     wxPy_BEGIN_ALLOW_THREADS
; 
2847         _result 
= (int )wxRect_width_get(_arg0
); 
2849     wxPy_END_ALLOW_THREADS
; 
2850     if (PyErr_Occurred()) return NULL
; 
2851 }    _resultobj 
= Py_BuildValue("i",_result
); 
2855 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval) 
2856 static PyObject 
*_wrap_wxRect_height_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2857     PyObject 
* _resultobj
; 
2862     PyObject 
* _obj0 
= 0; 
2863     char *_kwnames
[] = { "self","height", NULL 
}; 
2866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))  
2870     if (! wxRect_helper(_obj0
, &_arg0
)) 
2874     wxPy_BEGIN_ALLOW_THREADS
; 
2875         _result 
= (int )wxRect_height_set(_arg0
,_arg1
); 
2877     wxPy_END_ALLOW_THREADS
; 
2878     if (PyErr_Occurred()) return NULL
; 
2879 }    _resultobj 
= Py_BuildValue("i",_result
); 
2883 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height) 
2884 static PyObject 
*_wrap_wxRect_height_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2885     PyObject 
* _resultobj
; 
2889     PyObject 
* _obj0 
= 0; 
2890     char *_kwnames
[] = { "self", NULL 
}; 
2893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))  
2897     if (! wxRect_helper(_obj0
, &_arg0
)) 
2901     wxPy_BEGIN_ALLOW_THREADS
; 
2902         _result 
= (int )wxRect_height_get(_arg0
); 
2904     wxPy_END_ALLOW_THREADS
; 
2905     if (PyErr_Occurred()) return NULL
; 
2906 }    _resultobj 
= Py_BuildValue("i",_result
); 
2910 static PyObject 
* wxRect_asTuple(wxRect 
*self
) { 
2911             PyObject
* tup 
= PyTuple_New(4); 
2912             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
2913             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
2914             PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
)); 
2915             PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
)); 
2918 static PyObject 
*_wrap_wxRect_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2919     PyObject 
* _resultobj
; 
2923     PyObject 
* _obj0 
= 0; 
2924     char *_kwnames
[] = { "self", NULL 
}; 
2927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))  
2931     if (! wxRect_helper(_obj0
, &_arg0
)) 
2935     wxPy_BEGIN_ALLOW_THREADS
; 
2936         _result 
= (PyObject 
*)wxRect_asTuple(_arg0
); 
2938     wxPy_END_ALLOW_THREADS
; 
2939     if (PyErr_Occurred()) return NULL
; 
2941   _resultobj 
= _result
; 
2946 static wxRect  
wxRect___add__(wxRect 
*self
,const wxRect 
* rect
) { 
2947             if (! rect
) return *self
; 
2948             return *self 
+ *rect
; 
2950 static PyObject 
*_wrap_wxRect___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2951     PyObject 
* _resultobj
; 
2956     PyObject 
* _obj0 
= 0; 
2958     PyObject 
* _obj1 
= 0; 
2959     char *_kwnames
[] = { "self","rect", NULL 
}; 
2963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))  
2967     if (! wxRect_helper(_obj0
, &_arg0
)) 
2972     if (! wxRect_helper(_obj1
, &_arg1
)) 
2976     wxPy_BEGIN_ALLOW_THREADS
; 
2977         _result 
= new wxRect (wxRect___add__(_arg0
,_arg1
)); 
2979     wxPy_END_ALLOW_THREADS
; 
2980     if (PyErr_Occurred()) return NULL
; 
2981 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p"); 
2982     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2986 static int  wxRect___cmp__(wxRect 
*self
,const wxRect 
* rect
) { 
2987             if (! rect
) return 1; 
2988             if (*self 
== *rect
) return 0; 
2991 static PyObject 
*_wrap_wxRect___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2992     PyObject 
* _resultobj
; 
2997     PyObject 
* _obj0 
= 0; 
2999     PyObject 
* _obj1 
= 0; 
3000     char *_kwnames
[] = { "self","rect", NULL 
}; 
3003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))  
3007     if (! wxRect_helper(_obj0
, &_arg0
)) 
3012     if (! wxRect_helper(_obj1
, &_arg1
)) 
3016     wxPy_BEGIN_ALLOW_THREADS
; 
3017         _result 
= (int )wxRect___cmp__(_arg0
,_arg1
); 
3019     wxPy_END_ALLOW_THREADS
; 
3020     if (PyErr_Occurred()) return NULL
; 
3021 }    _resultobj 
= Py_BuildValue("i",_result
); 
3025 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) { 
3026     wxIndividualLayoutConstraint 
*src
; 
3028     src 
= (wxIndividualLayoutConstraint 
*) ptr
; 
3029     dest 
= (wxObject 
*) src
; 
3030     return (void *) dest
; 
3033 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Above(_swigarg0,_swigarg1)) 
3034 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Above(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3035     PyObject 
* _resultobj
; 
3036     wxIndividualLayoutConstraint 
* _arg0
; 
3038     int  _arg2 
= (int ) 0; 
3039     PyObject 
* _argo0 
= 0; 
3040     PyObject 
* _argo1 
= 0; 
3041     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3047         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3048         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3049             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p."); 
3054         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3055         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3056             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p."); 
3061     wxPy_BEGIN_ALLOW_THREADS
; 
3062         wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
); 
3064     wxPy_END_ALLOW_THREADS
; 
3065     if (PyErr_Occurred()) return NULL
; 
3066 }    Py_INCREF(Py_None
); 
3067     _resultobj 
= Py_None
; 
3071 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0)  (_swigobj->Absolute(_swigarg0)) 
3072 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3073     PyObject 
* _resultobj
; 
3074     wxIndividualLayoutConstraint 
* _arg0
; 
3076     PyObject 
* _argo0 
= 0; 
3077     char *_kwnames
[] = { "self","value", NULL 
}; 
3080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))  
3083         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3084         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3085             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p."); 
3090     wxPy_BEGIN_ALLOW_THREADS
; 
3091         wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
); 
3093     wxPy_END_ALLOW_THREADS
; 
3094     if (PyErr_Occurred()) return NULL
; 
3095 }    Py_INCREF(Py_None
); 
3096     _resultobj 
= Py_None
; 
3100 #define wxIndividualLayoutConstraint_AsIs(_swigobj)  (_swigobj->AsIs()) 
3101 static PyObject 
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3102     PyObject 
* _resultobj
; 
3103     wxIndividualLayoutConstraint 
* _arg0
; 
3104     PyObject 
* _argo0 
= 0; 
3105     char *_kwnames
[] = { "self", NULL 
}; 
3108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))  
3111         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3112         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3113             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p."); 
3118     wxPy_BEGIN_ALLOW_THREADS
; 
3119         wxIndividualLayoutConstraint_AsIs(_arg0
); 
3121     wxPy_END_ALLOW_THREADS
; 
3122     if (PyErr_Occurred()) return NULL
; 
3123 }    Py_INCREF(Py_None
); 
3124     _resultobj 
= Py_None
; 
3128 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Below(_swigarg0,_swigarg1)) 
3129 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Below(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3130     PyObject 
* _resultobj
; 
3131     wxIndividualLayoutConstraint 
* _arg0
; 
3133     int  _arg2 
= (int ) 0; 
3134     PyObject 
* _argo0 
= 0; 
3135     PyObject 
* _argo1 
= 0; 
3136     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3139     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3142         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3143         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3144             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p."); 
3149         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3150         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3151             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p."); 
3156     wxPy_BEGIN_ALLOW_THREADS
; 
3157         wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
); 
3159     wxPy_END_ALLOW_THREADS
; 
3160     if (PyErr_Occurred()) return NULL
; 
3161 }    Py_INCREF(Py_None
); 
3162     _resultobj 
= Py_None
; 
3166 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj)  (_swigobj->Unconstrained()) 
3167 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3168     PyObject 
* _resultobj
; 
3169     wxIndividualLayoutConstraint 
* _arg0
; 
3170     PyObject 
* _argo0 
= 0; 
3171     char *_kwnames
[] = { "self", NULL 
}; 
3174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))  
3177         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3178         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3179             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p."); 
3184     wxPy_BEGIN_ALLOW_THREADS
; 
3185         wxIndividualLayoutConstraint_Unconstrained(_arg0
); 
3187     wxPy_END_ALLOW_THREADS
; 
3188     if (PyErr_Occurred()) return NULL
; 
3189 }    Py_INCREF(Py_None
); 
3190     _resultobj 
= Py_None
; 
3194 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1)  (_swigobj->LeftOf(_swigarg0,_swigarg1)) 
3195 static PyObject 
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3196     PyObject 
* _resultobj
; 
3197     wxIndividualLayoutConstraint 
* _arg0
; 
3199     int  _arg2 
= (int ) 0; 
3200     PyObject 
* _argo0 
= 0; 
3201     PyObject 
* _argo1 
= 0; 
3202     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3208         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3209         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3210             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p."); 
3215         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3216         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3217             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p."); 
3222     wxPy_BEGIN_ALLOW_THREADS
; 
3223         wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
); 
3225     wxPy_END_ALLOW_THREADS
; 
3226     if (PyErr_Occurred()) return NULL
; 
3227 }    Py_INCREF(Py_None
); 
3228     _resultobj 
= Py_None
; 
3232 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2)) 
3233 static PyObject 
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3234     PyObject 
* _resultobj
; 
3235     wxIndividualLayoutConstraint 
* _arg0
; 
3239     PyObject 
* _argo0 
= 0; 
3240     PyObject 
* _argo1 
= 0; 
3241     char *_kwnames
[] = { "self","otherWin","edge","percent", NULL 
}; 
3244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))  
3247         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3248         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3249             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p."); 
3254         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3255         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3256             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p."); 
3261     wxPy_BEGIN_ALLOW_THREADS
; 
3262         wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
); 
3264     wxPy_END_ALLOW_THREADS
; 
3265     if (PyErr_Occurred()) return NULL
; 
3266 }    Py_INCREF(Py_None
); 
3267     _resultobj 
= Py_None
; 
3271 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1)  (_swigobj->RightOf(_swigarg0,_swigarg1)) 
3272 static PyObject 
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3273     PyObject 
* _resultobj
; 
3274     wxIndividualLayoutConstraint 
* _arg0
; 
3276     int  _arg2 
= (int ) 0; 
3277     PyObject 
* _argo0 
= 0; 
3278     PyObject 
* _argo1 
= 0; 
3279     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3285         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3286         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3287             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p."); 
3292         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3293         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3294             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p."); 
3299     wxPy_BEGIN_ALLOW_THREADS
; 
3300         wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
); 
3302     wxPy_END_ALLOW_THREADS
; 
3303     if (PyErr_Occurred()) return NULL
; 
3304 }    Py_INCREF(Py_None
); 
3305     _resultobj 
= Py_None
; 
3309 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2)) 
3310 static PyObject 
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3311     PyObject 
* _resultobj
; 
3312     wxIndividualLayoutConstraint 
* _arg0
; 
3315     int  _arg3 
= (int ) 0; 
3316     PyObject 
* _argo0 
= 0; 
3317     PyObject 
* _argo1 
= 0; 
3318     char *_kwnames
[] = { "self","otherWin","edge","margin", NULL 
}; 
3321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))  
3324         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3325         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3326             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p."); 
3331         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3332         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3333             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p."); 
3338     wxPy_BEGIN_ALLOW_THREADS
; 
3339         wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
); 
3341     wxPy_END_ALLOW_THREADS
; 
3342     if (PyErr_Occurred()) return NULL
; 
3343 }    Py_INCREF(Py_None
); 
3344     _resultobj 
= Py_None
; 
3348 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)  (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
3349 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3350     PyObject 
* _resultobj
; 
3351     wxIndividualLayoutConstraint 
* _arg0
; 
3352     wxRelationship  _arg1
; 
3355     int  _arg4 
= (int ) 0; 
3356     int  _arg5 
= (int ) 0; 
3357     PyObject 
* _argo0 
= 0; 
3358     PyObject 
* _argo2 
= 0; 
3359     char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL 
}; 
3362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))  
3365         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3366         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3367             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p."); 
3372         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
3373         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) { 
3374             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p."); 
3379     wxPy_BEGIN_ALLOW_THREADS
; 
3380         wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
); 
3382     wxPy_END_ALLOW_THREADS
; 
3383     if (PyErr_Occurred()) return NULL
; 
3384 }    Py_INCREF(Py_None
); 
3385     _resultobj 
= Py_None
; 
3389 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) { 
3390     wxLayoutConstraints 
*src
; 
3392     src 
= (wxLayoutConstraints 
*) ptr
; 
3393     dest 
= (wxObject 
*) src
; 
3394     return (void *) dest
; 
3397 #define new_wxLayoutConstraints() (new wxLayoutConstraints()) 
3398 static PyObject 
*_wrap_new_wxLayoutConstraints(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3399     PyObject 
* _resultobj
; 
3400     wxLayoutConstraints 
* _result
; 
3401     char *_kwnames
[] = {  NULL 
}; 
3405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))  
3408     wxPy_BEGIN_ALLOW_THREADS
; 
3409         _result 
= (wxLayoutConstraints 
*)new_wxLayoutConstraints(); 
3411     wxPy_END_ALLOW_THREADS
; 
3412     if (PyErr_Occurred()) return NULL
; 
3414         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p"); 
3415         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3418         _resultobj 
= Py_None
; 
3423 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom) 
3424 static PyObject 
*_wrap_wxLayoutConstraints_bottom_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3425     PyObject 
* _resultobj
; 
3426     wxIndividualLayoutConstraint 
* _result
; 
3427     wxLayoutConstraints 
* _arg0
; 
3428     PyObject 
* _argo0 
= 0; 
3429     char *_kwnames
[] = { "self", NULL 
}; 
3433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))  
3436         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3437         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3438             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p."); 
3443     wxPy_BEGIN_ALLOW_THREADS
; 
3444         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_bottom_get(_arg0
); 
3446     wxPy_END_ALLOW_THREADS
; 
3447     if (PyErr_Occurred()) return NULL
; 
3449         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3450         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3453         _resultobj 
= Py_None
; 
3458 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX) 
3459 static PyObject 
*_wrap_wxLayoutConstraints_centreX_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3460     PyObject 
* _resultobj
; 
3461     wxIndividualLayoutConstraint 
* _result
; 
3462     wxLayoutConstraints 
* _arg0
; 
3463     PyObject 
* _argo0 
= 0; 
3464     char *_kwnames
[] = { "self", NULL 
}; 
3468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))  
3471         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3472         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3473             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p."); 
3478     wxPy_BEGIN_ALLOW_THREADS
; 
3479         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_centreX_get(_arg0
); 
3481     wxPy_END_ALLOW_THREADS
; 
3482     if (PyErr_Occurred()) return NULL
; 
3484         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3485         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3488         _resultobj 
= Py_None
; 
3493 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY) 
3494 static PyObject 
*_wrap_wxLayoutConstraints_centreY_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3495     PyObject 
* _resultobj
; 
3496     wxIndividualLayoutConstraint 
* _result
; 
3497     wxLayoutConstraints 
* _arg0
; 
3498     PyObject 
* _argo0 
= 0; 
3499     char *_kwnames
[] = { "self", NULL 
}; 
3503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))  
3506         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3507         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3508             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p."); 
3513     wxPy_BEGIN_ALLOW_THREADS
; 
3514         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_centreY_get(_arg0
); 
3516     wxPy_END_ALLOW_THREADS
; 
3517     if (PyErr_Occurred()) return NULL
; 
3519         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3520         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3523         _resultobj 
= Py_None
; 
3528 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height) 
3529 static PyObject 
*_wrap_wxLayoutConstraints_height_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3530     PyObject 
* _resultobj
; 
3531     wxIndividualLayoutConstraint 
* _result
; 
3532     wxLayoutConstraints 
* _arg0
; 
3533     PyObject 
* _argo0 
= 0; 
3534     char *_kwnames
[] = { "self", NULL 
}; 
3538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))  
3541         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3542         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3543             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p."); 
3548     wxPy_BEGIN_ALLOW_THREADS
; 
3549         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_height_get(_arg0
); 
3551     wxPy_END_ALLOW_THREADS
; 
3552     if (PyErr_Occurred()) return NULL
; 
3554         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3555         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3558         _resultobj 
= Py_None
; 
3563 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left) 
3564 static PyObject 
*_wrap_wxLayoutConstraints_left_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3565     PyObject 
* _resultobj
; 
3566     wxIndividualLayoutConstraint 
* _result
; 
3567     wxLayoutConstraints 
* _arg0
; 
3568     PyObject 
* _argo0 
= 0; 
3569     char *_kwnames
[] = { "self", NULL 
}; 
3573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))  
3576         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3577         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3578             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p."); 
3583     wxPy_BEGIN_ALLOW_THREADS
; 
3584         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_left_get(_arg0
); 
3586     wxPy_END_ALLOW_THREADS
; 
3587     if (PyErr_Occurred()) return NULL
; 
3589         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3590         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3593         _resultobj 
= Py_None
; 
3598 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right) 
3599 static PyObject 
*_wrap_wxLayoutConstraints_right_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3600     PyObject 
* _resultobj
; 
3601     wxIndividualLayoutConstraint 
* _result
; 
3602     wxLayoutConstraints 
* _arg0
; 
3603     PyObject 
* _argo0 
= 0; 
3604     char *_kwnames
[] = { "self", NULL 
}; 
3608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))  
3611         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3612         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3613             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p."); 
3618     wxPy_BEGIN_ALLOW_THREADS
; 
3619         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_right_get(_arg0
); 
3621     wxPy_END_ALLOW_THREADS
; 
3622     if (PyErr_Occurred()) return NULL
; 
3624         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3625         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3628         _resultobj 
= Py_None
; 
3633 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top) 
3634 static PyObject 
*_wrap_wxLayoutConstraints_top_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3635     PyObject 
* _resultobj
; 
3636     wxIndividualLayoutConstraint 
* _result
; 
3637     wxLayoutConstraints 
* _arg0
; 
3638     PyObject 
* _argo0 
= 0; 
3639     char *_kwnames
[] = { "self", NULL 
}; 
3643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))  
3646         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3647         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3648             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p."); 
3653     wxPy_BEGIN_ALLOW_THREADS
; 
3654         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_top_get(_arg0
); 
3656     wxPy_END_ALLOW_THREADS
; 
3657     if (PyErr_Occurred()) return NULL
; 
3659         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3660         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3663         _resultobj 
= Py_None
; 
3668 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width) 
3669 static PyObject 
*_wrap_wxLayoutConstraints_width_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3670     PyObject 
* _resultobj
; 
3671     wxIndividualLayoutConstraint 
* _result
; 
3672     wxLayoutConstraints 
* _arg0
; 
3673     PyObject 
* _argo0 
= 0; 
3674     char *_kwnames
[] = { "self", NULL 
}; 
3678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))  
3681         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3682         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3683             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p."); 
3688     wxPy_BEGIN_ALLOW_THREADS
; 
3689         _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_width_get(_arg0
); 
3691     wxPy_END_ALLOW_THREADS
; 
3692     if (PyErr_Occurred()) return NULL
; 
3694         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3695         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3698         _resultobj 
= Py_None
; 
3703 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2)) 
3704 static PyObject 
*_wrap_new_wxAcceleratorEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3705     PyObject 
* _resultobj
; 
3706     wxAcceleratorEntry 
* _result
; 
3707     int  _arg0 
= (int ) 0; 
3708     int  _arg1 
= (int ) 0; 
3709     int  _arg2 
= (int ) 0; 
3710     char *_kwnames
[] = { "flags","keyCode","cmd", NULL 
}; 
3714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))  
3717     wxPy_BEGIN_ALLOW_THREADS
; 
3718         _result 
= (wxAcceleratorEntry 
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
); 
3720     wxPy_END_ALLOW_THREADS
; 
3721     if (PyErr_Occurred()) return NULL
; 
3723         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p"); 
3724         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3727         _resultobj 
= Py_None
; 
3732 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj) 
3733 static PyObject 
*_wrap_delete_wxAcceleratorEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3734     PyObject 
* _resultobj
; 
3735     wxAcceleratorEntry 
* _arg0
; 
3736     PyObject 
* _argo0 
= 0; 
3737     char *_kwnames
[] = { "self", NULL 
}; 
3740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))  
3743         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3744         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3745             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p."); 
3750     wxPy_BEGIN_ALLOW_THREADS
; 
3751         delete_wxAcceleratorEntry(_arg0
); 
3753     wxPy_END_ALLOW_THREADS
; 
3754     if (PyErr_Occurred()) return NULL
; 
3755 }    Py_INCREF(Py_None
); 
3756     _resultobj 
= Py_None
; 
3760 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2)) 
3761 static PyObject 
*_wrap_wxAcceleratorEntry_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3762     PyObject 
* _resultobj
; 
3763     wxAcceleratorEntry 
* _arg0
; 
3767     PyObject 
* _argo0 
= 0; 
3768     char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL 
}; 
3771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))  
3774         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3775         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3776             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p."); 
3781     wxPy_BEGIN_ALLOW_THREADS
; 
3782         wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
); 
3784     wxPy_END_ALLOW_THREADS
; 
3785     if (PyErr_Occurred()) return NULL
; 
3786 }    Py_INCREF(Py_None
); 
3787     _resultobj 
= Py_None
; 
3791 #define wxAcceleratorEntry_GetFlags(_swigobj)  (_swigobj->GetFlags()) 
3792 static PyObject 
*_wrap_wxAcceleratorEntry_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3793     PyObject 
* _resultobj
; 
3795     wxAcceleratorEntry 
* _arg0
; 
3796     PyObject 
* _argo0 
= 0; 
3797     char *_kwnames
[] = { "self", NULL 
}; 
3800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))  
3803         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3804         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3805             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p."); 
3810     wxPy_BEGIN_ALLOW_THREADS
; 
3811         _result 
= (int )wxAcceleratorEntry_GetFlags(_arg0
); 
3813     wxPy_END_ALLOW_THREADS
; 
3814     if (PyErr_Occurred()) return NULL
; 
3815 }    _resultobj 
= Py_BuildValue("i",_result
); 
3819 #define wxAcceleratorEntry_GetKeyCode(_swigobj)  (_swigobj->GetKeyCode()) 
3820 static PyObject 
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3821     PyObject 
* _resultobj
; 
3823     wxAcceleratorEntry 
* _arg0
; 
3824     PyObject 
* _argo0 
= 0; 
3825     char *_kwnames
[] = { "self", NULL 
}; 
3828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))  
3831         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3832         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3833             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p."); 
3838     wxPy_BEGIN_ALLOW_THREADS
; 
3839         _result 
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
); 
3841     wxPy_END_ALLOW_THREADS
; 
3842     if (PyErr_Occurred()) return NULL
; 
3843 }    _resultobj 
= Py_BuildValue("i",_result
); 
3847 #define wxAcceleratorEntry_GetCommand(_swigobj)  (_swigobj->GetCommand()) 
3848 static PyObject 
*_wrap_wxAcceleratorEntry_GetCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3849     PyObject 
* _resultobj
; 
3851     wxAcceleratorEntry 
* _arg0
; 
3852     PyObject 
* _argo0 
= 0; 
3853     char *_kwnames
[] = { "self", NULL 
}; 
3856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))  
3859         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3860         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3861             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p."); 
3866     wxPy_BEGIN_ALLOW_THREADS
; 
3867         _result 
= (int )wxAcceleratorEntry_GetCommand(_arg0
); 
3869     wxPy_END_ALLOW_THREADS
; 
3870     if (PyErr_Occurred()) return NULL
; 
3871 }    _resultobj 
= Py_BuildValue("i",_result
); 
3875 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) { 
3876     wxAcceleratorTable 
*src
; 
3878     src 
= (wxAcceleratorTable 
*) ptr
; 
3879     dest 
= (wxObject 
*) src
; 
3880     return (void *) dest
; 
3883 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1)) 
3884 static PyObject 
*_wrap_new_wxAcceleratorTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3885     PyObject 
* _resultobj
; 
3886     wxAcceleratorTable 
* _result
; 
3888     wxAcceleratorEntry 
* _arg1
; 
3889     PyObject 
* _obj1 
= 0; 
3890     char *_kwnames
[] = { "choices", NULL 
}; 
3894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))  
3898     _arg1 
= wxAcceleratorEntry_LIST_helper(_obj1
); 
3899     if (_arg1 
== NULL
) { 
3905         _arg0 
= PyList_Size(_obj1
); 
3912     wxPy_BEGIN_ALLOW_THREADS
; 
3913         _result 
= (wxAcceleratorTable 
*)new_wxAcceleratorTable(_arg0
,_arg1
); 
3915     wxPy_END_ALLOW_THREADS
; 
3916     if (PyErr_Occurred()) return NULL
; 
3918         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p"); 
3919         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3922         _resultobj 
= Py_None
; 
3930 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj) 
3931 static PyObject 
*_wrap_delete_wxAcceleratorTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3932     PyObject 
* _resultobj
; 
3933     wxAcceleratorTable 
* _arg0
; 
3934     PyObject 
* _argo0 
= 0; 
3935     char *_kwnames
[] = { "self", NULL 
}; 
3938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))  
3941         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3942         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) { 
3943             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p."); 
3948     wxPy_BEGIN_ALLOW_THREADS
; 
3949         delete_wxAcceleratorTable(_arg0
); 
3951     wxPy_END_ALLOW_THREADS
; 
3952     if (PyErr_Occurred()) return NULL
; 
3953 }    Py_INCREF(Py_None
); 
3954     _resultobj 
= Py_None
; 
3958 static void *SwigwxBusyInfoTowxObject(void *ptr
) { 
3961     src 
= (wxBusyInfo 
*) ptr
; 
3962     dest 
= (wxObject 
*) src
; 
3963     return (void *) dest
; 
3966 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0)) 
3967 static PyObject 
*_wrap_new_wxBusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3968     PyObject 
* _resultobj
; 
3969     wxBusyInfo 
* _result
; 
3971     PyObject 
* _obj0 
= 0; 
3972     char *_kwnames
[] = { "message", NULL 
}; 
3976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))  
3979 #if PYTHON_API_VERSION >= 1009 
3980     char* tmpPtr
; int tmpSize
; 
3981     if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) { 
3982         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
3985     if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1) 
3987     _arg0 
= new wxString(tmpPtr
, tmpSize
); 
3989     if (!PyString_Check(_obj0
)) { 
3990         PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
); 
3993     _arg0 
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
)); 
3997     wxPy_BEGIN_ALLOW_THREADS
; 
3998         _result 
= (wxBusyInfo 
*)new_wxBusyInfo(*_arg0
); 
4000     wxPy_END_ALLOW_THREADS
; 
4001     if (PyErr_Occurred()) return NULL
; 
4003         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p"); 
4004         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4007         _resultobj 
= Py_None
; 
4016 #define delete_wxBusyInfo(_swigobj) (delete _swigobj) 
4017 static PyObject 
*_wrap_delete_wxBusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4018     PyObject 
* _resultobj
; 
4020     PyObject 
* _argo0 
= 0; 
4021     char *_kwnames
[] = { "self", NULL 
}; 
4024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))  
4027         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4028         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) { 
4029             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p."); 
4034     wxPy_BEGIN_ALLOW_THREADS
; 
4035         delete_wxBusyInfo(_arg0
); 
4037     wxPy_END_ALLOW_THREADS
; 
4038     if (PyErr_Occurred()) return NULL
; 
4039 }    Py_INCREF(Py_None
); 
4040     _resultobj 
= Py_None
; 
4044 static PyMethodDef misccMethods
[] = { 
4045          { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4046          { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4047          { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4048          { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4049          { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4050          { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4051          { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4052          { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4053          { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4054          { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4055          { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4056          { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4057          { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4058          { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4059          { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4060          { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4061          { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4062          { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4063          { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4064          { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4065          { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4066          { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4067          { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4068          { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4069          { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4070          { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4071          { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4072          { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4073          { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4074          { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4075          { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4076          { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4077          { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4078          { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4079          { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4080          { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4081          { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4082          { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4083          { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4084          { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4085          { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4086          { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4087          { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4088          { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4089          { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4090          { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4091          { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4092          { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4093          { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4094          { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4095          { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4096          { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4097          { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4098          { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4099          { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4100          { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4101          { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4102          { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4103          { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4104          { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4105          { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4106          { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4107          { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4108          { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4109          { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4110          { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4111          { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4112          { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4113          { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4114          { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4115          { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4116          { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4117          { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4118          { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4119          { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4120          { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4121          { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4122          { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4123          { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4124          { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4125          { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4126          { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4127          { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4128          { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4129          { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4130          { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4131          { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4132          { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4133          { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4134          { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4135          { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4136          { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4137          { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4138          { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4139          { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4140          { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4141          { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4142          { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4143          { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4144          { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4145          { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4146          { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4147          { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4148          { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4149          { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4150          { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4151          { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4152          { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4153          { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4154          { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4155          { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4156          { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4157          { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4158          { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4159          { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4160          { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4161          { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4162          { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4163          { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4164          { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4165          { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4166          { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4167          { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4168          { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4169          { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4170          { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4171          { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4172          { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4173          { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4174          { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4175          { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4176          { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4177          { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4178          { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4179          { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4186  * This table is used by the pointer type-checker 
4188 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
4189     { "_signed_long","_long",0}, 
4190     { "_wxPrintQuality","_wxCoord",0}, 
4191     { "_wxPrintQuality","_int",0}, 
4192     { "_wxPrintQuality","_signed_int",0}, 
4193     { "_wxPrintQuality","_unsigned_int",0}, 
4194     { "_wxPrintQuality","_wxWindowID",0}, 
4195     { "_wxPrintQuality","_uint",0}, 
4196     { "_wxPrintQuality","_EBool",0}, 
4197     { "_wxPrintQuality","_size_t",0}, 
4198     { "_wxPrintQuality","_time_t",0}, 
4199     { "_byte","_unsigned_char",0}, 
4200     { "_long","_unsigned_long",0}, 
4201     { "_long","_signed_long",0}, 
4202     { "_class_wxObject","_class_wxBusyInfo",SwigwxBusyInfoTowxObject
}, 
4203     { "_class_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
}, 
4204     { "_class_wxObject","_class_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
}, 
4205     { "_class_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
}, 
4206     { "_class_wxObject","_class_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
}, 
4207     { "_class_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
}, 
4208     { "_class_wxObject","_class_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
}, 
4209     { "_class_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
}, 
4210     { "_size_t","_wxCoord",0}, 
4211     { "_size_t","_wxPrintQuality",0}, 
4212     { "_size_t","_time_t",0}, 
4213     { "_size_t","_unsigned_int",0}, 
4214     { "_size_t","_int",0}, 
4215     { "_size_t","_wxWindowID",0}, 
4216     { "_size_t","_uint",0}, 
4217     { "_uint","_wxCoord",0}, 
4218     { "_uint","_wxPrintQuality",0}, 
4219     { "_uint","_time_t",0}, 
4220     { "_uint","_size_t",0}, 
4221     { "_uint","_unsigned_int",0}, 
4222     { "_uint","_int",0}, 
4223     { "_uint","_wxWindowID",0}, 
4224     { "_wxChar","_char",0}, 
4225     { "_char","_wxChar",0}, 
4226     { "_EBool","_wxCoord",0}, 
4227     { "_EBool","_wxPrintQuality",0}, 
4228     { "_EBool","_signed_int",0}, 
4229     { "_EBool","_int",0}, 
4230     { "_EBool","_wxWindowID",0}, 
4231     { "_unsigned_long","_long",0}, 
4232     { "_signed_int","_wxCoord",0}, 
4233     { "_signed_int","_wxPrintQuality",0}, 
4234     { "_signed_int","_EBool",0}, 
4235     { "_signed_int","_wxWindowID",0}, 
4236     { "_signed_int","_int",0}, 
4237     { "_WXTYPE","_short",0}, 
4238     { "_WXTYPE","_signed_short",0}, 
4239     { "_WXTYPE","_unsigned_short",0}, 
4240     { "_unsigned_short","_WXTYPE",0}, 
4241     { "_unsigned_short","_short",0}, 
4242     { "_wxObject","_class_wxBusyInfo",SwigwxBusyInfoTowxObject
}, 
4243     { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
}, 
4244     { "_wxObject","_class_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
}, 
4245     { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
}, 
4246     { "_wxObject","_class_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
}, 
4247     { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
}, 
4248     { "_wxObject","_class_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
}, 
4249     { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
}, 
4250     { "_signed_short","_WXTYPE",0}, 
4251     { "_signed_short","_short",0}, 
4252     { "_unsigned_char","_byte",0}, 
4253     { "_unsigned_int","_wxCoord",0}, 
4254     { "_unsigned_int","_wxPrintQuality",0}, 
4255     { "_unsigned_int","_time_t",0}, 
4256     { "_unsigned_int","_size_t",0}, 
4257     { "_unsigned_int","_uint",0}, 
4258     { "_unsigned_int","_wxWindowID",0}, 
4259     { "_unsigned_int","_int",0}, 
4260     { "_short","_WXTYPE",0}, 
4261     { "_short","_unsigned_short",0}, 
4262     { "_short","_signed_short",0}, 
4263     { "_wxWindowID","_wxCoord",0}, 
4264     { "_wxWindowID","_wxPrintQuality",0}, 
4265     { "_wxWindowID","_time_t",0}, 
4266     { "_wxWindowID","_size_t",0}, 
4267     { "_wxWindowID","_EBool",0}, 
4268     { "_wxWindowID","_uint",0}, 
4269     { "_wxWindowID","_int",0}, 
4270     { "_wxWindowID","_signed_int",0}, 
4271     { "_wxWindowID","_unsigned_int",0}, 
4272     { "_int","_wxCoord",0}, 
4273     { "_int","_wxPrintQuality",0}, 
4274     { "_int","_time_t",0}, 
4275     { "_int","_size_t",0}, 
4276     { "_int","_EBool",0}, 
4277     { "_int","_uint",0}, 
4278     { "_int","_wxWindowID",0}, 
4279     { "_int","_unsigned_int",0}, 
4280     { "_int","_signed_int",0}, 
4281     { "_time_t","_wxCoord",0}, 
4282     { "_time_t","_wxPrintQuality",0}, 
4283     { "_time_t","_unsigned_int",0}, 
4284     { "_time_t","_int",0}, 
4285     { "_time_t","_wxWindowID",0}, 
4286     { "_time_t","_uint",0}, 
4287     { "_time_t","_size_t",0}, 
4288     { "_wxCoord","_int",0}, 
4289     { "_wxCoord","_signed_int",0}, 
4290     { "_wxCoord","_unsigned_int",0}, 
4291     { "_wxCoord","_wxWindowID",0}, 
4292     { "_wxCoord","_uint",0}, 
4293     { "_wxCoord","_EBool",0}, 
4294     { "_wxCoord","_size_t",0}, 
4295     { "_wxCoord","_time_t",0}, 
4296     { "_wxCoord","_wxPrintQuality",0}, 
4299 static PyObject 
*SWIG_globals
; 
4303 SWIGEXPORT(void) initmiscc() { 
4305          SWIG_globals 
= SWIG_newvarlink(); 
4306          m 
= Py_InitModule("miscc", misccMethods
); 
4307          d 
= PyModule_GetDict(m
); 
4308          PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
)); 
4309          PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
)); 
4310          PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
)); 
4311          PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
)); 
4312          PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
)); 
4313          PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
)); 
4314          PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
)); 
4315          PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
)); 
4316          PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
)); 
4317          PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
)); 
4318          PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
)); 
4319          PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
)); 
4320          PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
)); 
4321          PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
)); 
4322          PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
)); 
4323          PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
)); 
4324          PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
)); 
4325          PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
)); 
4326          PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
)); 
4327          PyDict_SetItemString(d
,"cvar", SWIG_globals
); 
4328          SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
); 
4331    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
4332         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);