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     // Put some wx default wxChar* values into wxStrings. 
  91     static const wxString 
wxPyEmptyString(wxT("")); 
  93     PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) { 
 100         dest 
= reg1
.GetBox(); 
 102         if (dest 
!= wxRect(0,0,0,0)) { 
 103             wxPyBeginBlockThreads(); 
 104             wxRect
* newRect 
= new wxRect(dest
); 
 105             obj 
= wxPyConstructObject((void*)newRect
, "wxRect"); 
 106             PyObject
* one 
= PyInt_FromLong(1); 
 107             PyObject_SetAttrString(obj
, "thisown", one
); 
 109             wxPyEndBlockThreads(); 
 116     wxString 
wxGetResource(const wxString
& section
, const wxString
& entry
, 
 117                            const wxString
& file 
= wxPyEmptyString
) { 
 119         wxGetResource(section
, entry
, &retval
, file
); 
 123 #if 0  // we want to use the definition from the header, not the 
 124        // one SWIG will generate. 
 125 extern wxAcceleratorTable  wxNullAcceleratorTable
;  
 131 static PyObject 
*_wrap_wxIntersectRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 132     PyObject 
* _resultobj
; 
 137     PyObject 
* _obj0 
= 0; 
 139     PyObject 
* _obj1 
= 0; 
 140     char *_kwnames
[] = { "r1","r2", NULL 
}; 
 143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))  
 147     if (! wxRect_helper(_obj0
, &_arg0
)) 
 152     if (! wxRect_helper(_obj1
, &_arg1
)) 
 156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 157     _result 
= (PyObject 
*)wxIntersectRect(_arg0
,_arg1
); 
 159     wxPyEndAllowThreads(__tstate
); 
 160     if (PyErr_Occurred()) return NULL
; 
 162   _resultobj 
= _result
; 
 167 static PyObject 
*_wrap_wxNewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 168     PyObject 
* _resultobj
; 
 170     char *_kwnames
[] = {  NULL 
}; 
 173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))  
 176     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 177     _result 
= (long )wxNewId(); 
 179     wxPyEndAllowThreads(__tstate
); 
 180     if (PyErr_Occurred()) return NULL
; 
 181 }    _resultobj 
= Py_BuildValue("l",_result
); 
 185 static PyObject 
*_wrap_wxRegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 186     PyObject 
* _resultobj
; 
 188     char *_kwnames
[] = { "id", NULL 
}; 
 191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))  
 194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 197     wxPyEndAllowThreads(__tstate
); 
 198     if (PyErr_Occurred()) return NULL
; 
 199 }    Py_INCREF(Py_None
); 
 200     _resultobj 
= Py_None
; 
 204 static PyObject 
*_wrap_NewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 205     PyObject 
* _resultobj
; 
 207     char *_kwnames
[] = {  NULL 
}; 
 210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))  
 213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 214     _result 
= (long )wxNewId(); 
 216     wxPyEndAllowThreads(__tstate
); 
 217     if (PyErr_Occurred()) return NULL
; 
 218 }    _resultobj 
= Py_BuildValue("l",_result
); 
 222 static PyObject 
*_wrap_RegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 223     PyObject 
* _resultobj
; 
 225     char *_kwnames
[] = { "id", NULL 
}; 
 228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))  
 231     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 234     wxPyEndAllowThreads(__tstate
); 
 235     if (PyErr_Occurred()) return NULL
; 
 236 }    Py_INCREF(Py_None
); 
 237     _resultobj 
= Py_None
; 
 241 static PyObject 
*_wrap_wxGetCurrentId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 242     PyObject 
* _resultobj
; 
 244     char *_kwnames
[] = {  NULL 
}; 
 247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))  
 250     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 251     _result 
= (long )wxGetCurrentId(); 
 253     wxPyEndAllowThreads(__tstate
); 
 254     if (PyErr_Occurred()) return NULL
; 
 255 }    _resultobj 
= Py_BuildValue("l",_result
); 
 259 static PyObject 
*_wrap_wxBell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 260     PyObject 
* _resultobj
; 
 261     char *_kwnames
[] = {  NULL 
}; 
 264     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))  
 267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 270     wxPyEndAllowThreads(__tstate
); 
 271     if (PyErr_Occurred()) return NULL
; 
 272 }    Py_INCREF(Py_None
); 
 273     _resultobj 
= Py_None
; 
 277 static PyObject 
*_wrap_wxEndBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 278     PyObject 
* _resultobj
; 
 279     char *_kwnames
[] = {  NULL 
}; 
 282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))  
 285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 288     wxPyEndAllowThreads(__tstate
); 
 289     if (PyErr_Occurred()) return NULL
; 
 290 }    Py_INCREF(Py_None
); 
 291     _resultobj 
= Py_None
; 
 295 static PyObject 
*_wrap_wxGetElapsedTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 296     PyObject 
* _resultobj
; 
 298     bool  _arg0 
= (bool ) TRUE
; 
 299     int tempbool0 
= (int) TRUE
; 
 300     char *_kwnames
[] = { "resetTimer", NULL 
}; 
 303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))  
 305     _arg0 
= (bool ) tempbool0
; 
 307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 308     _result 
= (long )wxGetElapsedTime(_arg0
); 
 310     wxPyEndAllowThreads(__tstate
); 
 311     if (PyErr_Occurred()) return NULL
; 
 312 }    _resultobj 
= Py_BuildValue("l",_result
); 
 316 static PyObject 
*_wrap_wxGetMousePosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 317     PyObject 
* _resultobj
; 
 322     char *_kwnames
[] = {  NULL 
}; 
 331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))  
 334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 335     wxGetMousePosition(_arg0
,_arg1
); 
 337     wxPyEndAllowThreads(__tstate
); 
 338     if (PyErr_Occurred()) return NULL
; 
 339 }    Py_INCREF(Py_None
); 
 340     _resultobj 
= Py_None
; 
 343     o 
= PyInt_FromLong((long) (*_arg0
)); 
 344     _resultobj 
= t_output_helper(_resultobj
, o
); 
 348     o 
= PyInt_FromLong((long) (*_arg1
)); 
 349     _resultobj 
= t_output_helper(_resultobj
, o
); 
 354 static PyObject 
*_wrap_wxIsBusy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 355     PyObject 
* _resultobj
; 
 357     char *_kwnames
[] = {  NULL 
}; 
 360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))  
 363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 364     _result 
= (bool )wxIsBusy(); 
 366     wxPyEndAllowThreads(__tstate
); 
 367     if (PyErr_Occurred()) return NULL
; 
 368 }    _resultobj 
= Py_BuildValue("i",_result
); 
 372 static PyObject 
*_wrap_wxNow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 373     PyObject 
* _resultobj
; 
 375     char *_kwnames
[] = {  NULL 
}; 
 378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))  
 381     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 382     _result 
= new wxString (wxNow()); 
 384     wxPyEndAllowThreads(__tstate
); 
 385     if (PyErr_Occurred()) return NULL
; 
 388     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 390     _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 
*) &wxPyEmptyString
; 
 403     PyObject 
* _obj0 
= 0; 
 404     char *_kwnames
[] = { "command", NULL 
}; 
 407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))  
 411     _arg0 
= wxString_in_helper(_obj0
); 
 416     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 417     _result 
= (bool )wxShell(*_arg0
); 
 419     wxPyEndAllowThreads(__tstate
); 
 420     if (PyErr_Occurred()) return NULL
; 
 421 }    _resultobj 
= Py_BuildValue("i",_result
); 
 429 static PyObject 
*_wrap_wxStartTimer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 430     PyObject 
* _resultobj
; 
 431     char *_kwnames
[] = {  NULL 
}; 
 434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))  
 437     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 440     wxPyEndAllowThreads(__tstate
); 
 441     if (PyErr_Occurred()) return NULL
; 
 442 }    Py_INCREF(Py_None
); 
 443     _resultobj 
= Py_None
; 
 447 static PyObject 
*_wrap_wxGetOsVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 448     PyObject 
* _resultobj
; 
 454     char *_kwnames
[] = {  NULL 
}; 
 463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))  
 466     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 467     _result 
= (int )wxGetOsVersion(_arg0
,_arg1
); 
 469     wxPyEndAllowThreads(__tstate
); 
 470     if (PyErr_Occurred()) return NULL
; 
 471 }    _resultobj 
= Py_BuildValue("i",_result
); 
 474     o 
= PyInt_FromLong((long) (*_arg0
)); 
 475     _resultobj 
= t_output_helper(_resultobj
, o
); 
 479     o 
= PyInt_FromLong((long) (*_arg1
)); 
 480     _resultobj 
= t_output_helper(_resultobj
, o
); 
 485 static PyObject 
*_wrap_wxGetOsDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 486     PyObject 
* _resultobj
; 
 488     char *_kwnames
[] = {  NULL 
}; 
 491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))  
 494     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 495     _result 
= new wxString (wxGetOsDescription()); 
 497     wxPyEndAllowThreads(__tstate
); 
 498     if (PyErr_Occurred()) return NULL
; 
 501     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 503     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 512 static PyObject 
*_wrap_wxSleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 513     PyObject 
* _resultobj
; 
 515     char *_kwnames
[] = { "secs", NULL 
}; 
 518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))  
 521     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 524     wxPyEndAllowThreads(__tstate
); 
 525     if (PyErr_Occurred()) return NULL
; 
 526 }    Py_INCREF(Py_None
); 
 527     _resultobj 
= Py_None
; 
 531 static PyObject 
*_wrap_wxUsleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 532     PyObject 
* _resultobj
; 
 534     char *_kwnames
[] = { "milliseconds", NULL 
}; 
 537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))  
 540     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 543     wxPyEndAllowThreads(__tstate
); 
 544     if (PyErr_Occurred()) return NULL
; 
 545 }    Py_INCREF(Py_None
); 
 546     _resultobj 
= Py_None
; 
 550 static PyObject 
*_wrap_wxYield(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 551     PyObject 
* _resultobj
; 
 553     char *_kwnames
[] = {  NULL 
}; 
 556     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))  
 559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 560     _result 
= (bool )wxYield(); 
 562     wxPyEndAllowThreads(__tstate
); 
 563     if (PyErr_Occurred()) return NULL
; 
 564 }    _resultobj 
= Py_BuildValue("i",_result
); 
 568 static PyObject 
*_wrap_wxYieldIfNeeded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 569     PyObject 
* _resultobj
; 
 571     char *_kwnames
[] = {  NULL 
}; 
 574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))  
 577     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 578     _result 
= (bool )wxYieldIfNeeded(); 
 580     wxPyEndAllowThreads(__tstate
); 
 581     if (PyErr_Occurred()) return NULL
; 
 582 }    _resultobj 
= Py_BuildValue("i",_result
); 
 586 static PyObject 
*_wrap_wxEnableTopLevelWindows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 587     PyObject 
* _resultobj
; 
 590     char *_kwnames
[] = { "enable", NULL 
}; 
 593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))  
 595     _arg0 
= (bool ) tempbool0
; 
 597     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 598     wxEnableTopLevelWindows(_arg0
); 
 600     wxPyEndAllowThreads(__tstate
); 
 601     if (PyErr_Occurred()) return NULL
; 
 602 }    Py_INCREF(Py_None
); 
 603     _resultobj 
= Py_None
; 
 607 static PyObject 
*_wrap_wxGetResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 608     PyObject 
* _resultobj
; 
 612     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
 613     PyObject 
* _obj0 
= 0; 
 614     PyObject 
* _obj1 
= 0; 
 615     PyObject 
* _obj2 
= 0; 
 616     char *_kwnames
[] = { "section","entry","file", NULL 
}; 
 619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))  
 622     _arg0 
= wxString_in_helper(_obj0
); 
 627     _arg1 
= wxString_in_helper(_obj1
); 
 633     _arg2 
= wxString_in_helper(_obj2
); 
 638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 639     _result 
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
)); 
 641     wxPyEndAllowThreads(__tstate
); 
 642     if (PyErr_Occurred()) return NULL
; 
 645     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 647     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 668 static PyObject 
*_wrap_wxStripMenuCodes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 669     PyObject 
* _resultobj
; 
 672     PyObject 
* _obj0 
= 0; 
 673     char *_kwnames
[] = { "in", NULL 
}; 
 676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))  
 679     _arg0 
= wxString_in_helper(_obj0
); 
 684     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 685     _result 
= new wxString (wxStripMenuCodes(*_arg0
)); 
 687     wxPyEndAllowThreads(__tstate
); 
 688     if (PyErr_Occurred()) return NULL
; 
 691     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 693     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 706 static PyObject 
*_wrap_wxGetEmailAddress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 707     PyObject 
* _resultobj
; 
 709     char *_kwnames
[] = {  NULL 
}; 
 712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))  
 715     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 716     _result 
= new wxString (wxGetEmailAddress()); 
 718     wxPyEndAllowThreads(__tstate
); 
 719     if (PyErr_Occurred()) return NULL
; 
 722     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 724     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 733 static PyObject 
*_wrap_wxGetHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 734     PyObject 
* _resultobj
; 
 736     char *_kwnames
[] = {  NULL 
}; 
 739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))  
 742     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 743     _result 
= new wxString (wxGetHostName()); 
 745     wxPyEndAllowThreads(__tstate
); 
 746     if (PyErr_Occurred()) return NULL
; 
 749     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 751     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 760 static PyObject 
*_wrap_wxGetFullHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 761     PyObject 
* _resultobj
; 
 763     char *_kwnames
[] = {  NULL 
}; 
 766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))  
 769     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 770     _result 
= new wxString (wxGetFullHostName()); 
 772     wxPyEndAllowThreads(__tstate
); 
 773     if (PyErr_Occurred()) return NULL
; 
 776     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 778     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 787 static PyObject 
*_wrap_wxGetUserId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 788     PyObject 
* _resultobj
; 
 790     char *_kwnames
[] = {  NULL 
}; 
 793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))  
 796     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 797     _result 
= new wxString (wxGetUserId()); 
 799     wxPyEndAllowThreads(__tstate
); 
 800     if (PyErr_Occurred()) return NULL
; 
 803     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 805     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 814 static PyObject 
*_wrap_wxGetUserName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 815     PyObject 
* _resultobj
; 
 817     char *_kwnames
[] = {  NULL 
}; 
 820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))  
 823     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 824     _result 
= new wxString (wxGetUserName()); 
 826     wxPyEndAllowThreads(__tstate
); 
 827     if (PyErr_Occurred()) return NULL
; 
 830     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 832     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 841 static PyObject 
*_wrap_wxGetHomeDir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 842     PyObject 
* _resultobj
; 
 844     char *_kwnames
[] = {  NULL 
}; 
 847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))  
 850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 851     _result 
= new wxString (wxGetHomeDir()); 
 853     wxPyEndAllowThreads(__tstate
); 
 854     if (PyErr_Occurred()) return NULL
; 
 857     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 859     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 868 static PyObject 
*_wrap_wxGetUserHome(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 869     PyObject 
* _resultobj
; 
 871     wxString 
* _arg0 
= (wxString 
*) &wxPyEmptyString
; 
 872     PyObject 
* _obj0 
= 0; 
 873     char *_kwnames
[] = { "user", NULL 
}; 
 876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))  
 880     _arg0 
= wxString_in_helper(_obj0
); 
 885     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 886     _result 
= new wxString (wxGetUserHome(*_arg0
)); 
 888     wxPyEndAllowThreads(__tstate
); 
 889     if (PyErr_Occurred()) return NULL
; 
 892     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 894     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 907 static PyObject 
*_wrap_wxGetAccelFromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 908     PyObject 
* _resultobj
; 
 909     wxAcceleratorEntry 
* _result
; 
 911     PyObject 
* _obj0 
= 0; 
 912     char *_kwnames
[] = { "label", NULL 
}; 
 916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))  
 919     _arg0 
= wxString_in_helper(_obj0
); 
 924     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 925     _result 
= (wxAcceleratorEntry 
*)wxGetAccelFromString(*_arg0
); 
 927     wxPyEndAllowThreads(__tstate
); 
 928     if (PyErr_Occurred()) return NULL
; 
 930         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p"); 
 931         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 934         _resultobj 
= Py_None
; 
 943 static int _wrap_wxNullAcceleratorTable_set(PyObject 
*val
) { 
 945     PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only."); 
 949 static PyObject 
*_wrap_wxNullAcceleratorTable_get() { 
 953     SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p"); 
 954     pyobj 
= PyString_FromString(ptemp
); 
 958 static wxString  
wxObject_GetClassName(wxObject 
*self
) { 
 959             return self
->GetClassInfo()->GetClassName(); 
 961 static PyObject 
*_wrap_wxObject_GetClassName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 962     PyObject 
* _resultobj
; 
 965     PyObject 
* _argo0 
= 0; 
 966     char *_kwnames
[] = { "self", NULL 
}; 
 969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))  
 972         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 973         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) { 
 974             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p."); 
 979     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 980     _result 
= new wxString (wxObject_GetClassName(_arg0
)); 
 982     wxPyEndAllowThreads(__tstate
); 
 983     if (PyErr_Occurred()) return NULL
; 
 986     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 988     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 997 static void  wxObject_Destroy(wxObject 
*self
) { 
1000 static PyObject 
*_wrap_wxObject_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1001     PyObject 
* _resultobj
; 
1003     PyObject 
* _argo0 
= 0; 
1004     char *_kwnames
[] = { "self", NULL 
}; 
1007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))  
1010         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1011         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) { 
1012             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p."); 
1017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1018     wxObject_Destroy(_arg0
); 
1020     wxPyEndAllowThreads(__tstate
); 
1021     if (PyErr_Occurred()) return NULL
; 
1022 }    Py_INCREF(Py_None
); 
1023     _resultobj 
= Py_None
; 
1027 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
1028 static PyObject 
*_wrap_wxSize_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1029     PyObject 
* _resultobj
; 
1034     PyObject 
* _obj0 
= 0; 
1035     char *_kwnames
[] = { "self","x", NULL 
}; 
1038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))  
1042     if (! wxSize_helper(_obj0
, &_arg0
)) 
1046     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1047     _result 
= (long )wxSize_x_set(_arg0
,_arg1
); 
1049     wxPyEndAllowThreads(__tstate
); 
1050     if (PyErr_Occurred()) return NULL
; 
1051 }    _resultobj 
= Py_BuildValue("l",_result
); 
1055 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x) 
1056 static PyObject 
*_wrap_wxSize_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1057     PyObject 
* _resultobj
; 
1061     PyObject 
* _obj0 
= 0; 
1062     char *_kwnames
[] = { "self", NULL 
}; 
1065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))  
1069     if (! wxSize_helper(_obj0
, &_arg0
)) 
1073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1074     _result 
= (long )wxSize_x_get(_arg0
); 
1076     wxPyEndAllowThreads(__tstate
); 
1077     if (PyErr_Occurred()) return NULL
; 
1078 }    _resultobj 
= Py_BuildValue("l",_result
); 
1082 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
1083 static PyObject 
*_wrap_wxSize_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1084     PyObject 
* _resultobj
; 
1089     PyObject 
* _obj0 
= 0; 
1090     char *_kwnames
[] = { "self","y", NULL 
}; 
1093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))  
1097     if (! wxSize_helper(_obj0
, &_arg0
)) 
1101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1102     _result 
= (long )wxSize_y_set(_arg0
,_arg1
); 
1104     wxPyEndAllowThreads(__tstate
); 
1105     if (PyErr_Occurred()) return NULL
; 
1106 }    _resultobj 
= Py_BuildValue("l",_result
); 
1110 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y) 
1111 static PyObject 
*_wrap_wxSize_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1112     PyObject 
* _resultobj
; 
1116     PyObject 
* _obj0 
= 0; 
1117     char *_kwnames
[] = { "self", NULL 
}; 
1120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))  
1124     if (! wxSize_helper(_obj0
, &_arg0
)) 
1128     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1129     _result 
= (long )wxSize_y_get(_arg0
); 
1131     wxPyEndAllowThreads(__tstate
); 
1132     if (PyErr_Occurred()) return NULL
; 
1133 }    _resultobj 
= Py_BuildValue("l",_result
); 
1137 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1)) 
1138 static PyObject 
*_wrap_new_wxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1139     PyObject 
* _resultobj
; 
1141     long  _arg0 
= (long ) 0; 
1142     long  _arg1 
= (long ) 0; 
1143     char *_kwnames
[] = { "w","h", NULL 
}; 
1147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))  
1150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1151     _result 
= (wxSize 
*)new_wxSize(_arg0
,_arg1
); 
1153     wxPyEndAllowThreads(__tstate
); 
1154     if (PyErr_Occurred()) return NULL
; 
1156         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p"); 
1157         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1160         _resultobj 
= Py_None
; 
1165 #define delete_wxSize(_swigobj) (delete _swigobj) 
1166 static PyObject 
*_wrap_delete_wxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1167     PyObject 
* _resultobj
; 
1170     PyObject 
* _obj0 
= 0; 
1171     char *_kwnames
[] = { "self", NULL 
}; 
1174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))  
1178     if (! wxSize_helper(_obj0
, &_arg0
)) 
1182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1183     delete_wxSize(_arg0
); 
1185     wxPyEndAllowThreads(__tstate
); 
1186     if (PyErr_Occurred()) return NULL
; 
1187 }    Py_INCREF(Py_None
); 
1188     _resultobj 
= Py_None
; 
1192 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Set(_swigarg0,_swigarg1)) 
1193 static PyObject 
*_wrap_wxSize_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1194     PyObject 
* _resultobj
; 
1199     PyObject 
* _obj0 
= 0; 
1200     char *_kwnames
[] = { "self","w","h", NULL 
}; 
1203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
1207     if (! wxSize_helper(_obj0
, &_arg0
)) 
1211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1212     wxSize_Set(_arg0
,_arg1
,_arg2
); 
1214     wxPyEndAllowThreads(__tstate
); 
1215     if (PyErr_Occurred()) return NULL
; 
1216 }    Py_INCREF(Py_None
); 
1217     _resultobj 
= Py_None
; 
1221 #define wxSize_GetX(_swigobj)  (_swigobj->GetX()) 
1222 static PyObject 
*_wrap_wxSize_GetX(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_GetX",_kwnames
,&_obj0
))  
1235     if (! wxSize_helper(_obj0
, &_arg0
)) 
1239     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1240     _result 
= (long )wxSize_GetX(_arg0
); 
1242     wxPyEndAllowThreads(__tstate
); 
1243     if (PyErr_Occurred()) return NULL
; 
1244 }    _resultobj 
= Py_BuildValue("l",_result
); 
1248 #define wxSize_GetY(_swigobj)  (_swigobj->GetY()) 
1249 static PyObject 
*_wrap_wxSize_GetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1250     PyObject 
* _resultobj
; 
1254     PyObject 
* _obj0 
= 0; 
1255     char *_kwnames
[] = { "self", NULL 
}; 
1258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))  
1262     if (! wxSize_helper(_obj0
, &_arg0
)) 
1266     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1267     _result 
= (long )wxSize_GetY(_arg0
); 
1269     wxPyEndAllowThreads(__tstate
); 
1270     if (PyErr_Occurred()) return NULL
; 
1271 }    _resultobj 
= Py_BuildValue("l",_result
); 
1275 #define wxSize_GetWidth(_swigobj)  (_swigobj->GetWidth()) 
1276 static PyObject 
*_wrap_wxSize_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1277     PyObject 
* _resultobj
; 
1281     PyObject 
* _obj0 
= 0; 
1282     char *_kwnames
[] = { "self", NULL 
}; 
1285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))  
1289     if (! wxSize_helper(_obj0
, &_arg0
)) 
1293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1294     _result 
= (long )wxSize_GetWidth(_arg0
); 
1296     wxPyEndAllowThreads(__tstate
); 
1297     if (PyErr_Occurred()) return NULL
; 
1298 }    _resultobj 
= Py_BuildValue("l",_result
); 
1302 #define wxSize_GetHeight(_swigobj)  (_swigobj->GetHeight()) 
1303 static PyObject 
*_wrap_wxSize_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1304     PyObject 
* _resultobj
; 
1308     PyObject 
* _obj0 
= 0; 
1309     char *_kwnames
[] = { "self", NULL 
}; 
1312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))  
1316     if (! wxSize_helper(_obj0
, &_arg0
)) 
1320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1321     _result 
= (long )wxSize_GetHeight(_arg0
); 
1323     wxPyEndAllowThreads(__tstate
); 
1324     if (PyErr_Occurred()) return NULL
; 
1325 }    _resultobj 
= Py_BuildValue("l",_result
); 
1329 #define wxSize_SetWidth(_swigobj,_swigarg0)  (_swigobj->SetWidth(_swigarg0)) 
1330 static PyObject 
*_wrap_wxSize_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1331     PyObject 
* _resultobj
; 
1335     PyObject 
* _obj0 
= 0; 
1336     char *_kwnames
[] = { "self","w", NULL 
}; 
1339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))  
1343     if (! wxSize_helper(_obj0
, &_arg0
)) 
1347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1348     wxSize_SetWidth(_arg0
,_arg1
); 
1350     wxPyEndAllowThreads(__tstate
); 
1351     if (PyErr_Occurred()) return NULL
; 
1352 }    Py_INCREF(Py_None
); 
1353     _resultobj 
= Py_None
; 
1357 #define wxSize_SetHeight(_swigobj,_swigarg0)  (_swigobj->SetHeight(_swigarg0)) 
1358 static PyObject 
*_wrap_wxSize_SetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1359     PyObject 
* _resultobj
; 
1363     PyObject 
* _obj0 
= 0; 
1364     char *_kwnames
[] = { "self","h", NULL 
}; 
1367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))  
1371     if (! wxSize_helper(_obj0
, &_arg0
)) 
1375     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1376     wxSize_SetHeight(_arg0
,_arg1
); 
1378     wxPyEndAllowThreads(__tstate
); 
1379     if (PyErr_Occurred()) return NULL
; 
1380 }    Py_INCREF(Py_None
); 
1381     _resultobj 
= Py_None
; 
1385 static PyObject 
* wxSize_asTuple(wxSize 
*self
) { 
1386             PyObject
* tup 
= PyTuple_New(2); 
1387             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
1388             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
1391 static PyObject 
*_wrap_wxSize_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1392     PyObject 
* _resultobj
; 
1396     PyObject 
* _obj0 
= 0; 
1397     char *_kwnames
[] = { "self", NULL 
}; 
1400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))  
1404     if (! wxSize_helper(_obj0
, &_arg0
)) 
1408     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1409     _result 
= (PyObject 
*)wxSize_asTuple(_arg0
); 
1411     wxPyEndAllowThreads(__tstate
); 
1412     if (PyErr_Occurred()) return NULL
; 
1414   _resultobj 
= _result
; 
1419 static int  wxSize___cmp__(wxSize 
*self
,const wxSize 
* sz
) { 
1421             if (*self 
== *sz
) return 0; 
1424 static PyObject 
*_wrap_wxSize___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1425     PyObject 
* _resultobj
; 
1430     PyObject 
* _obj0 
= 0; 
1432     PyObject 
* _obj1 
= 0; 
1433     char *_kwnames
[] = { "self","sz", NULL 
}; 
1436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))  
1440     if (! wxSize_helper(_obj0
, &_arg0
)) 
1445     if (! wxSize_helper(_obj1
, &_arg1
)) 
1449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1450     _result 
= (int )wxSize___cmp__(_arg0
,_arg1
); 
1452     wxPyEndAllowThreads(__tstate
); 
1453     if (PyErr_Occurred()) return NULL
; 
1454 }    _resultobj 
= Py_BuildValue("i",_result
); 
1458 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
1459 static PyObject 
*_wrap_wxRealPoint_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1460     PyObject 
* _resultobj
; 
1462     wxRealPoint 
* _arg0
; 
1465     PyObject 
* _obj0 
= 0; 
1466     char *_kwnames
[] = { "self","x", NULL 
}; 
1469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))  
1473     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1478     _result 
= (double )wxRealPoint_x_set(_arg0
,_arg1
); 
1480     wxPyEndAllowThreads(__tstate
); 
1481     if (PyErr_Occurred()) return NULL
; 
1482 }    _resultobj 
= Py_BuildValue("d",_result
); 
1486 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x) 
1487 static PyObject 
*_wrap_wxRealPoint_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1488     PyObject 
* _resultobj
; 
1490     wxRealPoint 
* _arg0
; 
1492     PyObject 
* _obj0 
= 0; 
1493     char *_kwnames
[] = { "self", NULL 
}; 
1496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))  
1500     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1504     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1505     _result 
= (double )wxRealPoint_x_get(_arg0
); 
1507     wxPyEndAllowThreads(__tstate
); 
1508     if (PyErr_Occurred()) return NULL
; 
1509 }    _resultobj 
= Py_BuildValue("d",_result
); 
1513 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
1514 static PyObject 
*_wrap_wxRealPoint_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1515     PyObject 
* _resultobj
; 
1517     wxRealPoint 
* _arg0
; 
1520     PyObject 
* _obj0 
= 0; 
1521     char *_kwnames
[] = { "self","y", NULL 
}; 
1524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))  
1528     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1533     _result 
= (double )wxRealPoint_y_set(_arg0
,_arg1
); 
1535     wxPyEndAllowThreads(__tstate
); 
1536     if (PyErr_Occurred()) return NULL
; 
1537 }    _resultobj 
= Py_BuildValue("d",_result
); 
1541 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y) 
1542 static PyObject 
*_wrap_wxRealPoint_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1543     PyObject 
* _resultobj
; 
1545     wxRealPoint 
* _arg0
; 
1547     PyObject 
* _obj0 
= 0; 
1548     char *_kwnames
[] = { "self", NULL 
}; 
1551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))  
1555     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1560     _result 
= (double )wxRealPoint_y_get(_arg0
); 
1562     wxPyEndAllowThreads(__tstate
); 
1563     if (PyErr_Occurred()) return NULL
; 
1564 }    _resultobj 
= Py_BuildValue("d",_result
); 
1568 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1)) 
1569 static PyObject 
*_wrap_new_wxRealPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1570     PyObject 
* _resultobj
; 
1571     wxRealPoint 
* _result
; 
1572     double  _arg0 
= (double ) 0.0; 
1573     double  _arg1 
= (double ) 0.0; 
1574     char *_kwnames
[] = { "x","y", NULL 
}; 
1578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))  
1581     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1582     _result 
= (wxRealPoint 
*)new_wxRealPoint(_arg0
,_arg1
); 
1584     wxPyEndAllowThreads(__tstate
); 
1585     if (PyErr_Occurred()) return NULL
; 
1587         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p"); 
1588         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1591         _resultobj 
= Py_None
; 
1596 #define delete_wxRealPoint(_swigobj) (delete _swigobj) 
1597 static PyObject 
*_wrap_delete_wxRealPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1598     PyObject 
* _resultobj
; 
1599     wxRealPoint 
* _arg0
; 
1601     PyObject 
* _obj0 
= 0; 
1602     char *_kwnames
[] = { "self", NULL 
}; 
1605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))  
1609     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1613     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1614     delete_wxRealPoint(_arg0
); 
1616     wxPyEndAllowThreads(__tstate
); 
1617     if (PyErr_Occurred()) return NULL
; 
1618 }    Py_INCREF(Py_None
); 
1619     _resultobj 
= Py_None
; 
1623 static void  wxRealPoint_Set(wxRealPoint 
*self
,double  x
,double  y
) { 
1627 static PyObject 
*_wrap_wxRealPoint_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1628     PyObject 
* _resultobj
; 
1629     wxRealPoint 
* _arg0
; 
1633     PyObject 
* _obj0 
= 0; 
1634     char *_kwnames
[] = { "self","x","y", NULL 
}; 
1637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
1641     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1645     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1646     wxRealPoint_Set(_arg0
,_arg1
,_arg2
); 
1648     wxPyEndAllowThreads(__tstate
); 
1649     if (PyErr_Occurred()) return NULL
; 
1650 }    Py_INCREF(Py_None
); 
1651     _resultobj 
= Py_None
; 
1655 static PyObject 
* wxRealPoint_asTuple(wxRealPoint 
*self
) { 
1656             PyObject
* tup 
= PyTuple_New(2); 
1657             PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
)); 
1658             PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
)); 
1661 static PyObject 
*_wrap_wxRealPoint_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1662     PyObject 
* _resultobj
; 
1664     wxRealPoint 
* _arg0
; 
1666     PyObject 
* _obj0 
= 0; 
1667     char *_kwnames
[] = { "self", NULL 
}; 
1670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))  
1674     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1679     _result 
= (PyObject 
*)wxRealPoint_asTuple(_arg0
); 
1681     wxPyEndAllowThreads(__tstate
); 
1682     if (PyErr_Occurred()) return NULL
; 
1684   _resultobj 
= _result
; 
1689 static wxRealPoint  
wxRealPoint___add__(wxRealPoint 
*self
,const wxRealPoint 
* p
) { 
1690             if (! p
) return *self
; 
1693 static PyObject 
*_wrap_wxRealPoint___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1694     PyObject 
* _resultobj
; 
1695     wxRealPoint 
* _result
; 
1696     wxRealPoint 
* _arg0
; 
1697     wxRealPoint 
* _arg1
; 
1699     PyObject 
* _obj0 
= 0; 
1701     PyObject 
* _obj1 
= 0; 
1702     char *_kwnames
[] = { "self","p", NULL 
}; 
1706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))  
1710     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1715     if (! wxRealPoint_helper(_obj1
, &_arg1
)) 
1719     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1720     _result 
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
)); 
1722     wxPyEndAllowThreads(__tstate
); 
1723     if (PyErr_Occurred()) return NULL
; 
1724 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p"); 
1725     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1729 static wxRealPoint  
wxRealPoint___sub__(wxRealPoint 
*self
,const wxRealPoint 
* p
) { 
1730             if (! p
) return *self
; 
1733 static PyObject 
*_wrap_wxRealPoint___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1734     PyObject 
* _resultobj
; 
1735     wxRealPoint 
* _result
; 
1736     wxRealPoint 
* _arg0
; 
1737     wxRealPoint 
* _arg1
; 
1739     PyObject 
* _obj0 
= 0; 
1741     PyObject 
* _obj1 
= 0; 
1742     char *_kwnames
[] = { "self","p", NULL 
}; 
1746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))  
1750     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1755     if (! wxRealPoint_helper(_obj1
, &_arg1
)) 
1759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1760     _result 
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
)); 
1762     wxPyEndAllowThreads(__tstate
); 
1763     if (PyErr_Occurred()) return NULL
; 
1764 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p"); 
1765     _resultobj 
= Py_BuildValue("s",_ptemp
); 
1769 static int  wxRealPoint___cmp__(wxRealPoint 
*self
,const wxRealPoint 
* p
) { 
1771             if (*self 
== *p
) return 0; 
1774 static PyObject 
*_wrap_wxRealPoint___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1775     PyObject 
* _resultobj
; 
1777     wxRealPoint 
* _arg0
; 
1778     wxRealPoint 
* _arg1
; 
1780     PyObject 
* _obj0 
= 0; 
1782     PyObject 
* _obj1 
= 0; 
1783     char *_kwnames
[] = { "self","p", NULL 
}; 
1786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))  
1790     if (! wxRealPoint_helper(_obj0
, &_arg0
)) 
1795     if (! wxRealPoint_helper(_obj1
, &_arg1
)) 
1799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1800     _result 
= (int )wxRealPoint___cmp__(_arg0
,_arg1
); 
1802     wxPyEndAllowThreads(__tstate
); 
1803     if (PyErr_Occurred()) return NULL
; 
1804 }    _resultobj 
= Py_BuildValue("i",_result
); 
1808 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
1809 static PyObject 
*_wrap_wxPoint_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1810     PyObject 
* _resultobj
; 
1815     PyObject 
* _obj0 
= 0; 
1816     char *_kwnames
[] = { "self","x", NULL 
}; 
1819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))  
1823     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1827     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1828     _result 
= (long )wxPoint_x_set(_arg0
,_arg1
); 
1830     wxPyEndAllowThreads(__tstate
); 
1831     if (PyErr_Occurred()) return NULL
; 
1832 }    _resultobj 
= Py_BuildValue("l",_result
); 
1836 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x) 
1837 static PyObject 
*_wrap_wxPoint_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1838     PyObject 
* _resultobj
; 
1842     PyObject 
* _obj0 
= 0; 
1843     char *_kwnames
[] = { "self", NULL 
}; 
1846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))  
1850     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1855     _result 
= (long )wxPoint_x_get(_arg0
); 
1857     wxPyEndAllowThreads(__tstate
); 
1858     if (PyErr_Occurred()) return NULL
; 
1859 }    _resultobj 
= Py_BuildValue("l",_result
); 
1863 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
1864 static PyObject 
*_wrap_wxPoint_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1865     PyObject 
* _resultobj
; 
1870     PyObject 
* _obj0 
= 0; 
1871     char *_kwnames
[] = { "self","y", NULL 
}; 
1874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))  
1878     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1883     _result 
= (long )wxPoint_y_set(_arg0
,_arg1
); 
1885     wxPyEndAllowThreads(__tstate
); 
1886     if (PyErr_Occurred()) return NULL
; 
1887 }    _resultobj 
= Py_BuildValue("l",_result
); 
1891 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y) 
1892 static PyObject 
*_wrap_wxPoint_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1893     PyObject 
* _resultobj
; 
1897     PyObject 
* _obj0 
= 0; 
1898     char *_kwnames
[] = { "self", NULL 
}; 
1901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))  
1905     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1910     _result 
= (long )wxPoint_y_get(_arg0
); 
1912     wxPyEndAllowThreads(__tstate
); 
1913     if (PyErr_Occurred()) return NULL
; 
1914 }    _resultobj 
= Py_BuildValue("l",_result
); 
1918 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1)) 
1919 static PyObject 
*_wrap_new_wxPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1920     PyObject 
* _resultobj
; 
1922     long  _arg0 
= (long ) 0; 
1923     long  _arg1 
= (long ) 0; 
1924     char *_kwnames
[] = { "x","y", NULL 
}; 
1928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))  
1931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1932     _result 
= (wxPoint 
*)new_wxPoint(_arg0
,_arg1
); 
1934     wxPyEndAllowThreads(__tstate
); 
1935     if (PyErr_Occurred()) return NULL
; 
1937         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p"); 
1938         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1941         _resultobj 
= Py_None
; 
1946 #define delete_wxPoint(_swigobj) (delete _swigobj) 
1947 static PyObject 
*_wrap_delete_wxPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1948     PyObject 
* _resultobj
; 
1951     PyObject 
* _obj0 
= 0; 
1952     char *_kwnames
[] = { "self", NULL 
}; 
1955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))  
1959     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1963     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1964     delete_wxPoint(_arg0
); 
1966     wxPyEndAllowThreads(__tstate
); 
1967     if (PyErr_Occurred()) return NULL
; 
1968 }    Py_INCREF(Py_None
); 
1969     _resultobj 
= Py_None
; 
1973 static void  wxPoint_Set(wxPoint 
*self
,long  x
,long  y
) { 
1977 static PyObject 
*_wrap_wxPoint_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1978     PyObject 
* _resultobj
; 
1983     PyObject 
* _obj0 
= 0; 
1984     char *_kwnames
[] = { "self","x","y", NULL 
}; 
1987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
1991     if (! wxPoint_helper(_obj0
, &_arg0
)) 
1995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1996     wxPoint_Set(_arg0
,_arg1
,_arg2
); 
1998     wxPyEndAllowThreads(__tstate
); 
1999     if (PyErr_Occurred()) return NULL
; 
2000 }    Py_INCREF(Py_None
); 
2001     _resultobj 
= Py_None
; 
2005 static PyObject 
* wxPoint_asTuple(wxPoint 
*self
) { 
2006             PyObject
* tup 
= PyTuple_New(2); 
2007             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
2008             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
2011 static PyObject 
*_wrap_wxPoint_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2012     PyObject 
* _resultobj
; 
2016     PyObject 
* _obj0 
= 0; 
2017     char *_kwnames
[] = { "self", NULL 
}; 
2020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))  
2024     if (! wxPoint_helper(_obj0
, &_arg0
)) 
2028     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2029     _result 
= (PyObject 
*)wxPoint_asTuple(_arg0
); 
2031     wxPyEndAllowThreads(__tstate
); 
2032     if (PyErr_Occurred()) return NULL
; 
2034   _resultobj 
= _result
; 
2039 static wxPoint  
wxPoint___add__(wxPoint 
*self
,const wxPoint 
* p
) { 
2040             if (! p
) return *self
; 
2043 static PyObject 
*_wrap_wxPoint___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2044     PyObject 
* _resultobj
; 
2049     PyObject 
* _obj0 
= 0; 
2051     PyObject 
* _obj1 
= 0; 
2052     char *_kwnames
[] = { "self","p", NULL 
}; 
2056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))  
2060     if (! wxPoint_helper(_obj0
, &_arg0
)) 
2065     if (! wxPoint_helper(_obj1
, &_arg1
)) 
2069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2070     _result 
= new wxPoint (wxPoint___add__(_arg0
,_arg1
)); 
2072     wxPyEndAllowThreads(__tstate
); 
2073     if (PyErr_Occurred()) return NULL
; 
2074 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p"); 
2075     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2079 static wxPoint  
wxPoint___sub__(wxPoint 
*self
,const wxPoint 
* p
) { 
2080             if (! p
) return *self
; 
2083 static PyObject 
*_wrap_wxPoint___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2084     PyObject 
* _resultobj
; 
2089     PyObject 
* _obj0 
= 0; 
2091     PyObject 
* _obj1 
= 0; 
2092     char *_kwnames
[] = { "self","p", NULL 
}; 
2096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))  
2100     if (! wxPoint_helper(_obj0
, &_arg0
)) 
2105     if (! wxPoint_helper(_obj1
, &_arg1
)) 
2109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2110     _result 
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
)); 
2112     wxPyEndAllowThreads(__tstate
); 
2113     if (PyErr_Occurred()) return NULL
; 
2114 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p"); 
2115     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2119 static int  wxPoint___cmp__(wxPoint 
*self
,const wxPoint 
* p
) { 
2121             if (*self 
== *p
) return 0; 
2124 static PyObject 
*_wrap_wxPoint___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2125     PyObject 
* _resultobj
; 
2130     PyObject 
* _obj0 
= 0; 
2132     PyObject 
* _obj1 
= 0; 
2133     char *_kwnames
[] = { "self","p", NULL 
}; 
2136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))  
2140     if (! wxPoint_helper(_obj0
, &_arg0
)) 
2145     if (! wxPoint_helper(_obj1
, &_arg1
)) 
2149     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2150     _result 
= (int )wxPoint___cmp__(_arg0
,_arg1
); 
2152     wxPyEndAllowThreads(__tstate
); 
2153     if (PyErr_Occurred()) return NULL
; 
2154 }    _resultobj 
= Py_BuildValue("i",_result
); 
2158 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
2159 static PyObject 
*_wrap_new_wxRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2160     PyObject 
* _resultobj
; 
2162     int  _arg0 
= (int ) 0; 
2163     int  _arg1 
= (int ) 0; 
2164     int  _arg2 
= (int ) 0; 
2165     int  _arg3 
= (int ) 0; 
2166     char *_kwnames
[] = { "x","y","w","h", NULL 
}; 
2170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))  
2173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2174     _result 
= (wxRect 
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
); 
2176     wxPyEndAllowThreads(__tstate
); 
2177     if (PyErr_Occurred()) return NULL
; 
2179         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p"); 
2180         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2183         _resultobj 
= Py_None
; 
2188 #define delete_wxRect(_swigobj) (delete _swigobj) 
2189 static PyObject 
*_wrap_delete_wxRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2190     PyObject 
* _resultobj
; 
2193     PyObject 
* _obj0 
= 0; 
2194     char *_kwnames
[] = { "self", NULL 
}; 
2197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))  
2201     if (! wxRect_helper(_obj0
, &_arg0
)) 
2205     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2206     delete_wxRect(_arg0
); 
2208     wxPyEndAllowThreads(__tstate
); 
2209     if (PyErr_Occurred()) return NULL
; 
2210 }    Py_INCREF(Py_None
); 
2211     _resultobj 
= Py_None
; 
2215 #define wxRect_GetX(_swigobj)  (_swigobj->GetX()) 
2216 static PyObject 
*_wrap_wxRect_GetX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2217     PyObject 
* _resultobj
; 
2221     PyObject 
* _obj0 
= 0; 
2222     char *_kwnames
[] = { "self", NULL 
}; 
2225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))  
2229     if (! wxRect_helper(_obj0
, &_arg0
)) 
2233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2234     _result 
= (int )wxRect_GetX(_arg0
); 
2236     wxPyEndAllowThreads(__tstate
); 
2237     if (PyErr_Occurred()) return NULL
; 
2238 }    _resultobj 
= Py_BuildValue("i",_result
); 
2242 #define wxRect_SetX(_swigobj,_swigarg0)  (_swigobj->SetX(_swigarg0)) 
2243 static PyObject 
*_wrap_wxRect_SetX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2244     PyObject 
* _resultobj
; 
2248     PyObject 
* _obj0 
= 0; 
2249     char *_kwnames
[] = { "self","X", NULL 
}; 
2252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))  
2256     if (! wxRect_helper(_obj0
, &_arg0
)) 
2260     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2261     wxRect_SetX(_arg0
,_arg1
); 
2263     wxPyEndAllowThreads(__tstate
); 
2264     if (PyErr_Occurred()) return NULL
; 
2265 }    Py_INCREF(Py_None
); 
2266     _resultobj 
= Py_None
; 
2270 #define wxRect_GetY(_swigobj)  (_swigobj->GetY()) 
2271 static PyObject 
*_wrap_wxRect_GetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2272     PyObject 
* _resultobj
; 
2276     PyObject 
* _obj0 
= 0; 
2277     char *_kwnames
[] = { "self", NULL 
}; 
2280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))  
2284     if (! wxRect_helper(_obj0
, &_arg0
)) 
2288     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2289     _result 
= (int )wxRect_GetY(_arg0
); 
2291     wxPyEndAllowThreads(__tstate
); 
2292     if (PyErr_Occurred()) return NULL
; 
2293 }    _resultobj 
= Py_BuildValue("i",_result
); 
2297 #define wxRect_SetY(_swigobj,_swigarg0)  (_swigobj->SetY(_swigarg0)) 
2298 static PyObject 
*_wrap_wxRect_SetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2299     PyObject 
* _resultobj
; 
2303     PyObject 
* _obj0 
= 0; 
2304     char *_kwnames
[] = { "self","Y", NULL 
}; 
2307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))  
2311     if (! wxRect_helper(_obj0
, &_arg0
)) 
2315     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2316     wxRect_SetY(_arg0
,_arg1
); 
2318     wxPyEndAllowThreads(__tstate
); 
2319     if (PyErr_Occurred()) return NULL
; 
2320 }    Py_INCREF(Py_None
); 
2321     _resultobj 
= Py_None
; 
2325 #define wxRect_GetWidth(_swigobj)  (_swigobj->GetWidth()) 
2326 static PyObject 
*_wrap_wxRect_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2327     PyObject 
* _resultobj
; 
2331     PyObject 
* _obj0 
= 0; 
2332     char *_kwnames
[] = { "self", NULL 
}; 
2335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))  
2339     if (! wxRect_helper(_obj0
, &_arg0
)) 
2343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2344     _result 
= (int )wxRect_GetWidth(_arg0
); 
2346     wxPyEndAllowThreads(__tstate
); 
2347     if (PyErr_Occurred()) return NULL
; 
2348 }    _resultobj 
= Py_BuildValue("i",_result
); 
2352 #define wxRect_SetWidth(_swigobj,_swigarg0)  (_swigobj->SetWidth(_swigarg0)) 
2353 static PyObject 
*_wrap_wxRect_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2354     PyObject 
* _resultobj
; 
2358     PyObject 
* _obj0 
= 0; 
2359     char *_kwnames
[] = { "self","w", NULL 
}; 
2362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))  
2366     if (! wxRect_helper(_obj0
, &_arg0
)) 
2370     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2371     wxRect_SetWidth(_arg0
,_arg1
); 
2373     wxPyEndAllowThreads(__tstate
); 
2374     if (PyErr_Occurred()) return NULL
; 
2375 }    Py_INCREF(Py_None
); 
2376     _resultobj 
= Py_None
; 
2380 #define wxRect_GetHeight(_swigobj)  (_swigobj->GetHeight()) 
2381 static PyObject 
*_wrap_wxRect_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2382     PyObject 
* _resultobj
; 
2386     PyObject 
* _obj0 
= 0; 
2387     char *_kwnames
[] = { "self", NULL 
}; 
2390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))  
2394     if (! wxRect_helper(_obj0
, &_arg0
)) 
2398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2399     _result 
= (int )wxRect_GetHeight(_arg0
); 
2401     wxPyEndAllowThreads(__tstate
); 
2402     if (PyErr_Occurred()) return NULL
; 
2403 }    _resultobj 
= Py_BuildValue("i",_result
); 
2407 #define wxRect_SetHeight(_swigobj,_swigarg0)  (_swigobj->SetHeight(_swigarg0)) 
2408 static PyObject 
*_wrap_wxRect_SetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2409     PyObject 
* _resultobj
; 
2413     PyObject 
* _obj0 
= 0; 
2414     char *_kwnames
[] = { "self","h", NULL 
}; 
2417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))  
2421     if (! wxRect_helper(_obj0
, &_arg0
)) 
2425     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2426     wxRect_SetHeight(_arg0
,_arg1
); 
2428     wxPyEndAllowThreads(__tstate
); 
2429     if (PyErr_Occurred()) return NULL
; 
2430 }    Py_INCREF(Py_None
); 
2431     _resultobj 
= Py_None
; 
2435 #define wxRect_GetPosition(_swigobj)  (_swigobj->GetPosition()) 
2436 static PyObject 
*_wrap_wxRect_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2437     PyObject 
* _resultobj
; 
2441     PyObject 
* _obj0 
= 0; 
2442     char *_kwnames
[] = { "self", NULL 
}; 
2446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))  
2450     if (! wxRect_helper(_obj0
, &_arg0
)) 
2454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2455     _result 
= new wxPoint (wxRect_GetPosition(_arg0
)); 
2457     wxPyEndAllowThreads(__tstate
); 
2458     if (PyErr_Occurred()) return NULL
; 
2459 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p"); 
2460     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2464 #define wxRect_GetSize(_swigobj)  (_swigobj->GetSize()) 
2465 static PyObject 
*_wrap_wxRect_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2466     PyObject 
* _resultobj
; 
2470     PyObject 
* _obj0 
= 0; 
2471     char *_kwnames
[] = { "self", NULL 
}; 
2475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))  
2479     if (! wxRect_helper(_obj0
, &_arg0
)) 
2483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2484     _result 
= new wxSize (wxRect_GetSize(_arg0
)); 
2486     wxPyEndAllowThreads(__tstate
); 
2487     if (PyErr_Occurred()) return NULL
; 
2488 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p"); 
2489     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2493 #define wxRect_GetLeft(_swigobj)  (_swigobj->GetLeft()) 
2494 static PyObject 
*_wrap_wxRect_GetLeft(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_GetLeft",_kwnames
,&_obj0
))  
2507     if (! wxRect_helper(_obj0
, &_arg0
)) 
2511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2512     _result 
= (int )wxRect_GetLeft(_arg0
); 
2514     wxPyEndAllowThreads(__tstate
); 
2515     if (PyErr_Occurred()) return NULL
; 
2516 }    _resultobj 
= Py_BuildValue("i",_result
); 
2520 #define wxRect_GetTop(_swigobj)  (_swigobj->GetTop()) 
2521 static PyObject 
*_wrap_wxRect_GetTop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2522     PyObject 
* _resultobj
; 
2526     PyObject 
* _obj0 
= 0; 
2527     char *_kwnames
[] = { "self", NULL 
}; 
2530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))  
2534     if (! wxRect_helper(_obj0
, &_arg0
)) 
2538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2539     _result 
= (int )wxRect_GetTop(_arg0
); 
2541     wxPyEndAllowThreads(__tstate
); 
2542     if (PyErr_Occurred()) return NULL
; 
2543 }    _resultobj 
= Py_BuildValue("i",_result
); 
2547 #define wxRect_GetBottom(_swigobj)  (_swigobj->GetBottom()) 
2548 static PyObject 
*_wrap_wxRect_GetBottom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2549     PyObject 
* _resultobj
; 
2553     PyObject 
* _obj0 
= 0; 
2554     char *_kwnames
[] = { "self", NULL 
}; 
2557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))  
2561     if (! wxRect_helper(_obj0
, &_arg0
)) 
2565     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2566     _result 
= (int )wxRect_GetBottom(_arg0
); 
2568     wxPyEndAllowThreads(__tstate
); 
2569     if (PyErr_Occurred()) return NULL
; 
2570 }    _resultobj 
= Py_BuildValue("i",_result
); 
2574 #define wxRect_GetRight(_swigobj)  (_swigobj->GetRight()) 
2575 static PyObject 
*_wrap_wxRect_GetRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2576     PyObject 
* _resultobj
; 
2580     PyObject 
* _obj0 
= 0; 
2581     char *_kwnames
[] = { "self", NULL 
}; 
2584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))  
2588     if (! wxRect_helper(_obj0
, &_arg0
)) 
2592     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2593     _result 
= (int )wxRect_GetRight(_arg0
); 
2595     wxPyEndAllowThreads(__tstate
); 
2596     if (PyErr_Occurred()) return NULL
; 
2597 }    _resultobj 
= Py_BuildValue("i",_result
); 
2601 #define wxRect_SetLeft(_swigobj,_swigarg0)  (_swigobj->SetLeft(_swigarg0)) 
2602 static PyObject 
*_wrap_wxRect_SetLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2603     PyObject 
* _resultobj
; 
2607     PyObject 
* _obj0 
= 0; 
2608     char *_kwnames
[] = { "self","left", NULL 
}; 
2611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))  
2615     if (! wxRect_helper(_obj0
, &_arg0
)) 
2619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2620     wxRect_SetLeft(_arg0
,_arg1
); 
2622     wxPyEndAllowThreads(__tstate
); 
2623     if (PyErr_Occurred()) return NULL
; 
2624 }    Py_INCREF(Py_None
); 
2625     _resultobj 
= Py_None
; 
2629 #define wxRect_SetRight(_swigobj,_swigarg0)  (_swigobj->SetRight(_swigarg0)) 
2630 static PyObject 
*_wrap_wxRect_SetRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2631     PyObject 
* _resultobj
; 
2635     PyObject 
* _obj0 
= 0; 
2636     char *_kwnames
[] = { "self","right", NULL 
}; 
2639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))  
2643     if (! wxRect_helper(_obj0
, &_arg0
)) 
2647     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2648     wxRect_SetRight(_arg0
,_arg1
); 
2650     wxPyEndAllowThreads(__tstate
); 
2651     if (PyErr_Occurred()) return NULL
; 
2652 }    Py_INCREF(Py_None
); 
2653     _resultobj 
= Py_None
; 
2657 #define wxRect_SetTop(_swigobj,_swigarg0)  (_swigobj->SetTop(_swigarg0)) 
2658 static PyObject 
*_wrap_wxRect_SetTop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2659     PyObject 
* _resultobj
; 
2663     PyObject 
* _obj0 
= 0; 
2664     char *_kwnames
[] = { "self","top", NULL 
}; 
2667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))  
2671     if (! wxRect_helper(_obj0
, &_arg0
)) 
2675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2676     wxRect_SetTop(_arg0
,_arg1
); 
2678     wxPyEndAllowThreads(__tstate
); 
2679     if (PyErr_Occurred()) return NULL
; 
2680 }    Py_INCREF(Py_None
); 
2681     _resultobj 
= Py_None
; 
2685 #define wxRect_SetBottom(_swigobj,_swigarg0)  (_swigobj->SetBottom(_swigarg0)) 
2686 static PyObject 
*_wrap_wxRect_SetBottom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2687     PyObject 
* _resultobj
; 
2691     PyObject 
* _obj0 
= 0; 
2692     char *_kwnames
[] = { "self","bottom", NULL 
}; 
2695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))  
2699     if (! wxRect_helper(_obj0
, &_arg0
)) 
2703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2704     wxRect_SetBottom(_arg0
,_arg1
); 
2706     wxPyEndAllowThreads(__tstate
); 
2707     if (PyErr_Occurred()) return NULL
; 
2708 }    Py_INCREF(Py_None
); 
2709     _resultobj 
= Py_None
; 
2713 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Inflate(_swigarg0,_swigarg1)) 
2714 static PyObject 
*_wrap_wxRect_Inflate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2715     PyObject 
* _resultobj
; 
2720     PyObject 
* _obj0 
= 0; 
2721     char *_kwnames
[] = { "self","dx","dy", NULL 
}; 
2724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
2728     if (! wxRect_helper(_obj0
, &_arg0
)) 
2732     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2733     wxRect_Inflate(_arg0
,_arg1
,_arg2
); 
2735     wxPyEndAllowThreads(__tstate
); 
2736     if (PyErr_Occurred()) return NULL
; 
2737 }    Py_INCREF(Py_None
); 
2738     _resultobj 
= Py_None
; 
2742 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Inside(_swigarg0,_swigarg1)) 
2743 static PyObject 
*_wrap_wxRect_Inside(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2744     PyObject 
* _resultobj
; 
2750     PyObject 
* _obj0 
= 0; 
2751     char *_kwnames
[] = { "self","cx","cy", NULL 
}; 
2754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))  
2758     if (! wxRect_helper(_obj0
, &_arg0
)) 
2762     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2763     _result 
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
); 
2765     wxPyEndAllowThreads(__tstate
); 
2766     if (PyErr_Occurred()) return NULL
; 
2767 }    _resultobj 
= Py_BuildValue("i",_result
); 
2771 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) 
2772 static PyObject 
*_wrap_wxRect_x_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2773     PyObject 
* _resultobj
; 
2778     PyObject 
* _obj0 
= 0; 
2779     char *_kwnames
[] = { "self","x", NULL 
}; 
2782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))  
2786     if (! wxRect_helper(_obj0
, &_arg0
)) 
2790     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2791     _result 
= (int )wxRect_x_set(_arg0
,_arg1
); 
2793     wxPyEndAllowThreads(__tstate
); 
2794     if (PyErr_Occurred()) return NULL
; 
2795 }    _resultobj 
= Py_BuildValue("i",_result
); 
2799 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x) 
2800 static PyObject 
*_wrap_wxRect_x_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2801     PyObject 
* _resultobj
; 
2805     PyObject 
* _obj0 
= 0; 
2806     char *_kwnames
[] = { "self", NULL 
}; 
2809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))  
2813     if (! wxRect_helper(_obj0
, &_arg0
)) 
2817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2818     _result 
= (int )wxRect_x_get(_arg0
); 
2820     wxPyEndAllowThreads(__tstate
); 
2821     if (PyErr_Occurred()) return NULL
; 
2822 }    _resultobj 
= Py_BuildValue("i",_result
); 
2826 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) 
2827 static PyObject 
*_wrap_wxRect_y_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2828     PyObject 
* _resultobj
; 
2833     PyObject 
* _obj0 
= 0; 
2834     char *_kwnames
[] = { "self","y", NULL 
}; 
2837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))  
2841     if (! wxRect_helper(_obj0
, &_arg0
)) 
2845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2846     _result 
= (int )wxRect_y_set(_arg0
,_arg1
); 
2848     wxPyEndAllowThreads(__tstate
); 
2849     if (PyErr_Occurred()) return NULL
; 
2850 }    _resultobj 
= Py_BuildValue("i",_result
); 
2854 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y) 
2855 static PyObject 
*_wrap_wxRect_y_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2856     PyObject 
* _resultobj
; 
2860     PyObject 
* _obj0 
= 0; 
2861     char *_kwnames
[] = { "self", NULL 
}; 
2864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))  
2868     if (! wxRect_helper(_obj0
, &_arg0
)) 
2872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2873     _result 
= (int )wxRect_y_get(_arg0
); 
2875     wxPyEndAllowThreads(__tstate
); 
2876     if (PyErr_Occurred()) return NULL
; 
2877 }    _resultobj 
= Py_BuildValue("i",_result
); 
2881 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval) 
2882 static PyObject 
*_wrap_wxRect_width_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2883     PyObject 
* _resultobj
; 
2888     PyObject 
* _obj0 
= 0; 
2889     char *_kwnames
[] = { "self","width", NULL 
}; 
2892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))  
2896     if (! wxRect_helper(_obj0
, &_arg0
)) 
2900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2901     _result 
= (int )wxRect_width_set(_arg0
,_arg1
); 
2903     wxPyEndAllowThreads(__tstate
); 
2904     if (PyErr_Occurred()) return NULL
; 
2905 }    _resultobj 
= Py_BuildValue("i",_result
); 
2909 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width) 
2910 static PyObject 
*_wrap_wxRect_width_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2911     PyObject 
* _resultobj
; 
2915     PyObject 
* _obj0 
= 0; 
2916     char *_kwnames
[] = { "self", NULL 
}; 
2919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))  
2923     if (! wxRect_helper(_obj0
, &_arg0
)) 
2927     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2928     _result 
= (int )wxRect_width_get(_arg0
); 
2930     wxPyEndAllowThreads(__tstate
); 
2931     if (PyErr_Occurred()) return NULL
; 
2932 }    _resultobj 
= Py_BuildValue("i",_result
); 
2936 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval) 
2937 static PyObject 
*_wrap_wxRect_height_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2938     PyObject 
* _resultobj
; 
2943     PyObject 
* _obj0 
= 0; 
2944     char *_kwnames
[] = { "self","height", NULL 
}; 
2947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))  
2951     if (! wxRect_helper(_obj0
, &_arg0
)) 
2955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2956     _result 
= (int )wxRect_height_set(_arg0
,_arg1
); 
2958     wxPyEndAllowThreads(__tstate
); 
2959     if (PyErr_Occurred()) return NULL
; 
2960 }    _resultobj 
= Py_BuildValue("i",_result
); 
2964 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height) 
2965 static PyObject 
*_wrap_wxRect_height_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2966     PyObject 
* _resultobj
; 
2970     PyObject 
* _obj0 
= 0; 
2971     char *_kwnames
[] = { "self", NULL 
}; 
2974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))  
2978     if (! wxRect_helper(_obj0
, &_arg0
)) 
2982     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2983     _result 
= (int )wxRect_height_get(_arg0
); 
2985     wxPyEndAllowThreads(__tstate
); 
2986     if (PyErr_Occurred()) return NULL
; 
2987 }    _resultobj 
= Py_BuildValue("i",_result
); 
2991 static PyObject 
* wxRect_asTuple(wxRect 
*self
) { 
2992             PyObject
* tup 
= PyTuple_New(4); 
2993             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
2994             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
2995             PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
)); 
2996             PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
)); 
2999 static PyObject 
*_wrap_wxRect_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3000     PyObject 
* _resultobj
; 
3004     PyObject 
* _obj0 
= 0; 
3005     char *_kwnames
[] = { "self", NULL 
}; 
3008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))  
3012     if (! wxRect_helper(_obj0
, &_arg0
)) 
3016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3017     _result 
= (PyObject 
*)wxRect_asTuple(_arg0
); 
3019     wxPyEndAllowThreads(__tstate
); 
3020     if (PyErr_Occurred()) return NULL
; 
3022   _resultobj 
= _result
; 
3027 static wxRect  
wxRect___add__(wxRect 
*self
,const wxRect 
* rect
) { 
3028             if (! rect
) return *self
; 
3029             return *self 
+ *rect
; 
3031 static PyObject 
*_wrap_wxRect___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3032     PyObject 
* _resultobj
; 
3037     PyObject 
* _obj0 
= 0; 
3039     PyObject 
* _obj1 
= 0; 
3040     char *_kwnames
[] = { "self","rect", NULL 
}; 
3044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))  
3048     if (! wxRect_helper(_obj0
, &_arg0
)) 
3053     if (! wxRect_helper(_obj1
, &_arg1
)) 
3057     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3058     _result 
= new wxRect (wxRect___add__(_arg0
,_arg1
)); 
3060     wxPyEndAllowThreads(__tstate
); 
3061     if (PyErr_Occurred()) return NULL
; 
3062 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p"); 
3063     _resultobj 
= Py_BuildValue("s",_ptemp
); 
3067 static int  wxRect___cmp__(wxRect 
*self
,const wxRect 
* rect
) { 
3068             if (! rect
) return 1; 
3069             if (*self 
== *rect
) return 0; 
3072 static PyObject 
*_wrap_wxRect___cmp__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3073     PyObject 
* _resultobj
; 
3078     PyObject 
* _obj0 
= 0; 
3080     PyObject 
* _obj1 
= 0; 
3081     char *_kwnames
[] = { "self","rect", NULL 
}; 
3084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))  
3088     if (! wxRect_helper(_obj0
, &_arg0
)) 
3093     if (! wxRect_helper(_obj1
, &_arg1
)) 
3097     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3098     _result 
= (int )wxRect___cmp__(_arg0
,_arg1
); 
3100     wxPyEndAllowThreads(__tstate
); 
3101     if (PyErr_Occurred()) return NULL
; 
3102 }    _resultobj 
= Py_BuildValue("i",_result
); 
3106 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) { 
3107     wxIndividualLayoutConstraint 
*src
; 
3109     src 
= (wxIndividualLayoutConstraint 
*) ptr
; 
3110     dest 
= (wxObject 
*) src
; 
3111     return (void *) dest
; 
3114 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Above(_swigarg0,_swigarg1)) 
3115 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Above(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3116     PyObject 
* _resultobj
; 
3117     wxIndividualLayoutConstraint 
* _arg0
; 
3119     int  _arg2 
= (int ) 0; 
3120     PyObject 
* _argo0 
= 0; 
3121     PyObject 
* _argo1 
= 0; 
3122     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3128         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3129         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3130             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p."); 
3135         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3136         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3137             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p."); 
3142     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3143     wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
); 
3145     wxPyEndAllowThreads(__tstate
); 
3146     if (PyErr_Occurred()) return NULL
; 
3147 }    Py_INCREF(Py_None
); 
3148     _resultobj 
= Py_None
; 
3152 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0)  (_swigobj->Absolute(_swigarg0)) 
3153 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3154     PyObject 
* _resultobj
; 
3155     wxIndividualLayoutConstraint 
* _arg0
; 
3157     PyObject 
* _argo0 
= 0; 
3158     char *_kwnames
[] = { "self","value", NULL 
}; 
3161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))  
3164         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3165         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3166             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p."); 
3171     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3172     wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
); 
3174     wxPyEndAllowThreads(__tstate
); 
3175     if (PyErr_Occurred()) return NULL
; 
3176 }    Py_INCREF(Py_None
); 
3177     _resultobj 
= Py_None
; 
3181 #define wxIndividualLayoutConstraint_AsIs(_swigobj)  (_swigobj->AsIs()) 
3182 static PyObject 
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3183     PyObject 
* _resultobj
; 
3184     wxIndividualLayoutConstraint 
* _arg0
; 
3185     PyObject 
* _argo0 
= 0; 
3186     char *_kwnames
[] = { "self", NULL 
}; 
3189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))  
3192         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3193         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3194             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p."); 
3199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3200     wxIndividualLayoutConstraint_AsIs(_arg0
); 
3202     wxPyEndAllowThreads(__tstate
); 
3203     if (PyErr_Occurred()) return NULL
; 
3204 }    Py_INCREF(Py_None
); 
3205     _resultobj 
= Py_None
; 
3209 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Below(_swigarg0,_swigarg1)) 
3210 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Below(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3211     PyObject 
* _resultobj
; 
3212     wxIndividualLayoutConstraint 
* _arg0
; 
3214     int  _arg2 
= (int ) 0; 
3215     PyObject 
* _argo0 
= 0; 
3216     PyObject 
* _argo1 
= 0; 
3217     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3223         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3224         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3225             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p."); 
3230         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3231         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3232             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p."); 
3237     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3238     wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
); 
3240     wxPyEndAllowThreads(__tstate
); 
3241     if (PyErr_Occurred()) return NULL
; 
3242 }    Py_INCREF(Py_None
); 
3243     _resultobj 
= Py_None
; 
3247 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj)  (_swigobj->Unconstrained()) 
3248 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3249     PyObject 
* _resultobj
; 
3250     wxIndividualLayoutConstraint 
* _arg0
; 
3251     PyObject 
* _argo0 
= 0; 
3252     char *_kwnames
[] = { "self", NULL 
}; 
3255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))  
3258         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3259         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3260             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p."); 
3265     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3266     wxIndividualLayoutConstraint_Unconstrained(_arg0
); 
3268     wxPyEndAllowThreads(__tstate
); 
3269     if (PyErr_Occurred()) return NULL
; 
3270 }    Py_INCREF(Py_None
); 
3271     _resultobj 
= Py_None
; 
3275 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1)  (_swigobj->LeftOf(_swigarg0,_swigarg1)) 
3276 static PyObject 
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3277     PyObject 
* _resultobj
; 
3278     wxIndividualLayoutConstraint 
* _arg0
; 
3280     int  _arg2 
= (int ) 0; 
3281     PyObject 
* _argo0 
= 0; 
3282     PyObject 
* _argo1 
= 0; 
3283     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3289         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3290         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3291             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p."); 
3296         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3297         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3298             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p."); 
3303     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3304     wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
); 
3306     wxPyEndAllowThreads(__tstate
); 
3307     if (PyErr_Occurred()) return NULL
; 
3308 }    Py_INCREF(Py_None
); 
3309     _resultobj 
= Py_None
; 
3313 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2)) 
3314 static PyObject 
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3315     PyObject 
* _resultobj
; 
3316     wxIndividualLayoutConstraint 
* _arg0
; 
3320     PyObject 
* _argo0 
= 0; 
3321     PyObject 
* _argo1 
= 0; 
3322     char *_kwnames
[] = { "self","otherWin","edge","percent", NULL 
}; 
3325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))  
3328         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3329         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3330             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p."); 
3335         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3336         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3337             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p."); 
3342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3343     wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
); 
3345     wxPyEndAllowThreads(__tstate
); 
3346     if (PyErr_Occurred()) return NULL
; 
3347 }    Py_INCREF(Py_None
); 
3348     _resultobj 
= Py_None
; 
3352 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1)  (_swigobj->RightOf(_swigarg0,_swigarg1)) 
3353 static PyObject 
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3354     PyObject 
* _resultobj
; 
3355     wxIndividualLayoutConstraint 
* _arg0
; 
3357     int  _arg2 
= (int ) 0; 
3358     PyObject 
* _argo0 
= 0; 
3359     PyObject 
* _argo1 
= 0; 
3360     char *_kwnames
[] = { "self","otherWin","margin", NULL 
}; 
3363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))  
3366         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3367         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3368             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p."); 
3373         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3374         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3375             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p."); 
3380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3381     wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
); 
3383     wxPyEndAllowThreads(__tstate
); 
3384     if (PyErr_Occurred()) return NULL
; 
3385 }    Py_INCREF(Py_None
); 
3386     _resultobj 
= Py_None
; 
3390 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2)) 
3391 static PyObject 
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3392     PyObject 
* _resultobj
; 
3393     wxIndividualLayoutConstraint 
* _arg0
; 
3396     int  _arg3 
= (int ) 0; 
3397     PyObject 
* _argo0 
= 0; 
3398     PyObject 
* _argo1 
= 0; 
3399     char *_kwnames
[] = { "self","otherWin","edge","margin", NULL 
}; 
3402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))  
3405         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3406         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3407             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p."); 
3412         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3413         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3414             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p."); 
3419     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3420     wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
); 
3422     wxPyEndAllowThreads(__tstate
); 
3423     if (PyErr_Occurred()) return NULL
; 
3424 }    Py_INCREF(Py_None
); 
3425     _resultobj 
= Py_None
; 
3429 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)  (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
3430 static PyObject 
*_wrap_wxIndividualLayoutConstraint_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3431     PyObject 
* _resultobj
; 
3432     wxIndividualLayoutConstraint 
* _arg0
; 
3433     wxRelationship  _arg1
; 
3436     int  _arg4 
= (int ) 0; 
3437     int  _arg5 
= (int ) 0; 
3438     PyObject 
* _argo0 
= 0; 
3439     PyObject 
* _argo2 
= 0; 
3440     char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL 
}; 
3443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))  
3446         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3447         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) { 
3448             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p."); 
3453         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
3454         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) { 
3455             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p."); 
3460     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3461     wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
); 
3463     wxPyEndAllowThreads(__tstate
); 
3464     if (PyErr_Occurred()) return NULL
; 
3465 }    Py_INCREF(Py_None
); 
3466     _resultobj 
= Py_None
; 
3470 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) { 
3471     wxLayoutConstraints 
*src
; 
3473     src 
= (wxLayoutConstraints 
*) ptr
; 
3474     dest 
= (wxObject 
*) src
; 
3475     return (void *) dest
; 
3478 #define new_wxLayoutConstraints() (new wxLayoutConstraints()) 
3479 static PyObject 
*_wrap_new_wxLayoutConstraints(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3480     PyObject 
* _resultobj
; 
3481     wxLayoutConstraints 
* _result
; 
3482     char *_kwnames
[] = {  NULL 
}; 
3486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))  
3489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3490     _result 
= (wxLayoutConstraints 
*)new_wxLayoutConstraints(); 
3492     wxPyEndAllowThreads(__tstate
); 
3493     if (PyErr_Occurred()) return NULL
; 
3495         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p"); 
3496         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3499         _resultobj 
= Py_None
; 
3504 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom) 
3505 static PyObject 
*_wrap_wxLayoutConstraints_bottom_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3506     PyObject 
* _resultobj
; 
3507     wxIndividualLayoutConstraint 
* _result
; 
3508     wxLayoutConstraints 
* _arg0
; 
3509     PyObject 
* _argo0 
= 0; 
3510     char *_kwnames
[] = { "self", NULL 
}; 
3514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))  
3517         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3518         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3519             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p."); 
3524     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3525     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_bottom_get(_arg0
); 
3527     wxPyEndAllowThreads(__tstate
); 
3528     if (PyErr_Occurred()) return NULL
; 
3530         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3531         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3534         _resultobj 
= Py_None
; 
3539 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX) 
3540 static PyObject 
*_wrap_wxLayoutConstraints_centreX_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3541     PyObject 
* _resultobj
; 
3542     wxIndividualLayoutConstraint 
* _result
; 
3543     wxLayoutConstraints 
* _arg0
; 
3544     PyObject 
* _argo0 
= 0; 
3545     char *_kwnames
[] = { "self", NULL 
}; 
3549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))  
3552         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3553         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3554             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p."); 
3559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3560     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_centreX_get(_arg0
); 
3562     wxPyEndAllowThreads(__tstate
); 
3563     if (PyErr_Occurred()) return NULL
; 
3565         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3566         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3569         _resultobj 
= Py_None
; 
3574 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY) 
3575 static PyObject 
*_wrap_wxLayoutConstraints_centreY_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3576     PyObject 
* _resultobj
; 
3577     wxIndividualLayoutConstraint 
* _result
; 
3578     wxLayoutConstraints 
* _arg0
; 
3579     PyObject 
* _argo0 
= 0; 
3580     char *_kwnames
[] = { "self", NULL 
}; 
3584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))  
3587         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3588         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3589             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p."); 
3594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3595     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_centreY_get(_arg0
); 
3597     wxPyEndAllowThreads(__tstate
); 
3598     if (PyErr_Occurred()) return NULL
; 
3600         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3601         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3604         _resultobj 
= Py_None
; 
3609 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height) 
3610 static PyObject 
*_wrap_wxLayoutConstraints_height_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3611     PyObject 
* _resultobj
; 
3612     wxIndividualLayoutConstraint 
* _result
; 
3613     wxLayoutConstraints 
* _arg0
; 
3614     PyObject 
* _argo0 
= 0; 
3615     char *_kwnames
[] = { "self", NULL 
}; 
3619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))  
3622         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3623         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3624             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p."); 
3629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3630     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_height_get(_arg0
); 
3632     wxPyEndAllowThreads(__tstate
); 
3633     if (PyErr_Occurred()) return NULL
; 
3635         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3636         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3639         _resultobj 
= Py_None
; 
3644 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left) 
3645 static PyObject 
*_wrap_wxLayoutConstraints_left_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3646     PyObject 
* _resultobj
; 
3647     wxIndividualLayoutConstraint 
* _result
; 
3648     wxLayoutConstraints 
* _arg0
; 
3649     PyObject 
* _argo0 
= 0; 
3650     char *_kwnames
[] = { "self", NULL 
}; 
3654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))  
3657         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3658         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3659             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p."); 
3664     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3665     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_left_get(_arg0
); 
3667     wxPyEndAllowThreads(__tstate
); 
3668     if (PyErr_Occurred()) return NULL
; 
3670         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3671         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3674         _resultobj 
= Py_None
; 
3679 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right) 
3680 static PyObject 
*_wrap_wxLayoutConstraints_right_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3681     PyObject 
* _resultobj
; 
3682     wxIndividualLayoutConstraint 
* _result
; 
3683     wxLayoutConstraints 
* _arg0
; 
3684     PyObject 
* _argo0 
= 0; 
3685     char *_kwnames
[] = { "self", NULL 
}; 
3689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))  
3692         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3693         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3694             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p."); 
3699     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3700     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_right_get(_arg0
); 
3702     wxPyEndAllowThreads(__tstate
); 
3703     if (PyErr_Occurred()) return NULL
; 
3705         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3706         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3709         _resultobj 
= Py_None
; 
3714 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top) 
3715 static PyObject 
*_wrap_wxLayoutConstraints_top_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3716     PyObject 
* _resultobj
; 
3717     wxIndividualLayoutConstraint 
* _result
; 
3718     wxLayoutConstraints 
* _arg0
; 
3719     PyObject 
* _argo0 
= 0; 
3720     char *_kwnames
[] = { "self", NULL 
}; 
3724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))  
3727         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3728         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3729             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p."); 
3734     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3735     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_top_get(_arg0
); 
3737     wxPyEndAllowThreads(__tstate
); 
3738     if (PyErr_Occurred()) return NULL
; 
3740         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3741         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3744         _resultobj 
= Py_None
; 
3749 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width) 
3750 static PyObject 
*_wrap_wxLayoutConstraints_width_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3751     PyObject 
* _resultobj
; 
3752     wxIndividualLayoutConstraint 
* _result
; 
3753     wxLayoutConstraints 
* _arg0
; 
3754     PyObject 
* _argo0 
= 0; 
3755     char *_kwnames
[] = { "self", NULL 
}; 
3759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))  
3762         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3763         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) { 
3764             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p."); 
3769     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3770     _result 
= (wxIndividualLayoutConstraint 
*)wxLayoutConstraints_width_get(_arg0
); 
3772     wxPyEndAllowThreads(__tstate
); 
3773     if (PyErr_Occurred()) return NULL
; 
3775         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p"); 
3776         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3779         _resultobj 
= Py_None
; 
3784 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2)) 
3785 static PyObject 
*_wrap_new_wxAcceleratorEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3786     PyObject 
* _resultobj
; 
3787     wxAcceleratorEntry 
* _result
; 
3788     int  _arg0 
= (int ) 0; 
3789     int  _arg1 
= (int ) 0; 
3790     int  _arg2 
= (int ) 0; 
3791     char *_kwnames
[] = { "flags","keyCode","cmd", NULL 
}; 
3795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))  
3798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3799     _result 
= (wxAcceleratorEntry 
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
); 
3801     wxPyEndAllowThreads(__tstate
); 
3802     if (PyErr_Occurred()) return NULL
; 
3804         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p"); 
3805         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3808         _resultobj 
= Py_None
; 
3813 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj) 
3814 static PyObject 
*_wrap_delete_wxAcceleratorEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3815     PyObject 
* _resultobj
; 
3816     wxAcceleratorEntry 
* _arg0
; 
3817     PyObject 
* _argo0 
= 0; 
3818     char *_kwnames
[] = { "self", NULL 
}; 
3821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))  
3824         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3825         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3826             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p."); 
3831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3832     delete_wxAcceleratorEntry(_arg0
); 
3834     wxPyEndAllowThreads(__tstate
); 
3835     if (PyErr_Occurred()) return NULL
; 
3836 }    Py_INCREF(Py_None
); 
3837     _resultobj 
= Py_None
; 
3841 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2)) 
3842 static PyObject 
*_wrap_wxAcceleratorEntry_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3843     PyObject 
* _resultobj
; 
3844     wxAcceleratorEntry 
* _arg0
; 
3848     PyObject 
* _argo0 
= 0; 
3849     char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL 
}; 
3852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))  
3855         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3856         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3857             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p."); 
3862     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3863     wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
); 
3865     wxPyEndAllowThreads(__tstate
); 
3866     if (PyErr_Occurred()) return NULL
; 
3867 }    Py_INCREF(Py_None
); 
3868     _resultobj 
= Py_None
; 
3872 #define wxAcceleratorEntry_GetFlags(_swigobj)  (_swigobj->GetFlags()) 
3873 static PyObject 
*_wrap_wxAcceleratorEntry_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3874     PyObject 
* _resultobj
; 
3876     wxAcceleratorEntry 
* _arg0
; 
3877     PyObject 
* _argo0 
= 0; 
3878     char *_kwnames
[] = { "self", NULL 
}; 
3881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))  
3884         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3885         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3886             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p."); 
3891     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3892     _result 
= (int )wxAcceleratorEntry_GetFlags(_arg0
); 
3894     wxPyEndAllowThreads(__tstate
); 
3895     if (PyErr_Occurred()) return NULL
; 
3896 }    _resultobj 
= Py_BuildValue("i",_result
); 
3900 #define wxAcceleratorEntry_GetKeyCode(_swigobj)  (_swigobj->GetKeyCode()) 
3901 static PyObject 
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3902     PyObject 
* _resultobj
; 
3904     wxAcceleratorEntry 
* _arg0
; 
3905     PyObject 
* _argo0 
= 0; 
3906     char *_kwnames
[] = { "self", NULL 
}; 
3909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))  
3912         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3913         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3914             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p."); 
3919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3920     _result 
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
); 
3922     wxPyEndAllowThreads(__tstate
); 
3923     if (PyErr_Occurred()) return NULL
; 
3924 }    _resultobj 
= Py_BuildValue("i",_result
); 
3928 #define wxAcceleratorEntry_GetCommand(_swigobj)  (_swigobj->GetCommand()) 
3929 static PyObject 
*_wrap_wxAcceleratorEntry_GetCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3930     PyObject 
* _resultobj
; 
3932     wxAcceleratorEntry 
* _arg0
; 
3933     PyObject 
* _argo0 
= 0; 
3934     char *_kwnames
[] = { "self", NULL 
}; 
3937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))  
3940         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3941         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) { 
3942             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p."); 
3947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3948     _result 
= (int )wxAcceleratorEntry_GetCommand(_arg0
); 
3950     wxPyEndAllowThreads(__tstate
); 
3951     if (PyErr_Occurred()) return NULL
; 
3952 }    _resultobj 
= Py_BuildValue("i",_result
); 
3956 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) { 
3957     wxAcceleratorTable 
*src
; 
3959     src 
= (wxAcceleratorTable 
*) ptr
; 
3960     dest 
= (wxObject 
*) src
; 
3961     return (void *) dest
; 
3964 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1)) 
3965 static PyObject 
*_wrap_new_wxAcceleratorTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3966     PyObject 
* _resultobj
; 
3967     wxAcceleratorTable 
* _result
; 
3969     wxAcceleratorEntry 
* _arg1
; 
3970     PyObject 
* _obj1 
= 0; 
3971     char *_kwnames
[] = { "choices", NULL 
}; 
3975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))  
3979     _arg1 
= wxAcceleratorEntry_LIST_helper(_obj1
); 
3980     if (_arg1 
== NULL
) { 
3986         _arg0 
= PyList_Size(_obj1
); 
3993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3994     _result 
= (wxAcceleratorTable 
*)new_wxAcceleratorTable(_arg0
,_arg1
); 
3996     wxPyEndAllowThreads(__tstate
); 
3997     if (PyErr_Occurred()) return NULL
; 
3999         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p"); 
4000         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4003         _resultobj 
= Py_None
; 
4011 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj) 
4012 static PyObject 
*_wrap_delete_wxAcceleratorTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4013     PyObject 
* _resultobj
; 
4014     wxAcceleratorTable 
* _arg0
; 
4015     PyObject 
* _argo0 
= 0; 
4016     char *_kwnames
[] = { "self", NULL 
}; 
4019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))  
4022         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4023         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) { 
4024             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p."); 
4029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4030     delete_wxAcceleratorTable(_arg0
); 
4032     wxPyEndAllowThreads(__tstate
); 
4033     if (PyErr_Occurred()) return NULL
; 
4034 }    Py_INCREF(Py_None
); 
4035     _resultobj 
= Py_None
; 
4039 static void *SwigwxBusyInfoTowxObject(void *ptr
) { 
4042     src 
= (wxBusyInfo 
*) ptr
; 
4043     dest 
= (wxObject 
*) src
; 
4044     return (void *) dest
; 
4047 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0)) 
4048 static PyObject 
*_wrap_new_wxBusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4049     PyObject 
* _resultobj
; 
4050     wxBusyInfo 
* _result
; 
4052     PyObject 
* _obj0 
= 0; 
4053     char *_kwnames
[] = { "message", NULL 
}; 
4057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))  
4060     _arg0 
= wxString_in_helper(_obj0
); 
4065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4066     _result 
= (wxBusyInfo 
*)new_wxBusyInfo(*_arg0
); 
4068     wxPyEndAllowThreads(__tstate
); 
4069     if (PyErr_Occurred()) return NULL
; 
4071         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p"); 
4072         _resultobj 
= Py_BuildValue("s",_ptemp
); 
4075         _resultobj 
= Py_None
; 
4084 #define delete_wxBusyInfo(_swigobj) (delete _swigobj) 
4085 static PyObject 
*_wrap_delete_wxBusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4086     PyObject 
* _resultobj
; 
4088     PyObject 
* _argo0 
= 0; 
4089     char *_kwnames
[] = { "self", NULL 
}; 
4092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))  
4095         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
4096         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) { 
4097             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p."); 
4102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4103     delete_wxBusyInfo(_arg0
); 
4105     wxPyEndAllowThreads(__tstate
); 
4106     if (PyErr_Occurred()) return NULL
; 
4107 }    Py_INCREF(Py_None
); 
4108     _resultobj 
= Py_None
; 
4112 static PyMethodDef misccMethods
[] = { 
4113          { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4114          { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4115          { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4116          { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4117          { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4118          { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4119          { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4120          { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4121          { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4122          { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4123          { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4124          { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4125          { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4126          { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4127          { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4128          { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4129          { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4130          { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4131          { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4132          { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4133          { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4134          { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4135          { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4136          { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4137          { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4138          { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4139          { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4140          { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4141          { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4142          { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4143          { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4144          { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4145          { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4146          { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4147          { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4148          { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4149          { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4150          { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4151          { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4152          { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4153          { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4154          { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4155          { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4156          { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4157          { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4158          { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4159          { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4160          { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4161          { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4162          { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4163          { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4164          { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4165          { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4166          { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4167          { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4168          { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4169          { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4170          { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4171          { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4172          { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4173          { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4174          { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4175          { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4176          { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4177          { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4178          { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4179          { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4180          { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4181          { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4182          { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4183          { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4184          { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4185          { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4186          { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4187          { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4188          { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4189          { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4190          { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4191          { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4192          { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4193          { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4194          { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4195          { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4196          { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4197          { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4198          { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4199          { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4200          { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4201          { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4202          { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4203          { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4204          { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4205          { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4206          { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4207          { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4208          { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4209          { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4210          { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4211          { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4212          { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4213          { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4214          { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4215          { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4216          { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4217          { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4218          { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4219          { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4220          { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4221          { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4222          { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4223          { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4224          { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4225          { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4226          { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4227          { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4228          { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4229          { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4230          { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4231          { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4232          { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4233          { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4234          { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4235          { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4236          { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4237          { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4238          { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4239          { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4240          { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4241          { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4242          { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4243          { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4244          { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4245          { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4246          { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4247          { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4248          { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4255  * This table is used by the pointer type-checker 
4257 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
4258     { "_signed_long","_long",0}, 
4259     { "_wxPrintQuality","_wxCoord",0}, 
4260     { "_wxPrintQuality","_int",0}, 
4261     { "_wxPrintQuality","_signed_int",0}, 
4262     { "_wxPrintQuality","_unsigned_int",0}, 
4263     { "_wxPrintQuality","_wxWindowID",0}, 
4264     { "_wxPrintQuality","_uint",0}, 
4265     { "_wxPrintQuality","_EBool",0}, 
4266     { "_wxPrintQuality","_size_t",0}, 
4267     { "_wxPrintQuality","_time_t",0}, 
4268     { "_byte","_unsigned_char",0}, 
4269     { "_long","_unsigned_long",0}, 
4270     { "_long","_signed_long",0}, 
4271     { "_size_t","_wxCoord",0}, 
4272     { "_size_t","_wxPrintQuality",0}, 
4273     { "_size_t","_time_t",0}, 
4274     { "_size_t","_unsigned_int",0}, 
4275     { "_size_t","_int",0}, 
4276     { "_size_t","_wxWindowID",0}, 
4277     { "_size_t","_uint",0}, 
4278     { "_uint","_wxCoord",0}, 
4279     { "_uint","_wxPrintQuality",0}, 
4280     { "_uint","_time_t",0}, 
4281     { "_uint","_size_t",0}, 
4282     { "_uint","_unsigned_int",0}, 
4283     { "_uint","_int",0}, 
4284     { "_uint","_wxWindowID",0}, 
4285     { "_wxChar","_char",0}, 
4286     { "_char","_wxChar",0}, 
4287     { "_EBool","_wxCoord",0}, 
4288     { "_EBool","_wxPrintQuality",0}, 
4289     { "_EBool","_signed_int",0}, 
4290     { "_EBool","_int",0}, 
4291     { "_EBool","_wxWindowID",0}, 
4292     { "_unsigned_long","_long",0}, 
4293     { "_signed_int","_wxCoord",0}, 
4294     { "_signed_int","_wxPrintQuality",0}, 
4295     { "_signed_int","_EBool",0}, 
4296     { "_signed_int","_wxWindowID",0}, 
4297     { "_signed_int","_int",0}, 
4298     { "_WXTYPE","_short",0}, 
4299     { "_WXTYPE","_signed_short",0}, 
4300     { "_WXTYPE","_unsigned_short",0}, 
4301     { "_unsigned_short","_WXTYPE",0}, 
4302     { "_unsigned_short","_short",0}, 
4303     { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
}, 
4304     { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
}, 
4305     { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
}, 
4306     { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
}, 
4307     { "_signed_short","_WXTYPE",0}, 
4308     { "_signed_short","_short",0}, 
4309     { "_unsigned_char","_byte",0}, 
4310     { "_unsigned_int","_wxCoord",0}, 
4311     { "_unsigned_int","_wxPrintQuality",0}, 
4312     { "_unsigned_int","_time_t",0}, 
4313     { "_unsigned_int","_size_t",0}, 
4314     { "_unsigned_int","_uint",0}, 
4315     { "_unsigned_int","_wxWindowID",0}, 
4316     { "_unsigned_int","_int",0}, 
4317     { "_short","_WXTYPE",0}, 
4318     { "_short","_unsigned_short",0}, 
4319     { "_short","_signed_short",0}, 
4320     { "_wxWindowID","_wxCoord",0}, 
4321     { "_wxWindowID","_wxPrintQuality",0}, 
4322     { "_wxWindowID","_time_t",0}, 
4323     { "_wxWindowID","_size_t",0}, 
4324     { "_wxWindowID","_EBool",0}, 
4325     { "_wxWindowID","_uint",0}, 
4326     { "_wxWindowID","_int",0}, 
4327     { "_wxWindowID","_signed_int",0}, 
4328     { "_wxWindowID","_unsigned_int",0}, 
4329     { "_int","_wxCoord",0}, 
4330     { "_int","_wxPrintQuality",0}, 
4331     { "_int","_time_t",0}, 
4332     { "_int","_size_t",0}, 
4333     { "_int","_EBool",0}, 
4334     { "_int","_uint",0}, 
4335     { "_int","_wxWindowID",0}, 
4336     { "_int","_unsigned_int",0}, 
4337     { "_int","_signed_int",0}, 
4338     { "_time_t","_wxCoord",0}, 
4339     { "_time_t","_wxPrintQuality",0}, 
4340     { "_time_t","_unsigned_int",0}, 
4341     { "_time_t","_int",0}, 
4342     { "_time_t","_wxWindowID",0}, 
4343     { "_time_t","_uint",0}, 
4344     { "_time_t","_size_t",0}, 
4345     { "_wxCoord","_int",0}, 
4346     { "_wxCoord","_signed_int",0}, 
4347     { "_wxCoord","_unsigned_int",0}, 
4348     { "_wxCoord","_wxWindowID",0}, 
4349     { "_wxCoord","_uint",0}, 
4350     { "_wxCoord","_EBool",0}, 
4351     { "_wxCoord","_size_t",0}, 
4352     { "_wxCoord","_time_t",0}, 
4353     { "_wxCoord","_wxPrintQuality",0}, 
4356 static PyObject 
*SWIG_globals
; 
4360 SWIGEXPORT(void) initmiscc() { 
4362          SWIG_globals 
= SWIG_newvarlink(); 
4363          m 
= Py_InitModule("miscc", misccMethods
); 
4364          d 
= PyModule_GetDict(m
); 
4365          PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
)); 
4366          PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
)); 
4367          PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
)); 
4368          PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
)); 
4369          PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
)); 
4370          PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
)); 
4371          PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
)); 
4372          PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
)); 
4373          PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
)); 
4374          PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
)); 
4375          PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
)); 
4376          PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
)); 
4377          PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
)); 
4378          PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
)); 
4379          PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
)); 
4380          PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
)); 
4381          PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
)); 
4382          PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
)); 
4383          PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
)); 
4384          PyDict_SetItemString(d
,"cvar", SWIG_globals
); 
4385          SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
); 
4388    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
4389         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);