1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_NOINCLUDE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  41 #define SWIG_TypeRegister    SWIG_Python_TypeRegister 
  42 #define SWIG_TypeCheck       SWIG_Python_TypeCheck 
  43 #define SWIG_TypeCast        SWIG_Python_TypeCast 
  44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast 
  45 #define SWIG_TypeName        SWIG_Python_TypeName 
  46 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  47 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  48 #define SWIG_PackData        SWIG_Python_PackData  
  49 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  52 /*********************************************************************** 
  53  * common.swg for wxPython 
  55  * Include only the function prototypes and such from SWIG's common.swg, 
  56  * but not the runtime functions themselves.  This helps keep the 
  57  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  60  ************************************************************************/ 
  64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  65 #  if defined(_MSC_VER) || defined(__GNUC__) 
  66 #    if defined(STATIC_LINKED) 
  67 #      define SWIGEXPORT(a) a 
  68 #      define SWIGIMPORT(a) extern a 
  70 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  71 #      define SWIGIMPORT(a) extern a 
  74 #    if defined(__BORLANDC__) 
  75 #      define SWIGEXPORT(a) a _export 
  76 #      define SWIGIMPORT(a) a _export 
  78 #      define SWIGEXPORT(a) a 
  79 #      define SWIGIMPORT(a) a 
  83 #  define SWIGEXPORT(a) a 
  84 #  define SWIGIMPORT(a) a 
  88 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  90 #  define SWIGRUNTIME(a) static a 
  97 typedef void *(*swig_converter_func
)(void *); 
  98 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 100 typedef struct swig_type_info 
{ 
 102   swig_converter_func     converter
; 
 105   swig_dycast_func        dcast
; 
 106   struct swig_type_info  
*next
; 
 107   struct swig_type_info  
*prev
; 
 111 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 113 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 114 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 115 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 116 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 117 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 118 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 119 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 128 /*********************************************************************** 
 129  * pyrun.swg for wxPython 
 131  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 132  * but not the runtime functions themselves.  This helps keep the 
 133  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 136  ************************************************************************/ 
 144 #define SWIG_PY_INT     1 
 145 #define SWIG_PY_FLOAT   2 
 146 #define SWIG_PY_STRING  3 
 147 #define SWIG_PY_POINTER 4 
 148 #define SWIG_PY_BINARY  5 
 150 /* Flags for pointer conversion */ 
 152 #define SWIG_POINTER_EXCEPTION     0x1 
 153 #define SWIG_POINTER_DISOWN        0x2 
 155 /* Exception handling in wrappers */ 
 156 #define SWIG_fail   goto fail 
 158 /* Constant information structure */ 
 159 typedef struct swig_const_info 
{ 
 165     swig_type_info 
**ptype
; 
 168 /* Common SWIG API */ 
 169 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 170   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 171 #define SWIG_NewPointerObj(p, type, flags) \ 
 172   SWIG_Python_NewPointerObj(p, type, flags) 
 173 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 174   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 176 /* Python-specific SWIG API */ 
 177 #define SWIG_newvarlink() \ 
 178   SWIG_Python_newvarlink() 
 179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 180   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 182   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 183 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 184   SWIG_Python_NewPackedObj(ptr, sz, type) 
 185 #define SWIG_InstallConstants(d, constants) \ 
 186   SWIG_Python_InstallConstants(d, constants) 
 189 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 190 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 191 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 192 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 193 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 194 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 195 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 196 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 200 /* Contract support */ 
 202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 210 /* -------- TYPES TABLE (BEGIN) -------- */ 
 212 #define  SWIGTYPE_p_wxFrame swig_types[0]  
 213 #define  SWIGTYPE_p_wxIcon swig_types[1]  
 214 #define  SWIGTYPE_p_wxObject swig_types[2]  
 215 #define  SWIGTYPE_p_wxDialog swig_types[3]  
 216 #define  SWIGTYPE_p_wxColour swig_types[4]  
 217 #define  SWIGTYPE_p_wxWindow swig_types[5]  
 218 #define  SWIGTYPE_p_wxArtClient swig_types[6]  
 219 #define  SWIGTYPE_p_wxBitmap swig_types[7]  
 220 #define  SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[8]  
 221 #define  SWIGTYPE_p_wxPoint swig_types[9]  
 222 #define  SWIGTYPE_p_wxXmlNode swig_types[10]  
 223 #define  SWIGTYPE_p_wxInputStream swig_types[11]  
 224 #define  SWIGTYPE_p_wxOutputStream swig_types[12]  
 225 #define  SWIGTYPE_p_wxString swig_types[13]  
 226 #define  SWIGTYPE_p_wxPyXmlResourceHandler swig_types[14]  
 227 #define  SWIGTYPE_p_wxFileSystem swig_types[15]  
 228 #define  SWIGTYPE_p_wxXmlProperty swig_types[16]  
 229 #define  SWIGTYPE_p_wxFont swig_types[17]  
 230 #define  SWIGTYPE_p_wxXmlResource swig_types[18]  
 231 #define  SWIGTYPE_p_wxXmlDocument swig_types[19]  
 232 #define  SWIGTYPE_p_wxPanel swig_types[20]  
 233 #define  SWIGTYPE_p_wxSize swig_types[21]  
 234 static swig_type_info 
*swig_types
[23]; 
 236 /* -------- TYPES TABLE (END) -------- */ 
 239 /*----------------------------------------------- 
 241   ------------------------------------------------*/ 
 242 #define SWIG_init    init_xrc 
 244 #define SWIG_name    "_xrc" 
 246 #include "wx/wxPython/wxPython.h" 
 247 #include "wx/wxPython/pyclasses.h" 
 248 #include "wx/wxPython/pyistream.h" 
 250 #include <wx/xml/xml.h> 
 251 #include <wx/xrc/xmlres.h> 
 254  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 255  static const wxString 
wxPyUTF8String(wxT("UTF-8"));  
 256  static const wxString 
wxPyStyleString(wxT("style"));  
 257  static const wxString 
wxPySizeString(wxT("size"));  
 258  static const wxString 
wxPyPosString(wxT("pos"));  
 259  static const wxString 
wxPyBitmapString(wxT("bitmap"));  
 260  static const wxString 
wxPyIconString(wxT("icon"));  
 261  static const wxString 
wxPyFontString(wxT("font"));  
 262 bool wxXmlResource_LoadFromString(wxXmlResource 
*self
,wxString 
const &data
){ 
 263             static int s_memFileIdx 
= 0; 
 265             // Check for memory FS. If not present, load the handler: 
 266             wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), 
 269             wxFSFile 
*f 
= fsys
.OpenFile(wxT("memory:XRC_resource/dummy_file")); 
 270             wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file")); 
 274                 wxFileSystem::AddHandler(new wxMemoryFSHandler
); 
 276             // Now put the resource data into the memory FS 
 277             wxString 
filename(wxT("XRC_resource/data_string_")); 
 278             filename 
<< s_memFileIdx
; 
 280             wxMemoryFSHandler::AddFile(filename
, data
); 
 282             // Load the "file" into the resource object 
 283             bool retval 
= self
->Load(wxT("memory:") + filename 
); 
 288 class wxPyXmlSubclassFactory 
: public wxXmlSubclassFactory
 
 291     wxPyXmlSubclassFactory() {} 
 292     DEC_PYCALLBACK_OBJECT_STRING_pure(Create
); 
 296 IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory
, wxXmlSubclassFactory
, Create
); 
 298  // C++ version of Python aware wxXmlResourceHandler, for the pure virtual 
 299    // callbacks, as well as to make some protected things public so they can 
 301 class wxPyXmlResourceHandler 
: public wxXmlResourceHandler 
{ 
 303     wxPyXmlResourceHandler() : wxXmlResourceHandler() {} 
 304     //~wxPyXmlResourceHandler(); 
 306     // Base class virtuals 
 308     DEC_PYCALLBACK_OBJECT__pure(DoCreateResource
); 
 309     DEC_PYCALLBACK_BOOL_NODE_pure(CanHandle
); 
 312     // accessors for protected members 
 314     wxXmlResource
* GetResource()        { return m_resource
; } 
 315     wxXmlNode
* GetNode()                { return m_node
; } 
 316     wxString 
GetClass()                 { return m_class
; } 
 317     wxObject
* GetParent()               { return m_parent
; } 
 318     wxObject
* GetInstance()             { return m_instance
; } 
 319     wxWindow
* GetParentAsWindow()       { return m_parentAsWindow
; } 
 320     wxWindow
* GetInstanceAsWindow()     { return m_instanceAsWindow
; } 
 323     // turn some protected methods into public via delegation 
 325     bool IsOfClass(wxXmlNode 
*node
, const wxString
& classname
) 
 326         { return wxXmlResourceHandler::IsOfClass(node
, classname
); } 
 328     wxString 
GetNodeContent(wxXmlNode 
*node
) 
 329         { return wxXmlResourceHandler::GetNodeContent(node
); } 
 331     bool HasParam(const wxString
& param
) 
 332         { return wxXmlResourceHandler::HasParam(param
); } 
 334     wxXmlNode 
*GetParamNode(const wxString
& param
) 
 335         { return wxXmlResourceHandler::GetParamNode(param
); } 
 337     wxString 
GetParamValue(const wxString
& param
) 
 338         { return wxXmlResourceHandler::GetParamValue(param
); } 
 340     void AddStyle(const wxString
& name
, int value
) 
 341         { wxXmlResourceHandler::AddStyle(name
, value
); } 
 343     void AddWindowStyles() 
 344         { wxXmlResourceHandler::AddWindowStyles(); } 
 346     int GetStyle(const wxString
& param 
= wxT("style"), int defaults 
= 0) 
 347         { return wxXmlResourceHandler::GetStyle(param
, defaults
); } 
 349     wxString 
GetText(const wxString
& param
, bool translate 
= True
) 
 350         { return wxXmlResourceHandler::GetText(param
, translate
); } 
 353         { return wxXmlResourceHandler::GetID(); } 
 356         { return wxXmlResourceHandler::GetName(); } 
 358     bool GetBool(const wxString
& param
, bool defaultv 
= False
) 
 359         { return wxXmlResourceHandler::GetBool(param
, defaultv
); } 
 361     long GetLong( const wxString
& param
, long defaultv 
= 0 ) 
 362         { return wxXmlResourceHandler::GetLong(param
, defaultv
); } 
 364     wxColour 
GetColour(const wxString
& param
) 
 365         { return wxXmlResourceHandler::GetColour(param
); } 
 367     wxSize 
GetSize(const wxString
& param 
= wxT("size")) 
 368         { return wxXmlResourceHandler::GetSize(param
); } 
 370     wxPoint 
GetPosition(const wxString
& param 
= wxT("pos")) 
 371         { return wxXmlResourceHandler::GetPosition(param
); } 
 373     wxCoord 
GetDimension(const wxString
& param
, wxCoord defaultv 
= 0) 
 374         { return wxXmlResourceHandler::GetDimension(param
, defaultv
); } 
 376     wxBitmap 
GetBitmap(const wxString
& param 
= wxT("bitmap"), 
 377                        const wxArtClient
& defaultArtClient 
= wxART_OTHER
, 
 378                        wxSize size 
= wxDefaultSize
) 
 379         { return wxXmlResourceHandler::GetBitmap(param
, defaultArtClient
, size
); } 
 381     wxIcon 
GetIcon(const wxString
& param 
= wxT("icon"), 
 382                    const wxArtClient
& defaultArtClient 
= wxART_OTHER
, 
 383                    wxSize size 
= wxDefaultSize
) 
 384         { return wxXmlResourceHandler::GetIcon(param
, defaultArtClient
, size
); } 
 386     wxFont 
GetFont(const wxString
& param 
= wxT("font")) 
 387         { return wxXmlResourceHandler::GetFont(param
); } 
 389     void SetupWindow(wxWindow 
*wnd
) 
 390         { wxXmlResourceHandler::SetupWindow(wnd
); } 
 392     void CreateChildren(wxObject 
*parent
, bool this_hnd_only 
= False
) 
 393         { wxXmlResourceHandler::CreateChildren(parent
, this_hnd_only
); } 
 395     void CreateChildrenPrivately(wxObject 
*parent
, wxXmlNode 
*rootnode 
= NULL
) 
 396         { wxXmlResourceHandler::CreateChildrenPrivately(parent
, rootnode
); } 
 398     wxObject 
*CreateResFromNode(wxXmlNode 
*node
, 
 399                                 wxObject 
*parent
, wxObject 
*instance 
= NULL
) 
 400         { return wxXmlResourceHandler::CreateResFromNode(node
, parent
, instance
); } 
 402     wxFileSystem
& GetCurFileSystem() 
 403         { return wxXmlResourceHandler::GetCurFileSystem(); } 
 409 IMP_PYCALLBACK_OBJECT__pure(wxPyXmlResourceHandler
, wxXmlResourceHandler
, DoCreateResource
); 
 410 IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler
, wxXmlResourceHandler
, CanHandle
); 
 416 static int _wrap_UTF8String_set(PyObject 
*_val
) { 
 417     PyErr_SetString(PyExc_TypeError
,"Variable UTF8String is read-only."); 
 422 static PyObject 
*_wrap_UTF8String_get() { 
 427         pyobj 
= PyUnicode_FromWideChar((&wxPyUTF8String
)->c_str(), (&wxPyUTF8String
)->Len()); 
 429         pyobj 
= PyString_FromStringAndSize((&wxPyUTF8String
)->c_str(), (&wxPyUTF8String
)->Len()); 
 436 static int _wrap_StyleString_set(PyObject 
*_val
) { 
 437     PyErr_SetString(PyExc_TypeError
,"Variable StyleString is read-only."); 
 442 static PyObject 
*_wrap_StyleString_get() { 
 447         pyobj 
= PyUnicode_FromWideChar((&wxPyStyleString
)->c_str(), (&wxPyStyleString
)->Len()); 
 449         pyobj 
= PyString_FromStringAndSize((&wxPyStyleString
)->c_str(), (&wxPyStyleString
)->Len()); 
 456 static int _wrap_SizeString_set(PyObject 
*_val
) { 
 457     PyErr_SetString(PyExc_TypeError
,"Variable SizeString is read-only."); 
 462 static PyObject 
*_wrap_SizeString_get() { 
 467         pyobj 
= PyUnicode_FromWideChar((&wxPySizeString
)->c_str(), (&wxPySizeString
)->Len()); 
 469         pyobj 
= PyString_FromStringAndSize((&wxPySizeString
)->c_str(), (&wxPySizeString
)->Len()); 
 476 static int _wrap_PosString_set(PyObject 
*_val
) { 
 477     PyErr_SetString(PyExc_TypeError
,"Variable PosString is read-only."); 
 482 static PyObject 
*_wrap_PosString_get() { 
 487         pyobj 
= PyUnicode_FromWideChar((&wxPyPosString
)->c_str(), (&wxPyPosString
)->Len()); 
 489         pyobj 
= PyString_FromStringAndSize((&wxPyPosString
)->c_str(), (&wxPyPosString
)->Len()); 
 496 static int _wrap_BitmapString_set(PyObject 
*_val
) { 
 497     PyErr_SetString(PyExc_TypeError
,"Variable BitmapString is read-only."); 
 502 static PyObject 
*_wrap_BitmapString_get() { 
 507         pyobj 
= PyUnicode_FromWideChar((&wxPyBitmapString
)->c_str(), (&wxPyBitmapString
)->Len()); 
 509         pyobj 
= PyString_FromStringAndSize((&wxPyBitmapString
)->c_str(), (&wxPyBitmapString
)->Len()); 
 516 static int _wrap_IconString_set(PyObject 
*_val
) { 
 517     PyErr_SetString(PyExc_TypeError
,"Variable IconString is read-only."); 
 522 static PyObject 
*_wrap_IconString_get() { 
 527         pyobj 
= PyUnicode_FromWideChar((&wxPyIconString
)->c_str(), (&wxPyIconString
)->Len()); 
 529         pyobj 
= PyString_FromStringAndSize((&wxPyIconString
)->c_str(), (&wxPyIconString
)->Len()); 
 536 static int _wrap_FontString_set(PyObject 
*_val
) { 
 537     PyErr_SetString(PyExc_TypeError
,"Variable FontString is read-only."); 
 542 static PyObject 
*_wrap_FontString_get() { 
 547         pyobj 
= PyUnicode_FromWideChar((&wxPyFontString
)->c_str(), (&wxPyFontString
)->Len()); 
 549         pyobj 
= PyString_FromStringAndSize((&wxPyFontString
)->c_str(), (&wxPyFontString
)->Len()); 
 556 static PyObject 
*_wrap_new_XmlResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 559     int arg2 
= (int) wxXRC_USE_LOCALE 
; 
 560     wxXmlResource 
*result
; 
 562     PyObject 
* obj0 
= 0 ; 
 564         (char *) "filemask",(char *) "flags", NULL 
 
 567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_XmlResource",kwnames
,&obj0
,&arg2
)) goto fail
; 
 569         arg1 
= wxString_in_helper(obj0
); 
 570         if (arg1 
== NULL
) SWIG_fail
; 
 574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 575         result 
= (wxXmlResource 
*)new wxXmlResource((wxString 
const &)*arg1
,arg2
); 
 577         wxPyEndAllowThreads(__tstate
); 
 578         if (PyErr_Occurred()) SWIG_fail
; 
 580     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlResource
, 1); 
 595 static PyObject 
*_wrap_new_EmptyXmlResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 597     int arg1 
= (int) wxXRC_USE_LOCALE 
; 
 598     wxXmlResource 
*result
; 
 600         (char *) "flags", NULL 
 
 603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_EmptyXmlResource",kwnames
,&arg1
)) goto fail
; 
 605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 606         result 
= (wxXmlResource 
*)new wxXmlResource(arg1
); 
 608         wxPyEndAllowThreads(__tstate
); 
 609         if (PyErr_Occurred()) SWIG_fail
; 
 611     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlResource
, 1); 
 618 static PyObject 
*_wrap_delete_XmlResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 620     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 621     PyObject 
* obj0 
= 0 ; 
 623         (char *) "self", NULL 
 
 626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlResource",kwnames
,&obj0
)) goto fail
; 
 627     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 632         wxPyEndAllowThreads(__tstate
); 
 633         if (PyErr_Occurred()) SWIG_fail
; 
 635     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 642 static PyObject 
*_wrap_XmlResource_Load(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 644     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 648     PyObject 
* obj0 
= 0 ; 
 649     PyObject 
* obj1 
= 0 ; 
 651         (char *) "self",(char *) "filemask", NULL 
 
 654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_Load",kwnames
,&obj0
,&obj1
)) goto fail
; 
 655     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 657         arg2 
= wxString_in_helper(obj1
); 
 658         if (arg2 
== NULL
) SWIG_fail
; 
 662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 663         result 
= (bool)(arg1
)->Load((wxString 
const &)*arg2
); 
 665         wxPyEndAllowThreads(__tstate
); 
 666         if (PyErr_Occurred()) SWIG_fail
; 
 668     resultobj 
= PyInt_FromLong((long)result
); 
 683 static PyObject 
*_wrap_XmlResource_LoadFromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 685     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 689     PyObject 
* obj0 
= 0 ; 
 690     PyObject 
* obj1 
= 0 ; 
 692         (char *) "self",(char *) "data", NULL 
 
 695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
 696     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 698         arg2 
= wxString_in_helper(obj1
); 
 699         if (arg2 
== NULL
) SWIG_fail
; 
 703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 704         result 
= (bool)wxXmlResource_LoadFromString(arg1
,(wxString 
const &)*arg2
); 
 706         wxPyEndAllowThreads(__tstate
); 
 707         if (PyErr_Occurred()) SWIG_fail
; 
 709     resultobj 
= PyInt_FromLong((long)result
); 
 724 static PyObject 
*_wrap_XmlResource_InitAllHandlers(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 726     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 727     PyObject 
* obj0 
= 0 ; 
 729         (char *) "self", NULL 
 
 732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_InitAllHandlers",kwnames
,&obj0
)) goto fail
; 
 733     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 736         (arg1
)->InitAllHandlers(); 
 738         wxPyEndAllowThreads(__tstate
); 
 739         if (PyErr_Occurred()) SWIG_fail
; 
 741     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 748 static PyObject 
*_wrap_XmlResource_AddHandler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 750     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 751     wxPyXmlResourceHandler 
*arg2 
= (wxPyXmlResourceHandler 
*) 0 ; 
 752     PyObject 
* obj0 
= 0 ; 
 753     PyObject 
* obj1 
= 0 ; 
 755         (char *) "self",(char *) "handler", NULL 
 
 758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_AddHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
 759     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 760     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 763         (arg1
)->AddHandler(arg2
); 
 765         wxPyEndAllowThreads(__tstate
); 
 766         if (PyErr_Occurred()) SWIG_fail
; 
 768     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 775 static PyObject 
*_wrap_XmlResource_InsertHandler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 777     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 778     wxPyXmlResourceHandler 
*arg2 
= (wxPyXmlResourceHandler 
*) 0 ; 
 779     PyObject 
* obj0 
= 0 ; 
 780     PyObject 
* obj1 
= 0 ; 
 782         (char *) "self",(char *) "handler", NULL 
 
 785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_InsertHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
 786     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 787     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 790         (arg1
)->InsertHandler(arg2
); 
 792         wxPyEndAllowThreads(__tstate
); 
 793         if (PyErr_Occurred()) SWIG_fail
; 
 795     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 802 static PyObject 
*_wrap_XmlResource_ClearHandlers(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 804     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 805     PyObject 
* obj0 
= 0 ; 
 807         (char *) "self", NULL 
 
 810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_ClearHandlers",kwnames
,&obj0
)) goto fail
; 
 811     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 814         (arg1
)->ClearHandlers(); 
 816         wxPyEndAllowThreads(__tstate
); 
 817         if (PyErr_Occurred()) SWIG_fail
; 
 819     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 826 static PyObject 
*_wrap_XmlResource_AddSubclassFactory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 828     wxPyXmlSubclassFactory 
*arg1 
= (wxPyXmlSubclassFactory 
*) 0 ; 
 829     PyObject 
* obj0 
= 0 ; 
 831         (char *) "factory", NULL 
 
 834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_AddSubclassFactory",kwnames
,&obj0
)) goto fail
; 
 835     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlSubclassFactory
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 838         wxXmlResource::AddSubclassFactory(arg1
); 
 840         wxPyEndAllowThreads(__tstate
); 
 841         if (PyErr_Occurred()) SWIG_fail
; 
 843     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 850 static PyObject 
*_wrap_XmlResource_LoadMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 852     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 856     PyObject 
* obj0 
= 0 ; 
 857     PyObject 
* obj1 
= 0 ; 
 859         (char *) "self",(char *) "name", NULL 
 
 862     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
 863     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 865         arg2 
= wxString_in_helper(obj1
); 
 866         if (arg2 
== NULL
) SWIG_fail
; 
 870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 871         result 
= (wxMenu 
*)(arg1
)->LoadMenu((wxString 
const &)*arg2
); 
 873         wxPyEndAllowThreads(__tstate
); 
 874         if (PyErr_Occurred()) SWIG_fail
; 
 877         resultobj 
= wxPyMake_wxObject(result
);  
 893 static PyObject 
*_wrap_XmlResource_LoadMenuBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 895     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 899     PyObject 
* obj0 
= 0 ; 
 900     PyObject 
* obj1 
= 0 ; 
 902         (char *) "self",(char *) "name", NULL 
 
 905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
; 
 906     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 908         arg2 
= wxString_in_helper(obj1
); 
 909         if (arg2 
== NULL
) SWIG_fail
; 
 913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 914         result 
= (wxMenuBar 
*)(arg1
)->LoadMenuBar((wxString 
const &)*arg2
); 
 916         wxPyEndAllowThreads(__tstate
); 
 917         if (PyErr_Occurred()) SWIG_fail
; 
 920         resultobj 
= wxPyMake_wxObject(result
);  
 936 static PyObject 
*_wrap_XmlResource_LoadMenuBarOnFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 938     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 939     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
 943     PyObject 
* obj0 
= 0 ; 
 944     PyObject 
* obj1 
= 0 ; 
 945     PyObject 
* obj2 
= 0 ; 
 947         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
 950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadMenuBarOnFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
 951     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 952     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 954         arg3 
= wxString_in_helper(obj2
); 
 955         if (arg3 
== NULL
) SWIG_fail
; 
 959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 960         result 
= (wxMenuBar 
*)(arg1
)->LoadMenuBar(arg2
,(wxString 
const &)*arg3
); 
 962         wxPyEndAllowThreads(__tstate
); 
 963         if (PyErr_Occurred()) SWIG_fail
; 
 966         resultobj 
= wxPyMake_wxObject(result
);  
 982 static PyObject 
*_wrap_XmlResource_LoadToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 984     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
 985     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
 989     PyObject 
* obj0 
= 0 ; 
 990     PyObject 
* obj1 
= 0 ; 
 991     PyObject 
* obj2 
= 0 ; 
 993         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
 996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadToolBar",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
 997     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
 998     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1000         arg3 
= wxString_in_helper(obj2
); 
1001         if (arg3 
== NULL
) SWIG_fail
; 
1005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1006         result 
= (wxToolBar 
*)(arg1
)->LoadToolBar(arg2
,(wxString 
const &)*arg3
); 
1008         wxPyEndAllowThreads(__tstate
); 
1009         if (PyErr_Occurred()) SWIG_fail
; 
1012         resultobj 
= wxPyMake_wxObject(result
);  
1028 static PyObject 
*_wrap_XmlResource_LoadDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1029     PyObject 
*resultobj
; 
1030     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1031     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1032     wxString 
*arg3 
= 0 ; 
1034     bool temp3 
= False 
; 
1035     PyObject 
* obj0 
= 0 ; 
1036     PyObject 
* obj1 
= 0 ; 
1037     PyObject 
* obj2 
= 0 ; 
1039         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
1042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadDialog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1043     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1044     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1046         arg3 
= wxString_in_helper(obj2
); 
1047         if (arg3 
== NULL
) SWIG_fail
; 
1051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1052         result 
= (wxDialog 
*)(arg1
)->LoadDialog(arg2
,(wxString 
const &)*arg3
); 
1054         wxPyEndAllowThreads(__tstate
); 
1055         if (PyErr_Occurred()) SWIG_fail
; 
1057     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 0); 
1072 static PyObject 
*_wrap_XmlResource_LoadOnDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1073     PyObject 
*resultobj
; 
1074     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1075     wxDialog 
*arg2 
= (wxDialog 
*) 0 ; 
1076     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
1077     wxString 
*arg4 
= 0 ; 
1079     bool temp4 
= False 
; 
1080     PyObject 
* obj0 
= 0 ; 
1081     PyObject 
* obj1 
= 0 ; 
1082     PyObject 
* obj2 
= 0 ; 
1083     PyObject 
* obj3 
= 0 ; 
1085         (char *) "self",(char *) "dlg",(char *) "parent",(char *) "name", NULL 
 
1088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadOnDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1089     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1090     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1091     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1093         arg4 
= wxString_in_helper(obj3
); 
1094         if (arg4 
== NULL
) SWIG_fail
; 
1098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1099         result 
= (bool)(arg1
)->LoadDialog(arg2
,arg3
,(wxString 
const &)*arg4
); 
1101         wxPyEndAllowThreads(__tstate
); 
1102         if (PyErr_Occurred()) SWIG_fail
; 
1104     resultobj 
= PyInt_FromLong((long)result
); 
1119 static PyObject 
*_wrap_XmlResource_LoadPanel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1120     PyObject 
*resultobj
; 
1121     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1122     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1123     wxString 
*arg3 
= 0 ; 
1125     bool temp3 
= False 
; 
1126     PyObject 
* obj0 
= 0 ; 
1127     PyObject 
* obj1 
= 0 ; 
1128     PyObject 
* obj2 
= 0 ; 
1130         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
1133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadPanel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1134     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1135     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1137         arg3 
= wxString_in_helper(obj2
); 
1138         if (arg3 
== NULL
) SWIG_fail
; 
1142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1143         result 
= (wxPanel 
*)(arg1
)->LoadPanel(arg2
,(wxString 
const &)*arg3
); 
1145         wxPyEndAllowThreads(__tstate
); 
1146         if (PyErr_Occurred()) SWIG_fail
; 
1148     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 0); 
1163 static PyObject 
*_wrap_XmlResource_LoadOnPanel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1164     PyObject 
*resultobj
; 
1165     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1166     wxPanel 
*arg2 
= (wxPanel 
*) 0 ; 
1167     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
1168     wxString 
*arg4 
= 0 ; 
1170     bool temp4 
= False 
; 
1171     PyObject 
* obj0 
= 0 ; 
1172     PyObject 
* obj1 
= 0 ; 
1173     PyObject 
* obj2 
= 0 ; 
1174     PyObject 
* obj3 
= 0 ; 
1176         (char *) "self",(char *) "panel",(char *) "parent",(char *) "name", NULL 
 
1179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadOnPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1180     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1181     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1182     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1184         arg4 
= wxString_in_helper(obj3
); 
1185         if (arg4 
== NULL
) SWIG_fail
; 
1189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1190         result 
= (bool)(arg1
)->LoadPanel(arg2
,arg3
,(wxString 
const &)*arg4
); 
1192         wxPyEndAllowThreads(__tstate
); 
1193         if (PyErr_Occurred()) SWIG_fail
; 
1195     resultobj 
= PyInt_FromLong((long)result
); 
1210 static PyObject 
*_wrap_XmlResource_LoadFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1211     PyObject 
*resultobj
; 
1212     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1213     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1214     wxString 
*arg3 
= 0 ; 
1216     bool temp3 
= False 
; 
1217     PyObject 
* obj0 
= 0 ; 
1218     PyObject 
* obj1 
= 0 ; 
1219     PyObject 
* obj2 
= 0 ; 
1221         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
1224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1225     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1226     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1228         arg3 
= wxString_in_helper(obj2
); 
1229         if (arg3 
== NULL
) SWIG_fail
; 
1233         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1234         result 
= (wxFrame 
*)(arg1
)->LoadFrame(arg2
,(wxString 
const &)*arg3
); 
1236         wxPyEndAllowThreads(__tstate
); 
1237         if (PyErr_Occurred()) SWIG_fail
; 
1240         resultobj 
= wxPyMake_wxObject(result
);  
1256 static PyObject 
*_wrap_XmlResource_LoadOnFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1257     PyObject 
*resultobj
; 
1258     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1259     wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
1260     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
1261     wxString 
*arg4 
= 0 ; 
1263     bool temp4 
= False 
; 
1264     PyObject 
* obj0 
= 0 ; 
1265     PyObject 
* obj1 
= 0 ; 
1266     PyObject 
* obj2 
= 0 ; 
1267     PyObject 
* obj3 
= 0 ; 
1269         (char *) "self",(char *) "frame",(char *) "parent",(char *) "name", NULL 
 
1272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadOnFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1273     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1274     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1275     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1277         arg4 
= wxString_in_helper(obj3
); 
1278         if (arg4 
== NULL
) SWIG_fail
; 
1282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1283         result 
= (bool)(arg1
)->LoadFrame(arg2
,arg3
,(wxString 
const &)*arg4
); 
1285         wxPyEndAllowThreads(__tstate
); 
1286         if (PyErr_Occurred()) SWIG_fail
; 
1288     resultobj 
= PyInt_FromLong((long)result
); 
1303 static PyObject 
*_wrap_XmlResource_LoadObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1304     PyObject 
*resultobj
; 
1305     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1306     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1307     wxString 
*arg3 
= 0 ; 
1308     wxString 
*arg4 
= 0 ; 
1310     bool temp3 
= False 
; 
1311     bool temp4 
= False 
; 
1312     PyObject 
* obj0 
= 0 ; 
1313     PyObject 
* obj1 
= 0 ; 
1314     PyObject 
* obj2 
= 0 ; 
1315     PyObject 
* obj3 
= 0 ; 
1317         (char *) "self",(char *) "parent",(char *) "name",(char *) "classname", NULL 
 
1320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadObject",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1321     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1322     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1324         arg3 
= wxString_in_helper(obj2
); 
1325         if (arg3 
== NULL
) SWIG_fail
; 
1329         arg4 
= wxString_in_helper(obj3
); 
1330         if (arg4 
== NULL
) SWIG_fail
; 
1334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1335         result 
= (wxObject 
*)(arg1
)->LoadObject(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
1337         wxPyEndAllowThreads(__tstate
); 
1338         if (PyErr_Occurred()) SWIG_fail
; 
1341         resultobj 
= wxPyMake_wxObject(result
);  
1365 static PyObject 
*_wrap_XmlResource_LoadOnObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1366     PyObject 
*resultobj
; 
1367     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1368     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
1369     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
1370     wxString 
*arg4 
= 0 ; 
1371     wxString 
*arg5 
= 0 ; 
1373     bool temp4 
= False 
; 
1374     bool temp5 
= False 
; 
1375     PyObject 
* obj0 
= 0 ; 
1376     PyObject 
* obj1 
= 0 ; 
1377     PyObject 
* obj2 
= 0 ; 
1378     PyObject 
* obj3 
= 0 ; 
1379     PyObject 
* obj4 
= 0 ; 
1381         (char *) "self",(char *) "instance",(char *) "parent",(char *) "name",(char *) "classname", NULL 
 
1384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:XmlResource_LoadOnObject",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
1385     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1386     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1387     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1389         arg4 
= wxString_in_helper(obj3
); 
1390         if (arg4 
== NULL
) SWIG_fail
; 
1394         arg5 
= wxString_in_helper(obj4
); 
1395         if (arg5 
== NULL
) SWIG_fail
; 
1399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1400         result 
= (bool)(arg1
)->LoadObject(arg2
,arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
); 
1402         wxPyEndAllowThreads(__tstate
); 
1403         if (PyErr_Occurred()) SWIG_fail
; 
1405     resultobj 
= PyInt_FromLong((long)result
); 
1428 static PyObject 
*_wrap_XmlResource_LoadBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1429     PyObject 
*resultobj
; 
1430     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1431     wxString 
*arg2 
= 0 ; 
1433     bool temp2 
= False 
; 
1434     PyObject 
* obj0 
= 0 ; 
1435     PyObject 
* obj1 
= 0 ; 
1437         (char *) "self",(char *) "name", NULL 
 
1440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
1441     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1443         arg2 
= wxString_in_helper(obj1
); 
1444         if (arg2 
== NULL
) SWIG_fail
; 
1448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1449         result 
= (arg1
)->LoadBitmap((wxString 
const &)*arg2
); 
1451         wxPyEndAllowThreads(__tstate
); 
1452         if (PyErr_Occurred()) SWIG_fail
; 
1455         wxBitmap 
* resultptr
; 
1456         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1457         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1); 
1473 static PyObject 
*_wrap_XmlResource_LoadIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1474     PyObject 
*resultobj
; 
1475     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1476     wxString 
*arg2 
= 0 ; 
1478     bool temp2 
= False 
; 
1479     PyObject 
* obj0 
= 0 ; 
1480     PyObject 
* obj1 
= 0 ; 
1482         (char *) "self",(char *) "name", NULL 
 
1485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
1486     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1488         arg2 
= wxString_in_helper(obj1
); 
1489         if (arg2 
== NULL
) SWIG_fail
; 
1493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1494         result 
= (arg1
)->LoadIcon((wxString 
const &)*arg2
); 
1496         wxPyEndAllowThreads(__tstate
); 
1497         if (PyErr_Occurred()) SWIG_fail
; 
1501         resultptr 
= new wxIcon((wxIcon 
&) result
); 
1502         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1); 
1518 static PyObject 
*_wrap_XmlResource_AttachUnknownControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1519     PyObject 
*resultobj
; 
1520     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1521     wxString 
*arg2 
= 0 ; 
1522     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
1523     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
1525     bool temp2 
= False 
; 
1526     PyObject 
* obj0 
= 0 ; 
1527     PyObject 
* obj1 
= 0 ; 
1528     PyObject 
* obj2 
= 0 ; 
1529     PyObject 
* obj3 
= 0 ; 
1531         (char *) "self",(char *) "name",(char *) "control",(char *) "parent", NULL 
 
1534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:XmlResource_AttachUnknownControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1535     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1537         arg2 
= wxString_in_helper(obj1
); 
1538         if (arg2 
== NULL
) SWIG_fail
; 
1541     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1543         if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1547         result 
= (bool)(arg1
)->AttachUnknownControl((wxString 
const &)*arg2
,arg3
,arg4
); 
1549         wxPyEndAllowThreads(__tstate
); 
1550         if (PyErr_Occurred()) SWIG_fail
; 
1552     resultobj 
= PyInt_FromLong((long)result
); 
1567 static PyObject 
*_wrap_XmlResource_GetXRCID(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1568     PyObject 
*resultobj
; 
1569     wxString 
*arg1 
= 0 ; 
1571     bool temp1 
= False 
; 
1572     PyObject 
* obj0 
= 0 ; 
1574         (char *) "str_id", NULL 
 
1577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_GetXRCID",kwnames
,&obj0
)) goto fail
; 
1579         arg1 
= wxString_in_helper(obj0
); 
1580         if (arg1 
== NULL
) SWIG_fail
; 
1584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1585         result 
= (int)wxXmlResource::GetXRCID((wxString 
const &)*arg1
); 
1587         wxPyEndAllowThreads(__tstate
); 
1588         if (PyErr_Occurred()) SWIG_fail
; 
1590     resultobj 
= PyInt_FromLong((long)result
); 
1605 static PyObject 
*_wrap_XmlResource_GetVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1606     PyObject 
*resultobj
; 
1607     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1609     PyObject 
* obj0 
= 0 ; 
1611         (char *) "self", NULL 
 
1614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_GetVersion",kwnames
,&obj0
)) goto fail
; 
1615     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1617         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1618         result 
= (long)((wxXmlResource 
const *)arg1
)->GetVersion(); 
1620         wxPyEndAllowThreads(__tstate
); 
1621         if (PyErr_Occurred()) SWIG_fail
; 
1623     resultobj 
= PyInt_FromLong((long)result
); 
1630 static PyObject 
*_wrap_XmlResource_CompareVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1631     PyObject 
*resultobj
; 
1632     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1638     PyObject 
* obj0 
= 0 ; 
1640         (char *) "self",(char *) "major",(char *) "minor",(char *) "release",(char *) "revision", NULL 
 
1643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:XmlResource_CompareVersion",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
; 
1644     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1647         result 
= (int)((wxXmlResource 
const *)arg1
)->CompareVersion(arg2
,arg3
,arg4
,arg5
); 
1649         wxPyEndAllowThreads(__tstate
); 
1650         if (PyErr_Occurred()) SWIG_fail
; 
1652     resultobj 
= PyInt_FromLong((long)result
); 
1659 static PyObject 
*_wrap_XmlResource_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1660     PyObject 
*resultobj
; 
1661     wxXmlResource 
*result
; 
1666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":XmlResource_Get",kwnames
)) goto fail
; 
1668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1669         result 
= (wxXmlResource 
*)wxXmlResource::Get(); 
1671         wxPyEndAllowThreads(__tstate
); 
1672         if (PyErr_Occurred()) SWIG_fail
; 
1674     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlResource
, 0); 
1681 static PyObject 
*_wrap_XmlResource_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1682     PyObject 
*resultobj
; 
1683     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1684     wxXmlResource 
*result
; 
1685     PyObject 
* obj0 
= 0 ; 
1687         (char *) "res", NULL 
 
1690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_Set",kwnames
,&obj0
)) goto fail
; 
1691     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1694         result 
= (wxXmlResource 
*)wxXmlResource::Set(arg1
); 
1696         wxPyEndAllowThreads(__tstate
); 
1697         if (PyErr_Occurred()) SWIG_fail
; 
1699     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlResource
, 0); 
1706 static PyObject 
*_wrap_XmlResource_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1707     PyObject 
*resultobj
; 
1708     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1710     PyObject 
* obj0 
= 0 ; 
1712         (char *) "self", NULL 
 
1715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_GetFlags",kwnames
,&obj0
)) goto fail
; 
1716     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1719         result 
= (int)(arg1
)->GetFlags(); 
1721         wxPyEndAllowThreads(__tstate
); 
1722         if (PyErr_Occurred()) SWIG_fail
; 
1724     resultobj 
= PyInt_FromLong((long)result
); 
1731 static PyObject 
*_wrap_XmlResource_SetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1732     PyObject 
*resultobj
; 
1733     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1735     PyObject 
* obj0 
= 0 ; 
1737         (char *) "self",(char *) "flags", NULL 
 
1740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:XmlResource_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
; 
1741     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1744         (arg1
)->SetFlags(arg2
); 
1746         wxPyEndAllowThreads(__tstate
); 
1747         if (PyErr_Occurred()) SWIG_fail
; 
1749     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1756 static PyObject 
* XmlResource_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1758     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1759     SWIG_TypeClientData(SWIGTYPE_p_wxXmlResource
, obj
); 
1761     return Py_BuildValue((char *)""); 
1763 static PyObject 
*_wrap_new_XmlSubclassFactory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1764     PyObject 
*resultobj
; 
1765     wxPyXmlSubclassFactory 
*result
; 
1770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XmlSubclassFactory",kwnames
)) goto fail
; 
1772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1773         result 
= (wxPyXmlSubclassFactory 
*)new wxPyXmlSubclassFactory(); 
1775         wxPyEndAllowThreads(__tstate
); 
1776         if (PyErr_Occurred()) SWIG_fail
; 
1778     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyXmlSubclassFactory
, 1); 
1785 static PyObject 
*_wrap_XmlSubclassFactory__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1786     PyObject 
*resultobj
; 
1787     wxPyXmlSubclassFactory 
*arg1 
= (wxPyXmlSubclassFactory 
*) 0 ; 
1788     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
1789     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
1790     PyObject 
* obj0 
= 0 ; 
1791     PyObject 
* obj1 
= 0 ; 
1792     PyObject 
* obj2 
= 0 ; 
1794         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
1797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlSubclassFactory__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1798     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlSubclassFactory
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1803         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
1805         wxPyEndAllowThreads(__tstate
); 
1806         if (PyErr_Occurred()) SWIG_fail
; 
1808     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1815 static PyObject 
* XmlSubclassFactory_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1817     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1818     SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlSubclassFactory
, obj
); 
1820     return Py_BuildValue((char *)""); 
1822 static PyObject 
*_wrap_new_XmlProperty(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1823     PyObject 
*resultobj
; 
1824     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
1825     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
1826     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
1827     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
1828     wxXmlProperty 
*arg3 
= (wxXmlProperty 
*) NULL 
; 
1829     wxXmlProperty 
*result
; 
1830     bool temp1 
= False 
; 
1831     bool temp2 
= False 
; 
1832     PyObject 
* obj0 
= 0 ; 
1833     PyObject 
* obj1 
= 0 ; 
1834     PyObject 
* obj2 
= 0 ; 
1836         (char *) "name",(char *) "value",(char *) "next", NULL 
 
1839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_XmlProperty",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1842             arg1 
= wxString_in_helper(obj0
); 
1843             if (arg1 
== NULL
) SWIG_fail
; 
1849             arg2 
= wxString_in_helper(obj1
); 
1850             if (arg2 
== NULL
) SWIG_fail
; 
1855         if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1859         result 
= (wxXmlProperty 
*)new wxXmlProperty((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
1861         wxPyEndAllowThreads(__tstate
); 
1862         if (PyErr_Occurred()) SWIG_fail
; 
1864     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlProperty
, 1); 
1887 static PyObject 
*_wrap_XmlProperty_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1888     PyObject 
*resultobj
; 
1889     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
1891     PyObject 
* obj0 
= 0 ; 
1893         (char *) "self", NULL 
 
1896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlProperty_GetName",kwnames
,&obj0
)) goto fail
; 
1897     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1900         result 
= ((wxXmlProperty 
const *)arg1
)->GetName(); 
1902         wxPyEndAllowThreads(__tstate
); 
1903         if (PyErr_Occurred()) SWIG_fail
; 
1907         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1909         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1918 static PyObject 
*_wrap_XmlProperty_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1919     PyObject 
*resultobj
; 
1920     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
1922     PyObject 
* obj0 
= 0 ; 
1924         (char *) "self", NULL 
 
1927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlProperty_GetValue",kwnames
,&obj0
)) goto fail
; 
1928     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1931         result 
= ((wxXmlProperty 
const *)arg1
)->GetValue(); 
1933         wxPyEndAllowThreads(__tstate
); 
1934         if (PyErr_Occurred()) SWIG_fail
; 
1938         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1940         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1949 static PyObject 
*_wrap_XmlProperty_GetNext(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1950     PyObject 
*resultobj
; 
1951     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
1952     wxXmlProperty 
*result
; 
1953     PyObject 
* obj0 
= 0 ; 
1955         (char *) "self", NULL 
 
1958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlProperty_GetNext",kwnames
,&obj0
)) goto fail
; 
1959     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1962         result 
= (wxXmlProperty 
*)((wxXmlProperty 
const *)arg1
)->GetNext(); 
1964         wxPyEndAllowThreads(__tstate
); 
1965         if (PyErr_Occurred()) SWIG_fail
; 
1967     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlProperty
, 0); 
1974 static PyObject 
*_wrap_XmlProperty_SetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1975     PyObject 
*resultobj
; 
1976     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
1977     wxString 
*arg2 
= 0 ; 
1978     bool temp2 
= False 
; 
1979     PyObject 
* obj0 
= 0 ; 
1980     PyObject 
* obj1 
= 0 ; 
1982         (char *) "self",(char *) "name", NULL 
 
1985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlProperty_SetName",kwnames
,&obj0
,&obj1
)) goto fail
; 
1986     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
1988         arg2 
= wxString_in_helper(obj1
); 
1989         if (arg2 
== NULL
) SWIG_fail
; 
1993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1994         (arg1
)->SetName((wxString 
const &)*arg2
); 
1996         wxPyEndAllowThreads(__tstate
); 
1997         if (PyErr_Occurred()) SWIG_fail
; 
1999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2014 static PyObject 
*_wrap_XmlProperty_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2015     PyObject 
*resultobj
; 
2016     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
2017     wxString 
*arg2 
= 0 ; 
2018     bool temp2 
= False 
; 
2019     PyObject 
* obj0 
= 0 ; 
2020     PyObject 
* obj1 
= 0 ; 
2022         (char *) "self",(char *) "value", NULL 
 
2025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlProperty_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
2026     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2028         arg2 
= wxString_in_helper(obj1
); 
2029         if (arg2 
== NULL
) SWIG_fail
; 
2033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2034         (arg1
)->SetValue((wxString 
const &)*arg2
); 
2036         wxPyEndAllowThreads(__tstate
); 
2037         if (PyErr_Occurred()) SWIG_fail
; 
2039     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2054 static PyObject 
*_wrap_XmlProperty_SetNext(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2055     PyObject 
*resultobj
; 
2056     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
2057     wxXmlProperty 
*arg2 
= (wxXmlProperty 
*) 0 ; 
2058     PyObject 
* obj0 
= 0 ; 
2059     PyObject 
* obj1 
= 0 ; 
2061         (char *) "self",(char *) "next", NULL 
 
2064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlProperty_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
; 
2065     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2066     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2068         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2069         (arg1
)->SetNext(arg2
); 
2071         wxPyEndAllowThreads(__tstate
); 
2072         if (PyErr_Occurred()) SWIG_fail
; 
2074     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2081 static PyObject 
* XmlProperty_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2083     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2084     SWIG_TypeClientData(SWIGTYPE_p_wxXmlProperty
, obj
); 
2086     return Py_BuildValue((char *)""); 
2088 static PyObject 
*_wrap_new_XmlNode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2089     PyObject 
*resultobj
; 
2090     wxXmlNode 
*arg1 
= (wxXmlNode 
*) NULL 
; 
2091     int arg2 
= (int) 0 ; 
2092     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2093     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2094     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2095     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2096     wxXmlProperty 
*arg5 
= (wxXmlProperty 
*) NULL 
; 
2097     wxXmlNode 
*arg6 
= (wxXmlNode 
*) NULL 
; 
2099     bool temp3 
= False 
; 
2100     bool temp4 
= False 
; 
2101     PyObject 
* obj0 
= 0 ; 
2102     PyObject 
* obj2 
= 0 ; 
2103     PyObject 
* obj3 
= 0 ; 
2104     PyObject 
* obj4 
= 0 ; 
2105     PyObject 
* obj5 
= 0 ; 
2107         (char *) "parent",(char *) "type",(char *) "name",(char *) "content",(char *) "props",(char *) "next", NULL 
 
2110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOOO:new_XmlNode",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
2112         if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2116             arg3 
= wxString_in_helper(obj2
); 
2117             if (arg3 
== NULL
) SWIG_fail
; 
2123             arg4 
= wxString_in_helper(obj3
); 
2124             if (arg4 
== NULL
) SWIG_fail
; 
2129         if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2132         if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2136         result 
= (wxXmlNode 
*)new wxXmlNode(arg1
,(wxXmlNodeType 
)arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
2138         wxPyEndAllowThreads(__tstate
); 
2139         if (PyErr_Occurred()) SWIG_fail
; 
2141     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 1); 
2164 static PyObject 
*_wrap_delete_XmlNode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2165     PyObject 
*resultobj
; 
2166     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2167     PyObject 
* obj0 
= 0 ; 
2169         (char *) "self", NULL 
 
2172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlNode",kwnames
,&obj0
)) goto fail
; 
2173     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2178         wxPyEndAllowThreads(__tstate
); 
2179         if (PyErr_Occurred()) SWIG_fail
; 
2181     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2188 static PyObject 
*_wrap_new_XmlNodeEasy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2189     PyObject 
*resultobj
; 
2191     wxString 
*arg2 
= 0 ; 
2192     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2193     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2195     bool temp2 
= False 
; 
2196     bool temp3 
= False 
; 
2197     PyObject 
* obj1 
= 0 ; 
2198     PyObject 
* obj2 
= 0 ; 
2200         (char *) "type",(char *) "name",(char *) "content", NULL 
 
2203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO|O:new_XmlNodeEasy",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
; 
2205         arg2 
= wxString_in_helper(obj1
); 
2206         if (arg2 
== NULL
) SWIG_fail
; 
2211             arg3 
= wxString_in_helper(obj2
); 
2212             if (arg3 
== NULL
) SWIG_fail
; 
2217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2218         result 
= (wxXmlNode 
*)new wxXmlNode((wxXmlNodeType 
)arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
2220         wxPyEndAllowThreads(__tstate
); 
2221         if (PyErr_Occurred()) SWIG_fail
; 
2223     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 1); 
2246 static PyObject 
*_wrap_XmlNode_AddChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2247     PyObject 
*resultobj
; 
2248     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2249     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
2250     PyObject 
* obj0 
= 0 ; 
2251     PyObject 
* obj1 
= 0 ; 
2253         (char *) "self",(char *) "child", NULL 
 
2256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
2257     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2258     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2261         (arg1
)->AddChild(arg2
); 
2263         wxPyEndAllowThreads(__tstate
); 
2264         if (PyErr_Occurred()) SWIG_fail
; 
2266     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2273 static PyObject 
*_wrap_XmlNode_InsertChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2274     PyObject 
*resultobj
; 
2275     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2276     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
2277     wxXmlNode 
*arg3 
= (wxXmlNode 
*) 0 ; 
2278     PyObject 
* obj0 
= 0 ; 
2279     PyObject 
* obj1 
= 0 ; 
2280     PyObject 
* obj2 
= 0 ; 
2282         (char *) "self",(char *) "child",(char *) "before_node", NULL 
 
2285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlNode_InsertChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2286     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2287     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2288     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2291         (arg1
)->InsertChild(arg2
,arg3
); 
2293         wxPyEndAllowThreads(__tstate
); 
2294         if (PyErr_Occurred()) SWIG_fail
; 
2296     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2303 static PyObject 
*_wrap_XmlNode_RemoveChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2304     PyObject 
*resultobj
; 
2305     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2306     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
2308     PyObject 
* obj0 
= 0 ; 
2309     PyObject 
* obj1 
= 0 ; 
2311         (char *) "self",(char *) "child", NULL 
 
2314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
2315     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2316     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2319         result 
= (bool)(arg1
)->RemoveChild(arg2
); 
2321         wxPyEndAllowThreads(__tstate
); 
2322         if (PyErr_Occurred()) SWIG_fail
; 
2324     resultobj 
= PyInt_FromLong((long)result
); 
2331 static PyObject 
*_wrap_XmlNode_AddProperty(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2332     PyObject 
*resultobj
; 
2333     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2334     wxXmlProperty 
*arg2 
= (wxXmlProperty 
*) 0 ; 
2335     PyObject 
* obj0 
= 0 ; 
2336     PyObject 
* obj1 
= 0 ; 
2338         (char *) "self",(char *) "prop", NULL 
 
2341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_AddProperty",kwnames
,&obj0
,&obj1
)) goto fail
; 
2342     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2343     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2346         (arg1
)->AddProperty(arg2
); 
2348         wxPyEndAllowThreads(__tstate
); 
2349         if (PyErr_Occurred()) SWIG_fail
; 
2351     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2358 static PyObject 
*_wrap_XmlNode_AddPropertyName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2359     PyObject 
*resultobj
; 
2360     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2361     wxString 
*arg2 
= 0 ; 
2362     wxString 
*arg3 
= 0 ; 
2363     bool temp2 
= False 
; 
2364     bool temp3 
= False 
; 
2365     PyObject 
* obj0 
= 0 ; 
2366     PyObject 
* obj1 
= 0 ; 
2367     PyObject 
* obj2 
= 0 ; 
2369         (char *) "self",(char *) "name",(char *) "value", NULL 
 
2372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlNode_AddPropertyName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2373     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2375         arg2 
= wxString_in_helper(obj1
); 
2376         if (arg2 
== NULL
) SWIG_fail
; 
2380         arg3 
= wxString_in_helper(obj2
); 
2381         if (arg3 
== NULL
) SWIG_fail
; 
2385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2386         (arg1
)->AddProperty((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
2388         wxPyEndAllowThreads(__tstate
); 
2389         if (PyErr_Occurred()) SWIG_fail
; 
2391     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2414 static PyObject 
*_wrap_XmlNode_DeleteProperty(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2415     PyObject 
*resultobj
; 
2416     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2417     wxString 
*arg2 
= 0 ; 
2419     bool temp2 
= False 
; 
2420     PyObject 
* obj0 
= 0 ; 
2421     PyObject 
* obj1 
= 0 ; 
2423         (char *) "self",(char *) "name", NULL 
 
2426     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_DeleteProperty",kwnames
,&obj0
,&obj1
)) goto fail
; 
2427     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2429         arg2 
= wxString_in_helper(obj1
); 
2430         if (arg2 
== NULL
) SWIG_fail
; 
2434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2435         result 
= (bool)(arg1
)->DeleteProperty((wxString 
const &)*arg2
); 
2437         wxPyEndAllowThreads(__tstate
); 
2438         if (PyErr_Occurred()) SWIG_fail
; 
2440     resultobj 
= PyInt_FromLong((long)result
); 
2455 static PyObject 
*_wrap_XmlNode_GetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2456     PyObject 
*resultobj
; 
2457     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2459     PyObject 
* obj0 
= 0 ; 
2461         (char *) "self", NULL 
 
2464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetType",kwnames
,&obj0
)) goto fail
; 
2465     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2468         result 
= (int)((wxXmlNode 
const *)arg1
)->GetType(); 
2470         wxPyEndAllowThreads(__tstate
); 
2471         if (PyErr_Occurred()) SWIG_fail
; 
2473     resultobj 
= PyInt_FromLong((long)result
); 
2480 static PyObject 
*_wrap_XmlNode_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2481     PyObject 
*resultobj
; 
2482     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2484     PyObject 
* obj0 
= 0 ; 
2486         (char *) "self", NULL 
 
2489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetName",kwnames
,&obj0
)) goto fail
; 
2490     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2493         result 
= ((wxXmlNode 
const *)arg1
)->GetName(); 
2495         wxPyEndAllowThreads(__tstate
); 
2496         if (PyErr_Occurred()) SWIG_fail
; 
2500         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2502         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2511 static PyObject 
*_wrap_XmlNode_GetContent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2512     PyObject 
*resultobj
; 
2513     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2515     PyObject 
* obj0 
= 0 ; 
2517         (char *) "self", NULL 
 
2520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetContent",kwnames
,&obj0
)) goto fail
; 
2521     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2524         result 
= ((wxXmlNode 
const *)arg1
)->GetContent(); 
2526         wxPyEndAllowThreads(__tstate
); 
2527         if (PyErr_Occurred()) SWIG_fail
; 
2531         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2533         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2542 static PyObject 
*_wrap_XmlNode_GetParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2543     PyObject 
*resultobj
; 
2544     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2546     PyObject 
* obj0 
= 0 ; 
2548         (char *) "self", NULL 
 
2551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetParent",kwnames
,&obj0
)) goto fail
; 
2552     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2555         result 
= (wxXmlNode 
*)((wxXmlNode 
const *)arg1
)->GetParent(); 
2557         wxPyEndAllowThreads(__tstate
); 
2558         if (PyErr_Occurred()) SWIG_fail
; 
2560     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 0); 
2567 static PyObject 
*_wrap_XmlNode_GetNext(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2568     PyObject 
*resultobj
; 
2569     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2571     PyObject 
* obj0 
= 0 ; 
2573         (char *) "self", NULL 
 
2576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetNext",kwnames
,&obj0
)) goto fail
; 
2577     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2580         result 
= (wxXmlNode 
*)((wxXmlNode 
const *)arg1
)->GetNext(); 
2582         wxPyEndAllowThreads(__tstate
); 
2583         if (PyErr_Occurred()) SWIG_fail
; 
2585     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 0); 
2592 static PyObject 
*_wrap_XmlNode_GetChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2593     PyObject 
*resultobj
; 
2594     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2596     PyObject 
* obj0 
= 0 ; 
2598         (char *) "self", NULL 
 
2601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetChildren",kwnames
,&obj0
)) goto fail
; 
2602     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2605         result 
= (wxXmlNode 
*)((wxXmlNode 
const *)arg1
)->GetChildren(); 
2607         wxPyEndAllowThreads(__tstate
); 
2608         if (PyErr_Occurred()) SWIG_fail
; 
2610     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 0); 
2617 static PyObject 
*_wrap_XmlNode_GetProperties(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2618     PyObject 
*resultobj
; 
2619     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2620     wxXmlProperty 
*result
; 
2621     PyObject 
* obj0 
= 0 ; 
2623         (char *) "self", NULL 
 
2626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetProperties",kwnames
,&obj0
)) goto fail
; 
2627     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2630         result 
= (wxXmlProperty 
*)((wxXmlNode 
const *)arg1
)->GetProperties(); 
2632         wxPyEndAllowThreads(__tstate
); 
2633         if (PyErr_Occurred()) SWIG_fail
; 
2635     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlProperty
, 0); 
2642 static PyObject 
*_wrap_XmlNode_GetPropVal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2643     PyObject 
*resultobj
; 
2644     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2645     wxString 
*arg2 
= 0 ; 
2646     wxString 
*arg3 
= 0 ; 
2648     bool temp2 
= False 
; 
2649     bool temp3 
= False 
; 
2650     PyObject 
* obj0 
= 0 ; 
2651     PyObject 
* obj1 
= 0 ; 
2652     PyObject 
* obj2 
= 0 ; 
2654         (char *) "self",(char *) "propName",(char *) "defaultVal", NULL 
 
2657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlNode_GetPropVal",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2658     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2660         arg2 
= wxString_in_helper(obj1
); 
2661         if (arg2 
== NULL
) SWIG_fail
; 
2665         arg3 
= wxString_in_helper(obj2
); 
2666         if (arg3 
== NULL
) SWIG_fail
; 
2670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2671         result 
= ((wxXmlNode 
const *)arg1
)->GetPropVal((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
2673         wxPyEndAllowThreads(__tstate
); 
2674         if (PyErr_Occurred()) SWIG_fail
; 
2678         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2680         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2705 static PyObject 
*_wrap_XmlNode_HasProp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2706     PyObject 
*resultobj
; 
2707     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2708     wxString 
*arg2 
= 0 ; 
2710     bool temp2 
= False 
; 
2711     PyObject 
* obj0 
= 0 ; 
2712     PyObject 
* obj1 
= 0 ; 
2714         (char *) "self",(char *) "propName", NULL 
 
2717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_HasProp",kwnames
,&obj0
,&obj1
)) goto fail
; 
2718     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2720         arg2 
= wxString_in_helper(obj1
); 
2721         if (arg2 
== NULL
) SWIG_fail
; 
2725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2726         result 
= (bool)((wxXmlNode 
const *)arg1
)->HasProp((wxString 
const &)*arg2
); 
2728         wxPyEndAllowThreads(__tstate
); 
2729         if (PyErr_Occurred()) SWIG_fail
; 
2731     resultobj 
= PyInt_FromLong((long)result
); 
2746 static PyObject 
*_wrap_XmlNode_SetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2747     PyObject 
*resultobj
; 
2748     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2750     PyObject 
* obj0 
= 0 ; 
2752         (char *) "self",(char *) "type", NULL 
 
2755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:XmlNode_SetType",kwnames
,&obj0
,&arg2
)) goto fail
; 
2756     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2759         (arg1
)->SetType((wxXmlNodeType 
)arg2
); 
2761         wxPyEndAllowThreads(__tstate
); 
2762         if (PyErr_Occurred()) SWIG_fail
; 
2764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2771 static PyObject 
*_wrap_XmlNode_SetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2772     PyObject 
*resultobj
; 
2773     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2774     wxString 
*arg2 
= 0 ; 
2775     bool temp2 
= False 
; 
2776     PyObject 
* obj0 
= 0 ; 
2777     PyObject 
* obj1 
= 0 ; 
2779         (char *) "self",(char *) "name", NULL 
 
2782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetName",kwnames
,&obj0
,&obj1
)) goto fail
; 
2783     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2785         arg2 
= wxString_in_helper(obj1
); 
2786         if (arg2 
== NULL
) SWIG_fail
; 
2790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2791         (arg1
)->SetName((wxString 
const &)*arg2
); 
2793         wxPyEndAllowThreads(__tstate
); 
2794         if (PyErr_Occurred()) SWIG_fail
; 
2796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2811 static PyObject 
*_wrap_XmlNode_SetContent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2812     PyObject 
*resultobj
; 
2813     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2814     wxString 
*arg2 
= 0 ; 
2815     bool temp2 
= False 
; 
2816     PyObject 
* obj0 
= 0 ; 
2817     PyObject 
* obj1 
= 0 ; 
2819         (char *) "self",(char *) "con", NULL 
 
2822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetContent",kwnames
,&obj0
,&obj1
)) goto fail
; 
2823     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2825         arg2 
= wxString_in_helper(obj1
); 
2826         if (arg2 
== NULL
) SWIG_fail
; 
2830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2831         (arg1
)->SetContent((wxString 
const &)*arg2
); 
2833         wxPyEndAllowThreads(__tstate
); 
2834         if (PyErr_Occurred()) SWIG_fail
; 
2836     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2851 static PyObject 
*_wrap_XmlNode_SetParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2852     PyObject 
*resultobj
; 
2853     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2854     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
2855     PyObject 
* obj0 
= 0 ; 
2856     PyObject 
* obj1 
= 0 ; 
2858         (char *) "self",(char *) "parent", NULL 
 
2861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
2862     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2863     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2865         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2866         (arg1
)->SetParent(arg2
); 
2868         wxPyEndAllowThreads(__tstate
); 
2869         if (PyErr_Occurred()) SWIG_fail
; 
2871     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2878 static PyObject 
*_wrap_XmlNode_SetNext(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2879     PyObject 
*resultobj
; 
2880     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2881     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
2882     PyObject 
* obj0 
= 0 ; 
2883     PyObject 
* obj1 
= 0 ; 
2885         (char *) "self",(char *) "next", NULL 
 
2888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
; 
2889     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2890     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2892         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2893         (arg1
)->SetNext(arg2
); 
2895         wxPyEndAllowThreads(__tstate
); 
2896         if (PyErr_Occurred()) SWIG_fail
; 
2898     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2905 static PyObject 
*_wrap_XmlNode_SetChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2906     PyObject 
*resultobj
; 
2907     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2908     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
2909     PyObject 
* obj0 
= 0 ; 
2910     PyObject 
* obj1 
= 0 ; 
2912         (char *) "self",(char *) "child", NULL 
 
2915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
2916     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2917     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2919         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2920         (arg1
)->SetChildren(arg2
); 
2922         wxPyEndAllowThreads(__tstate
); 
2923         if (PyErr_Occurred()) SWIG_fail
; 
2925     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2932 static PyObject 
*_wrap_XmlNode_SetProperties(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2933     PyObject 
*resultobj
; 
2934     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
2935     wxXmlProperty 
*arg2 
= (wxXmlProperty 
*) 0 ; 
2936     PyObject 
* obj0 
= 0 ; 
2937     PyObject 
* obj1 
= 0 ; 
2939         (char *) "self",(char *) "prop", NULL 
 
2942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetProperties",kwnames
,&obj0
,&obj1
)) goto fail
; 
2943     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2944     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlProperty
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
2946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2947         (arg1
)->SetProperties(arg2
); 
2949         wxPyEndAllowThreads(__tstate
); 
2950         if (PyErr_Occurred()) SWIG_fail
; 
2952     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2959 static PyObject 
* XmlNode_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2961     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2962     SWIG_TypeClientData(SWIGTYPE_p_wxXmlNode
, obj
); 
2964     return Py_BuildValue((char *)""); 
2966 static PyObject 
*_wrap_new_XmlDocument(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2967     PyObject 
*resultobj
; 
2968     wxString 
*arg1 
= 0 ; 
2969     wxString 
const &arg2_defvalue 
= wxPyUTF8String 
; 
2970     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
2971     wxXmlDocument 
*result
; 
2972     bool temp1 
= False 
; 
2973     bool temp2 
= False 
; 
2974     PyObject 
* obj0 
= 0 ; 
2975     PyObject 
* obj1 
= 0 ; 
2977         (char *) "filename",(char *) "encoding", NULL 
 
2980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_XmlDocument",kwnames
,&obj0
,&obj1
)) goto fail
; 
2982         arg1 
= wxString_in_helper(obj0
); 
2983         if (arg1 
== NULL
) SWIG_fail
; 
2988             arg2 
= wxString_in_helper(obj1
); 
2989             if (arg2 
== NULL
) SWIG_fail
; 
2994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2995         result 
= (wxXmlDocument 
*)new wxXmlDocument((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
2997         wxPyEndAllowThreads(__tstate
); 
2998         if (PyErr_Occurred()) SWIG_fail
; 
3000     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlDocument
, 1); 
3023 static PyObject 
*_wrap_new_XmlDocumentFromStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3024     PyObject 
*resultobj
; 
3025     wxInputStream 
*arg1 
= 0 ; 
3026     wxString 
const &arg2_defvalue 
= wxPyUTF8String 
; 
3027     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3028     wxXmlDocument 
*result
; 
3029     wxPyInputStream 
*temp1 
; 
3031     bool temp2 
= False 
; 
3032     PyObject 
* obj0 
= 0 ; 
3033     PyObject 
* obj1 
= 0 ; 
3035         (char *) "stream",(char *) "encoding", NULL 
 
3038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_XmlDocumentFromStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
3040         if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) { 
3041             arg1 
= temp1
->m_wxis
; 
3044             PyErr_Clear();  // clear the failure of the wxPyConvert above 
3045             arg1 
= wxPyCBInputStream_create(obj0
, False
); 
3047                 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object."); 
3055             arg2 
= wxString_in_helper(obj1
); 
3056             if (arg2 
== NULL
) SWIG_fail
; 
3061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3062         result 
= (wxXmlDocument 
*)new wxXmlDocument(*arg1
,(wxString 
const &)*arg2
); 
3064         wxPyEndAllowThreads(__tstate
); 
3065         if (PyErr_Occurred()) SWIG_fail
; 
3067     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlDocument
, 1); 
3090 static PyObject 
*_wrap_new_EmptyXmlDocument(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3091     PyObject 
*resultobj
; 
3092     wxXmlDocument 
*result
; 
3097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyXmlDocument",kwnames
)) goto fail
; 
3099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3100         result 
= (wxXmlDocument 
*)new wxXmlDocument(); 
3102         wxPyEndAllowThreads(__tstate
); 
3103         if (PyErr_Occurred()) SWIG_fail
; 
3105     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlDocument
, 1); 
3112 static PyObject 
*_wrap_delete_XmlDocument(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3113     PyObject 
*resultobj
; 
3114     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3115     PyObject 
* obj0 
= 0 ; 
3117         (char *) "self", NULL 
 
3120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlDocument",kwnames
,&obj0
)) goto fail
; 
3121     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3126         wxPyEndAllowThreads(__tstate
); 
3127         if (PyErr_Occurred()) SWIG_fail
; 
3129     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3136 static PyObject 
*_wrap_XmlDocument_Load(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3137     PyObject 
*resultobj
; 
3138     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3139     wxString 
*arg2 
= 0 ; 
3140     wxString 
const &arg3_defvalue 
= wxPyUTF8String 
; 
3141     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3143     bool temp2 
= False 
; 
3144     bool temp3 
= False 
; 
3145     PyObject 
* obj0 
= 0 ; 
3146     PyObject 
* obj1 
= 0 ; 
3147     PyObject 
* obj2 
= 0 ; 
3149         (char *) "self",(char *) "filename",(char *) "encoding", NULL 
 
3152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlDocument_Load",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3153     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3155         arg2 
= wxString_in_helper(obj1
); 
3156         if (arg2 
== NULL
) SWIG_fail
; 
3161             arg3 
= wxString_in_helper(obj2
); 
3162             if (arg3 
== NULL
) SWIG_fail
; 
3167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3168         result 
= (bool)(arg1
)->Load((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
3170         wxPyEndAllowThreads(__tstate
); 
3171         if (PyErr_Occurred()) SWIG_fail
; 
3173     resultobj 
= PyInt_FromLong((long)result
); 
3196 static PyObject 
*_wrap_XmlDocument_LoadFromStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3197     PyObject 
*resultobj
; 
3198     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3199     wxInputStream 
*arg2 
= 0 ; 
3200     wxString 
const &arg3_defvalue 
= wxPyUTF8String 
; 
3201     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3203     wxPyInputStream 
*temp2 
; 
3205     bool temp3 
= False 
; 
3206     PyObject 
* obj0 
= 0 ; 
3207     PyObject 
* obj1 
= 0 ; 
3208     PyObject 
* obj2 
= 0 ; 
3210         (char *) "self",(char *) "stream",(char *) "encoding", NULL 
 
3213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlDocument_LoadFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3214     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3216         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
3217             arg2 
= temp2
->m_wxis
; 
3220             PyErr_Clear();  // clear the failure of the wxPyConvert above 
3221             arg2 
= wxPyCBInputStream_create(obj1
, False
); 
3223                 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object."); 
3231             arg3 
= wxString_in_helper(obj2
); 
3232             if (arg3 
== NULL
) SWIG_fail
; 
3237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3238         result 
= (bool)(arg1
)->Load(*arg2
,(wxString 
const &)*arg3
); 
3240         wxPyEndAllowThreads(__tstate
); 
3241         if (PyErr_Occurred()) SWIG_fail
; 
3243     resultobj 
= PyInt_FromLong((long)result
); 
3266 static PyObject 
*_wrap_XmlDocument_Save(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3267     PyObject 
*resultobj
; 
3268     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3269     wxString 
*arg2 
= 0 ; 
3271     bool temp2 
= False 
; 
3272     PyObject 
* obj0 
= 0 ; 
3273     PyObject 
* obj1 
= 0 ; 
3275         (char *) "self",(char *) "filename", NULL 
 
3278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
3279     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3281         arg2 
= wxString_in_helper(obj1
); 
3282         if (arg2 
== NULL
) SWIG_fail
; 
3286         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3287         result 
= (bool)((wxXmlDocument 
const *)arg1
)->Save((wxString 
const &)*arg2
); 
3289         wxPyEndAllowThreads(__tstate
); 
3290         if (PyErr_Occurred()) SWIG_fail
; 
3292     resultobj 
= PyInt_FromLong((long)result
); 
3307 static PyObject 
*_wrap_XmlDocument_SaveToStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3308     PyObject 
*resultobj
; 
3309     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3310     wxOutputStream 
*arg2 
= 0 ; 
3312     PyObject 
* obj0 
= 0 ; 
3313     PyObject 
* obj1 
= 0 ; 
3315         (char *) "self",(char *) "stream", NULL 
 
3318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SaveToStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
3319     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3320     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3322         PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;  
3325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3326         result 
= (bool)((wxXmlDocument 
const *)arg1
)->Save(*arg2
); 
3328         wxPyEndAllowThreads(__tstate
); 
3329         if (PyErr_Occurred()) SWIG_fail
; 
3331     resultobj 
= PyInt_FromLong((long)result
); 
3338 static PyObject 
*_wrap_XmlDocument_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3339     PyObject 
*resultobj
; 
3340     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3342     PyObject 
* obj0 
= 0 ; 
3344         (char *) "self", NULL 
 
3347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_IsOk",kwnames
,&obj0
)) goto fail
; 
3348     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3350         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3351         result 
= (bool)((wxXmlDocument 
const *)arg1
)->IsOk(); 
3353         wxPyEndAllowThreads(__tstate
); 
3354         if (PyErr_Occurred()) SWIG_fail
; 
3356     resultobj 
= PyInt_FromLong((long)result
); 
3363 static PyObject 
*_wrap_XmlDocument_GetRoot(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3364     PyObject 
*resultobj
; 
3365     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3367     PyObject 
* obj0 
= 0 ; 
3369         (char *) "self", NULL 
 
3372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetRoot",kwnames
,&obj0
)) goto fail
; 
3373     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3376         result 
= (wxXmlNode 
*)((wxXmlDocument 
const *)arg1
)->GetRoot(); 
3378         wxPyEndAllowThreads(__tstate
); 
3379         if (PyErr_Occurred()) SWIG_fail
; 
3381     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 0); 
3388 static PyObject 
*_wrap_XmlDocument_GetVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3389     PyObject 
*resultobj
; 
3390     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3392     PyObject 
* obj0 
= 0 ; 
3394         (char *) "self", NULL 
 
3397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetVersion",kwnames
,&obj0
)) goto fail
; 
3398     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3401         result 
= ((wxXmlDocument 
const *)arg1
)->GetVersion(); 
3403         wxPyEndAllowThreads(__tstate
); 
3404         if (PyErr_Occurred()) SWIG_fail
; 
3408         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3410         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3419 static PyObject 
*_wrap_XmlDocument_GetFileEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3420     PyObject 
*resultobj
; 
3421     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3423     PyObject 
* obj0 
= 0 ; 
3425         (char *) "self", NULL 
 
3428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetFileEncoding",kwnames
,&obj0
)) goto fail
; 
3429     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3432         result 
= ((wxXmlDocument 
const *)arg1
)->GetFileEncoding(); 
3434         wxPyEndAllowThreads(__tstate
); 
3435         if (PyErr_Occurred()) SWIG_fail
; 
3439         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3441         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3450 static PyObject 
*_wrap_XmlDocument_SetRoot(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3451     PyObject 
*resultobj
; 
3452     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3453     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3454     PyObject 
* obj0 
= 0 ; 
3455     PyObject 
* obj1 
= 0 ; 
3457         (char *) "self",(char *) "node", NULL 
 
3460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetRoot",kwnames
,&obj0
,&obj1
)) goto fail
; 
3461     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3462     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3465         (arg1
)->SetRoot(arg2
); 
3467         wxPyEndAllowThreads(__tstate
); 
3468         if (PyErr_Occurred()) SWIG_fail
; 
3470     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3477 static PyObject 
*_wrap_XmlDocument_SetVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3478     PyObject 
*resultobj
; 
3479     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3480     wxString 
*arg2 
= 0 ; 
3481     bool temp2 
= False 
; 
3482     PyObject 
* obj0 
= 0 ; 
3483     PyObject 
* obj1 
= 0 ; 
3485         (char *) "self",(char *) "version", NULL 
 
3488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetVersion",kwnames
,&obj0
,&obj1
)) goto fail
; 
3489     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3491         arg2 
= wxString_in_helper(obj1
); 
3492         if (arg2 
== NULL
) SWIG_fail
; 
3496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3497         (arg1
)->SetVersion((wxString 
const &)*arg2
); 
3499         wxPyEndAllowThreads(__tstate
); 
3500         if (PyErr_Occurred()) SWIG_fail
; 
3502     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3517 static PyObject 
*_wrap_XmlDocument_SetFileEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3518     PyObject 
*resultobj
; 
3519     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
3520     wxString 
*arg2 
= 0 ; 
3521     bool temp2 
= False 
; 
3522     PyObject 
* obj0 
= 0 ; 
3523     PyObject 
* obj1 
= 0 ; 
3525         (char *) "self",(char *) "encoding", NULL 
 
3528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetFileEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
3529     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxXmlDocument
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3531         arg2 
= wxString_in_helper(obj1
); 
3532         if (arg2 
== NULL
) SWIG_fail
; 
3536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3537         (arg1
)->SetFileEncoding((wxString 
const &)*arg2
); 
3539         wxPyEndAllowThreads(__tstate
); 
3540         if (PyErr_Occurred()) SWIG_fail
; 
3542     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3557 static PyObject 
* XmlDocument_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3559     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3560     SWIG_TypeClientData(SWIGTYPE_p_wxXmlDocument
, obj
); 
3562     return Py_BuildValue((char *)""); 
3564 static PyObject 
*_wrap_new_XmlResourceHandler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3565     PyObject 
*resultobj
; 
3566     wxPyXmlResourceHandler 
*result
; 
3571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XmlResourceHandler",kwnames
)) goto fail
; 
3573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3574         result 
= (wxPyXmlResourceHandler 
*)new wxPyXmlResourceHandler(); 
3576         wxPyEndAllowThreads(__tstate
); 
3577         if (PyErr_Occurred()) SWIG_fail
; 
3579     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyXmlResourceHandler
, 1); 
3586 static PyObject 
*_wrap_XmlResourceHandler__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3587     PyObject 
*resultobj
; 
3588     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3589     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3590     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
3591     PyObject 
* obj0 
= 0 ; 
3592     PyObject 
* obj1 
= 0 ; 
3593     PyObject 
* obj2 
= 0 ; 
3595         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
3598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3599     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3604         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
3606         wxPyEndAllowThreads(__tstate
); 
3607         if (PyErr_Occurred()) SWIG_fail
; 
3609     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3616 static PyObject 
*_wrap_XmlResourceHandler_CreateResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3617     PyObject 
*resultobj
; 
3618     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3619     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3620     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
3621     wxObject 
*arg4 
= (wxObject 
*) 0 ; 
3623     PyObject 
* obj0 
= 0 ; 
3624     PyObject 
* obj1 
= 0 ; 
3625     PyObject 
* obj2 
= 0 ; 
3626     PyObject 
* obj3 
= 0 ; 
3628         (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL 
 
3631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResourceHandler_CreateResource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3632     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3633     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3634     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3635     if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3637         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3638         result 
= (wxObject 
*)(arg1
)->CreateResource(arg2
,arg3
,arg4
); 
3640         wxPyEndAllowThreads(__tstate
); 
3641         if (PyErr_Occurred()) SWIG_fail
; 
3644         resultobj 
= wxPyMake_wxObject(result
);  
3652 static PyObject 
*_wrap_XmlResourceHandler_SetParentResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3653     PyObject 
*resultobj
; 
3654     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3655     wxXmlResource 
*arg2 
= (wxXmlResource 
*) 0 ; 
3656     PyObject 
* obj0 
= 0 ; 
3657     PyObject 
* obj1 
= 0 ; 
3659         (char *) "self",(char *) "res", NULL 
 
3662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_SetParentResource",kwnames
,&obj0
,&obj1
)) goto fail
; 
3663     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3664     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlResource
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3667         (arg1
)->SetParentResource(arg2
); 
3669         wxPyEndAllowThreads(__tstate
); 
3670         if (PyErr_Occurred()) SWIG_fail
; 
3672     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3679 static PyObject 
*_wrap_XmlResourceHandler_GetResource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3680     PyObject 
*resultobj
; 
3681     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3682     wxXmlResource 
*result
; 
3683     PyObject 
* obj0 
= 0 ; 
3685         (char *) "self", NULL 
 
3688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetResource",kwnames
,&obj0
)) goto fail
; 
3689     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3692         result 
= (wxXmlResource 
*)(arg1
)->GetResource(); 
3694         wxPyEndAllowThreads(__tstate
); 
3695         if (PyErr_Occurred()) SWIG_fail
; 
3697     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlResource
, 0); 
3704 static PyObject 
*_wrap_XmlResourceHandler_GetNode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3705     PyObject 
*resultobj
; 
3706     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3708     PyObject 
* obj0 
= 0 ; 
3710         (char *) "self", NULL 
 
3713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetNode",kwnames
,&obj0
)) goto fail
; 
3714     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3717         result 
= (wxXmlNode 
*)(arg1
)->GetNode(); 
3719         wxPyEndAllowThreads(__tstate
); 
3720         if (PyErr_Occurred()) SWIG_fail
; 
3722     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 0); 
3729 static PyObject 
*_wrap_XmlResourceHandler_GetClass(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3730     PyObject 
*resultobj
; 
3731     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3733     PyObject 
* obj0 
= 0 ; 
3735         (char *) "self", NULL 
 
3738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetClass",kwnames
,&obj0
)) goto fail
; 
3739     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3742         result 
= (arg1
)->GetClass(); 
3744         wxPyEndAllowThreads(__tstate
); 
3745         if (PyErr_Occurred()) SWIG_fail
; 
3749         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3751         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3760 static PyObject 
*_wrap_XmlResourceHandler_GetParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3761     PyObject 
*resultobj
; 
3762     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3764     PyObject 
* obj0 
= 0 ; 
3766         (char *) "self", NULL 
 
3769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetParent",kwnames
,&obj0
)) goto fail
; 
3770     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3773         result 
= (wxObject 
*)(arg1
)->GetParent(); 
3775         wxPyEndAllowThreads(__tstate
); 
3776         if (PyErr_Occurred()) SWIG_fail
; 
3779         resultobj 
= wxPyMake_wxObject(result
);  
3787 static PyObject 
*_wrap_XmlResourceHandler_GetInstance(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3788     PyObject 
*resultobj
; 
3789     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3791     PyObject 
* obj0 
= 0 ; 
3793         (char *) "self", NULL 
 
3796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetInstance",kwnames
,&obj0
)) goto fail
; 
3797     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3799         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3800         result 
= (wxObject 
*)(arg1
)->GetInstance(); 
3802         wxPyEndAllowThreads(__tstate
); 
3803         if (PyErr_Occurred()) SWIG_fail
; 
3806         resultobj 
= wxPyMake_wxObject(result
);  
3814 static PyObject 
*_wrap_XmlResourceHandler_GetParentAsWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3815     PyObject 
*resultobj
; 
3816     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3818     PyObject 
* obj0 
= 0 ; 
3820         (char *) "self", NULL 
 
3823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetParentAsWindow",kwnames
,&obj0
)) goto fail
; 
3824     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3827         result 
= (wxWindow 
*)(arg1
)->GetParentAsWindow(); 
3829         wxPyEndAllowThreads(__tstate
); 
3830         if (PyErr_Occurred()) SWIG_fail
; 
3833         resultobj 
= wxPyMake_wxObject(result
);  
3841 static PyObject 
*_wrap_XmlResourceHandler_GetInstanceAsWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3842     PyObject 
*resultobj
; 
3843     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3845     PyObject 
* obj0 
= 0 ; 
3847         (char *) "self", NULL 
 
3850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetInstanceAsWindow",kwnames
,&obj0
)) goto fail
; 
3851     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3854         result 
= (wxWindow 
*)(arg1
)->GetInstanceAsWindow(); 
3856         wxPyEndAllowThreads(__tstate
); 
3857         if (PyErr_Occurred()) SWIG_fail
; 
3860         resultobj 
= wxPyMake_wxObject(result
);  
3868 static PyObject 
*_wrap_XmlResourceHandler_IsOfClass(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3869     PyObject 
*resultobj
; 
3870     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3871     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3872     wxString 
*arg3 
= 0 ; 
3874     bool temp3 
= False 
; 
3875     PyObject 
* obj0 
= 0 ; 
3876     PyObject 
* obj1 
= 0 ; 
3877     PyObject 
* obj2 
= 0 ; 
3879         (char *) "self",(char *) "node",(char *) "classname", NULL 
 
3882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler_IsOfClass",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3883     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3884     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3886         arg3 
= wxString_in_helper(obj2
); 
3887         if (arg3 
== NULL
) SWIG_fail
; 
3891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3892         result 
= (bool)(arg1
)->IsOfClass(arg2
,(wxString 
const &)*arg3
); 
3894         wxPyEndAllowThreads(__tstate
); 
3895         if (PyErr_Occurred()) SWIG_fail
; 
3897     resultobj 
= PyInt_FromLong((long)result
); 
3912 static PyObject 
*_wrap_XmlResourceHandler_GetNodeContent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3913     PyObject 
*resultobj
; 
3914     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3915     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3917     PyObject 
* obj0 
= 0 ; 
3918     PyObject 
* obj1 
= 0 ; 
3920         (char *) "self",(char *) "node", NULL 
 
3923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetNodeContent",kwnames
,&obj0
,&obj1
)) goto fail
; 
3924     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3925     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3928         result 
= (arg1
)->GetNodeContent(arg2
); 
3930         wxPyEndAllowThreads(__tstate
); 
3931         if (PyErr_Occurred()) SWIG_fail
; 
3935         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3937         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3946 static PyObject 
*_wrap_XmlResourceHandler_HasParam(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3947     PyObject 
*resultobj
; 
3948     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3949     wxString 
*arg2 
= 0 ; 
3951     bool temp2 
= False 
; 
3952     PyObject 
* obj0 
= 0 ; 
3953     PyObject 
* obj1 
= 0 ; 
3955         (char *) "self",(char *) "param", NULL 
 
3958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
; 
3959     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
3961         arg2 
= wxString_in_helper(obj1
); 
3962         if (arg2 
== NULL
) SWIG_fail
; 
3966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3967         result 
= (bool)(arg1
)->HasParam((wxString 
const &)*arg2
); 
3969         wxPyEndAllowThreads(__tstate
); 
3970         if (PyErr_Occurred()) SWIG_fail
; 
3972     resultobj 
= PyInt_FromLong((long)result
); 
3987 static PyObject 
*_wrap_XmlResourceHandler_GetParamNode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3988     PyObject 
*resultobj
; 
3989     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
3990     wxString 
*arg2 
= 0 ; 
3992     bool temp2 
= False 
; 
3993     PyObject 
* obj0 
= 0 ; 
3994     PyObject 
* obj1 
= 0 ; 
3996         (char *) "self",(char *) "param", NULL 
 
3999     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetParamNode",kwnames
,&obj0
,&obj1
)) goto fail
; 
4000     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4002         arg2 
= wxString_in_helper(obj1
); 
4003         if (arg2 
== NULL
) SWIG_fail
; 
4007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4008         result 
= (wxXmlNode 
*)(arg1
)->GetParamNode((wxString 
const &)*arg2
); 
4010         wxPyEndAllowThreads(__tstate
); 
4011         if (PyErr_Occurred()) SWIG_fail
; 
4013     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXmlNode
, 0); 
4028 static PyObject 
*_wrap_XmlResourceHandler_GetParamValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4029     PyObject 
*resultobj
; 
4030     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4031     wxString 
*arg2 
= 0 ; 
4033     bool temp2 
= False 
; 
4034     PyObject 
* obj0 
= 0 ; 
4035     PyObject 
* obj1 
= 0 ; 
4037         (char *) "self",(char *) "param", NULL 
 
4040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetParamValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
4041     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4043         arg2 
= wxString_in_helper(obj1
); 
4044         if (arg2 
== NULL
) SWIG_fail
; 
4048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4049         result 
= (arg1
)->GetParamValue((wxString 
const &)*arg2
); 
4051         wxPyEndAllowThreads(__tstate
); 
4052         if (PyErr_Occurred()) SWIG_fail
; 
4056         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4058         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4075 static PyObject 
*_wrap_XmlResourceHandler_AddStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4076     PyObject 
*resultobj
; 
4077     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4078     wxString 
*arg2 
= 0 ; 
4080     bool temp2 
= False 
; 
4081     PyObject 
* obj0 
= 0 ; 
4082     PyObject 
* obj1 
= 0 ; 
4084         (char *) "self",(char *) "name",(char *) "value", NULL 
 
4087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:XmlResourceHandler_AddStyle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
; 
4088     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4090         arg2 
= wxString_in_helper(obj1
); 
4091         if (arg2 
== NULL
) SWIG_fail
; 
4095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4096         (arg1
)->AddStyle((wxString 
const &)*arg2
,arg3
); 
4098         wxPyEndAllowThreads(__tstate
); 
4099         if (PyErr_Occurred()) SWIG_fail
; 
4101     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4116 static PyObject 
*_wrap_XmlResourceHandler_AddWindowStyles(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4117     PyObject 
*resultobj
; 
4118     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4119     PyObject 
* obj0 
= 0 ; 
4121         (char *) "self", NULL 
 
4124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_AddWindowStyles",kwnames
,&obj0
)) goto fail
; 
4125     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4128         (arg1
)->AddWindowStyles(); 
4130         wxPyEndAllowThreads(__tstate
); 
4131         if (PyErr_Occurred()) SWIG_fail
; 
4133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4140 static PyObject 
*_wrap_XmlResourceHandler_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4141     PyObject 
*resultobj
; 
4142     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4143     wxString 
const &arg2_defvalue 
= wxPyStyleString 
; 
4144     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4145     int arg3 
= (int) 0 ; 
4147     bool temp2 
= False 
; 
4148     PyObject 
* obj0 
= 0 ; 
4149     PyObject 
* obj1 
= 0 ; 
4151         (char *) "self",(char *) "param",(char *) "defaults", NULL 
 
4154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:XmlResourceHandler_GetStyle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
; 
4155     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4158             arg2 
= wxString_in_helper(obj1
); 
4159             if (arg2 
== NULL
) SWIG_fail
; 
4164         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4165         result 
= (int)(arg1
)->GetStyle((wxString 
const &)*arg2
,arg3
); 
4167         wxPyEndAllowThreads(__tstate
); 
4168         if (PyErr_Occurred()) SWIG_fail
; 
4170     resultobj 
= PyInt_FromLong((long)result
); 
4185 static PyObject 
*_wrap_XmlResourceHandler_GetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4186     PyObject 
*resultobj
; 
4187     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4188     wxString 
*arg2 
= 0 ; 
4189     bool arg3 
= (bool) True 
; 
4191     bool temp2 
= False 
; 
4192     PyObject 
* obj0 
= 0 ; 
4193     PyObject 
* obj1 
= 0 ; 
4194     PyObject 
* obj2 
= 0 ; 
4196         (char *) "self",(char *) "param",(char *) "translate", NULL 
 
4199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4200     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4202         arg2 
= wxString_in_helper(obj1
); 
4203         if (arg2 
== NULL
) SWIG_fail
; 
4207         arg3 
= PyInt_AsLong(obj2
) ? true : false; 
4208         if (PyErr_Occurred()) SWIG_fail
; 
4211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4212         result 
= (arg1
)->GetText((wxString 
const &)*arg2
,arg3
); 
4214         wxPyEndAllowThreads(__tstate
); 
4215         if (PyErr_Occurred()) SWIG_fail
; 
4219         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4221         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4238 static PyObject 
*_wrap_XmlResourceHandler_GetID(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4239     PyObject 
*resultobj
; 
4240     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4242     PyObject 
* obj0 
= 0 ; 
4244         (char *) "self", NULL 
 
4247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetID",kwnames
,&obj0
)) goto fail
; 
4248     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4251         result 
= (int)(arg1
)->GetID(); 
4253         wxPyEndAllowThreads(__tstate
); 
4254         if (PyErr_Occurred()) SWIG_fail
; 
4256     resultobj 
= PyInt_FromLong((long)result
); 
4263 static PyObject 
*_wrap_XmlResourceHandler_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4264     PyObject 
*resultobj
; 
4265     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4267     PyObject 
* obj0 
= 0 ; 
4269         (char *) "self", NULL 
 
4272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetName",kwnames
,&obj0
)) goto fail
; 
4273     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4276         result 
= (arg1
)->GetName(); 
4278         wxPyEndAllowThreads(__tstate
); 
4279         if (PyErr_Occurred()) SWIG_fail
; 
4283         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4285         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4294 static PyObject 
*_wrap_XmlResourceHandler_GetBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4295     PyObject 
*resultobj
; 
4296     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4297     wxString 
*arg2 
= 0 ; 
4298     bool arg3 
= (bool) False 
; 
4300     bool temp2 
= False 
; 
4301     PyObject 
* obj0 
= 0 ; 
4302     PyObject 
* obj1 
= 0 ; 
4303     PyObject 
* obj2 
= 0 ; 
4305         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
4308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4309     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4311         arg2 
= wxString_in_helper(obj1
); 
4312         if (arg2 
== NULL
) SWIG_fail
; 
4316         arg3 
= PyInt_AsLong(obj2
) ? true : false; 
4317         if (PyErr_Occurred()) SWIG_fail
; 
4320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4321         result 
= (bool)(arg1
)->GetBool((wxString 
const &)*arg2
,arg3
); 
4323         wxPyEndAllowThreads(__tstate
); 
4324         if (PyErr_Occurred()) SWIG_fail
; 
4326     resultobj 
= PyInt_FromLong((long)result
); 
4341 static PyObject 
*_wrap_XmlResourceHandler_GetLong(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4342     PyObject 
*resultobj
; 
4343     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4344     wxString 
*arg2 
= 0 ; 
4345     long arg3 
= (long) 0 ; 
4347     bool temp2 
= False 
; 
4348     PyObject 
* obj0 
= 0 ; 
4349     PyObject 
* obj1 
= 0 ; 
4351         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
4354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:XmlResourceHandler_GetLong",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
; 
4355     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4357         arg2 
= wxString_in_helper(obj1
); 
4358         if (arg2 
== NULL
) SWIG_fail
; 
4362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4363         result 
= (long)(arg1
)->GetLong((wxString 
const &)*arg2
,arg3
); 
4365         wxPyEndAllowThreads(__tstate
); 
4366         if (PyErr_Occurred()) SWIG_fail
; 
4368     resultobj 
= PyInt_FromLong((long)result
); 
4383 static PyObject 
*_wrap_XmlResourceHandler_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4384     PyObject 
*resultobj
; 
4385     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4386     wxString 
*arg2 
= 0 ; 
4388     bool temp2 
= False 
; 
4389     PyObject 
* obj0 
= 0 ; 
4390     PyObject 
* obj1 
= 0 ; 
4392         (char *) "self",(char *) "param", NULL 
 
4395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
4396     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4398         arg2 
= wxString_in_helper(obj1
); 
4399         if (arg2 
== NULL
) SWIG_fail
; 
4403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4404         result 
= (arg1
)->GetColour((wxString 
const &)*arg2
); 
4406         wxPyEndAllowThreads(__tstate
); 
4407         if (PyErr_Occurred()) SWIG_fail
; 
4410         wxColour 
* resultptr
; 
4411         resultptr 
= new wxColour((wxColour 
&) result
); 
4412         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1); 
4428 static PyObject 
*_wrap_XmlResourceHandler_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4429     PyObject 
*resultobj
; 
4430     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4431     wxString 
const &arg2_defvalue 
= wxPySizeString 
; 
4432     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4434     bool temp2 
= False 
; 
4435     PyObject 
* obj0 
= 0 ; 
4436     PyObject 
* obj1 
= 0 ; 
4438         (char *) "self",(char *) "param", NULL 
 
4441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
4442     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4445             arg2 
= wxString_in_helper(obj1
); 
4446             if (arg2 
== NULL
) SWIG_fail
; 
4451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4452         result 
= (arg1
)->GetSize((wxString 
const &)*arg2
); 
4454         wxPyEndAllowThreads(__tstate
); 
4455         if (PyErr_Occurred()) SWIG_fail
; 
4459         resultptr 
= new wxSize((wxSize 
&) result
); 
4460         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1); 
4476 static PyObject 
*_wrap_XmlResourceHandler_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4477     PyObject 
*resultobj
; 
4478     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4479     wxString 
const &arg2_defvalue 
= wxPyPosString 
; 
4480     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4482     bool temp2 
= False 
; 
4483     PyObject 
* obj0 
= 0 ; 
4484     PyObject 
* obj1 
= 0 ; 
4486         (char *) "self",(char *) "param", NULL 
 
4489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
4490     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4493             arg2 
= wxString_in_helper(obj1
); 
4494             if (arg2 
== NULL
) SWIG_fail
; 
4499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4500         result 
= (arg1
)->GetPosition((wxString 
const &)*arg2
); 
4502         wxPyEndAllowThreads(__tstate
); 
4503         if (PyErr_Occurred()) SWIG_fail
; 
4506         wxPoint 
* resultptr
; 
4507         resultptr 
= new wxPoint((wxPoint 
&) result
); 
4508         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1); 
4524 static PyObject 
*_wrap_XmlResourceHandler_GetDimension(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4525     PyObject 
*resultobj
; 
4526     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4527     wxString 
*arg2 
= 0 ; 
4528     int arg3 
= (int) 0 ; 
4530     bool temp2 
= False 
; 
4531     PyObject 
* obj0 
= 0 ; 
4532     PyObject 
* obj1 
= 0 ; 
4534         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
4537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:XmlResourceHandler_GetDimension",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
; 
4538     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4540         arg2 
= wxString_in_helper(obj1
); 
4541         if (arg2 
== NULL
) SWIG_fail
; 
4545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4546         result 
= (int)(arg1
)->GetDimension((wxString 
const &)*arg2
,arg3
); 
4548         wxPyEndAllowThreads(__tstate
); 
4549         if (PyErr_Occurred()) SWIG_fail
; 
4551     resultobj 
= PyInt_FromLong((long)result
); 
4566 static PyObject 
*_wrap_XmlResourceHandler_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4567     PyObject 
*resultobj
; 
4568     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4569     wxString 
const &arg2_defvalue 
= wxPyBitmapString 
; 
4570     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4571     wxArtClient 
const &arg3_defvalue 
= wxART_OTHER 
; 
4572     wxArtClient 
*arg3 
= (wxArtClient 
*) &arg3_defvalue 
; 
4573     wxSize arg4 
= (wxSize
) wxDefaultSize 
; 
4575     bool temp2 
= False 
; 
4577     PyObject 
* obj0 
= 0 ; 
4578     PyObject 
* obj1 
= 0 ; 
4579     PyObject 
* obj2 
= 0 ; 
4580     PyObject 
* obj3 
= 0 ; 
4582         (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL 
 
4585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:XmlResourceHandler_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4586     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4589             arg2 
= wxString_in_helper(obj1
); 
4590             if (arg2 
== NULL
) SWIG_fail
; 
4595         if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArtClient
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4597             PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;  
4601         if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
; 
4605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4606         result 
= (arg1
)->GetBitmap((wxString 
const &)*arg2
,(wxArtClient 
const &)*arg3
,arg4
); 
4608         wxPyEndAllowThreads(__tstate
); 
4609         if (PyErr_Occurred()) SWIG_fail
; 
4612         wxBitmap 
* resultptr
; 
4613         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
4614         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1); 
4630 static PyObject 
*_wrap_XmlResourceHandler_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4631     PyObject 
*resultobj
; 
4632     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4633     wxString 
const &arg2_defvalue 
= wxPyIconString 
; 
4634     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4635     wxArtClient 
const &arg3_defvalue 
= wxART_OTHER 
; 
4636     wxArtClient 
*arg3 
= (wxArtClient 
*) &arg3_defvalue 
; 
4637     wxSize arg4 
= (wxSize
) wxDefaultSize 
; 
4639     bool temp2 
= False 
; 
4641     PyObject 
* obj0 
= 0 ; 
4642     PyObject 
* obj1 
= 0 ; 
4643     PyObject 
* obj2 
= 0 ; 
4644     PyObject 
* obj3 
= 0 ; 
4646         (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL 
 
4649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:XmlResourceHandler_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4650     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4653             arg2 
= wxString_in_helper(obj1
); 
4654             if (arg2 
== NULL
) SWIG_fail
; 
4659         if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArtClient
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4661             PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;  
4665         if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
; 
4669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4670         result 
= (arg1
)->GetIcon((wxString 
const &)*arg2
,(wxArtClient 
const &)*arg3
,arg4
); 
4672         wxPyEndAllowThreads(__tstate
); 
4673         if (PyErr_Occurred()) SWIG_fail
; 
4677         resultptr 
= new wxIcon((wxIcon 
&) result
); 
4678         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1); 
4694 static PyObject 
*_wrap_XmlResourceHandler_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4695     PyObject 
*resultobj
; 
4696     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4697     wxString 
const &arg2_defvalue 
= wxPyFontString 
; 
4698     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4700     bool temp2 
= False 
; 
4701     PyObject 
* obj0 
= 0 ; 
4702     PyObject 
* obj1 
= 0 ; 
4704         (char *) "self",(char *) "param", NULL 
 
4707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
4708     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4711             arg2 
= wxString_in_helper(obj1
); 
4712             if (arg2 
== NULL
) SWIG_fail
; 
4717         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4718         result 
= (arg1
)->GetFont((wxString 
const &)*arg2
); 
4720         wxPyEndAllowThreads(__tstate
); 
4721         if (PyErr_Occurred()) SWIG_fail
; 
4725         resultptr 
= new wxFont((wxFont 
&) result
); 
4726         resultobj 
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1); 
4742 static PyObject 
*_wrap_XmlResourceHandler_SetupWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4743     PyObject 
*resultobj
; 
4744     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4745     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4746     PyObject 
* obj0 
= 0 ; 
4747     PyObject 
* obj1 
= 0 ; 
4749         (char *) "self",(char *) "wnd", NULL 
 
4752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_SetupWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
4753     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4754     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4757         (arg1
)->SetupWindow(arg2
); 
4759         wxPyEndAllowThreads(__tstate
); 
4760         if (PyErr_Occurred()) SWIG_fail
; 
4762     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4769 static PyObject 
*_wrap_XmlResourceHandler_CreateChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4770     PyObject 
*resultobj
; 
4771     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4772     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
4773     bool arg3 
= (bool) False 
; 
4774     PyObject 
* obj0 
= 0 ; 
4775     PyObject 
* obj1 
= 0 ; 
4776     PyObject 
* obj2 
= 0 ; 
4778         (char *) "self",(char *) "parent",(char *) "this_hnd_only", NULL 
 
4781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_CreateChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4782     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4783     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4785         arg3 
= PyInt_AsLong(obj2
) ? true : false; 
4786         if (PyErr_Occurred()) SWIG_fail
; 
4789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4790         (arg1
)->CreateChildren(arg2
,arg3
); 
4792         wxPyEndAllowThreads(__tstate
); 
4793         if (PyErr_Occurred()) SWIG_fail
; 
4795     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4802 static PyObject 
*_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4803     PyObject 
*resultobj
; 
4804     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4805     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
4806     wxXmlNode 
*arg3 
= (wxXmlNode 
*) NULL 
; 
4807     PyObject 
* obj0 
= 0 ; 
4808     PyObject 
* obj1 
= 0 ; 
4809     PyObject 
* obj2 
= 0 ; 
4811         (char *) "self",(char *) "parent",(char *) "rootnode", NULL 
 
4814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_CreateChildrenPrivately",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4815     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4816     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4818         if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4822         (arg1
)->CreateChildrenPrivately(arg2
,arg3
); 
4824         wxPyEndAllowThreads(__tstate
); 
4825         if (PyErr_Occurred()) SWIG_fail
; 
4827     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4834 static PyObject 
*_wrap_XmlResourceHandler_CreateResFromNode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4835     PyObject 
*resultobj
; 
4836     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4837     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
4838     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
4839     wxObject 
*arg4 
= (wxObject 
*) NULL 
; 
4841     PyObject 
* obj0 
= 0 ; 
4842     PyObject 
* obj1 
= 0 ; 
4843     PyObject 
* obj2 
= 0 ; 
4844     PyObject 
* obj3 
= 0 ; 
4846         (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL 
 
4849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:XmlResourceHandler_CreateResFromNode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4850     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4851     if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxXmlNode
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4852     if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4854         if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4858         result 
= (wxObject 
*)(arg1
)->CreateResFromNode(arg2
,arg3
,arg4
); 
4860         wxPyEndAllowThreads(__tstate
); 
4861         if (PyErr_Occurred()) SWIG_fail
; 
4864         resultobj 
= wxPyMake_wxObject(result
);  
4872 static PyObject 
*_wrap_XmlResourceHandler_GetCurFileSystem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4873     PyObject 
*resultobj
; 
4874     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
4875     wxFileSystem 
*result
; 
4876     PyObject 
* obj0 
= 0 ; 
4878         (char *) "self", NULL 
 
4881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetCurFileSystem",kwnames
,&obj0
)) goto fail
; 
4882     if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
,SWIG_POINTER_EXCEPTION 
| 0 )) == -1) SWIG_fail
; 
4884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4886             wxFileSystem 
&_result_ref 
= (arg1
)->GetCurFileSystem(); 
4887             result 
= (wxFileSystem 
*) &_result_ref
; 
4890         wxPyEndAllowThreads(__tstate
); 
4891         if (PyErr_Occurred()) SWIG_fail
; 
4893     resultobj 
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileSystem
, 0); 
4900 static PyObject 
* XmlResourceHandler_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4902     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4903     SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlResourceHandler
, obj
); 
4905     return Py_BuildValue((char *)""); 
4907 static PyMethodDef SwigMethods
[] = { 
4908          { (char *)"new_XmlResource", (PyCFunction
) _wrap_new_XmlResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4909          { (char *)"new_EmptyXmlResource", (PyCFunction
) _wrap_new_EmptyXmlResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4910          { (char *)"delete_XmlResource", (PyCFunction
) _wrap_delete_XmlResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4911          { (char *)"XmlResource_Load", (PyCFunction
) _wrap_XmlResource_Load
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4912          { (char *)"XmlResource_LoadFromString", (PyCFunction
) _wrap_XmlResource_LoadFromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4913          { (char *)"XmlResource_InitAllHandlers", (PyCFunction
) _wrap_XmlResource_InitAllHandlers
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4914          { (char *)"XmlResource_AddHandler", (PyCFunction
) _wrap_XmlResource_AddHandler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4915          { (char *)"XmlResource_InsertHandler", (PyCFunction
) _wrap_XmlResource_InsertHandler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4916          { (char *)"XmlResource_ClearHandlers", (PyCFunction
) _wrap_XmlResource_ClearHandlers
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4917          { (char *)"XmlResource_AddSubclassFactory", (PyCFunction
) _wrap_XmlResource_AddSubclassFactory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4918          { (char *)"XmlResource_LoadMenu", (PyCFunction
) _wrap_XmlResource_LoadMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4919          { (char *)"XmlResource_LoadMenuBar", (PyCFunction
) _wrap_XmlResource_LoadMenuBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4920          { (char *)"XmlResource_LoadMenuBarOnFrame", (PyCFunction
) _wrap_XmlResource_LoadMenuBarOnFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4921          { (char *)"XmlResource_LoadToolBar", (PyCFunction
) _wrap_XmlResource_LoadToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4922          { (char *)"XmlResource_LoadDialog", (PyCFunction
) _wrap_XmlResource_LoadDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4923          { (char *)"XmlResource_LoadOnDialog", (PyCFunction
) _wrap_XmlResource_LoadOnDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4924          { (char *)"XmlResource_LoadPanel", (PyCFunction
) _wrap_XmlResource_LoadPanel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4925          { (char *)"XmlResource_LoadOnPanel", (PyCFunction
) _wrap_XmlResource_LoadOnPanel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4926          { (char *)"XmlResource_LoadFrame", (PyCFunction
) _wrap_XmlResource_LoadFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4927          { (char *)"XmlResource_LoadOnFrame", (PyCFunction
) _wrap_XmlResource_LoadOnFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4928          { (char *)"XmlResource_LoadObject", (PyCFunction
) _wrap_XmlResource_LoadObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4929          { (char *)"XmlResource_LoadOnObject", (PyCFunction
) _wrap_XmlResource_LoadOnObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4930          { (char *)"XmlResource_LoadBitmap", (PyCFunction
) _wrap_XmlResource_LoadBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4931          { (char *)"XmlResource_LoadIcon", (PyCFunction
) _wrap_XmlResource_LoadIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4932          { (char *)"XmlResource_AttachUnknownControl", (PyCFunction
) _wrap_XmlResource_AttachUnknownControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4933          { (char *)"XmlResource_GetXRCID", (PyCFunction
) _wrap_XmlResource_GetXRCID
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4934          { (char *)"XmlResource_GetVersion", (PyCFunction
) _wrap_XmlResource_GetVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4935          { (char *)"XmlResource_CompareVersion", (PyCFunction
) _wrap_XmlResource_CompareVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4936          { (char *)"XmlResource_Get", (PyCFunction
) _wrap_XmlResource_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4937          { (char *)"XmlResource_Set", (PyCFunction
) _wrap_XmlResource_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4938          { (char *)"XmlResource_GetFlags", (PyCFunction
) _wrap_XmlResource_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4939          { (char *)"XmlResource_SetFlags", (PyCFunction
) _wrap_XmlResource_SetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4940          { (char *)"XmlResource_swigregister", XmlResource_swigregister
, METH_VARARGS 
}, 
4941          { (char *)"new_XmlSubclassFactory", (PyCFunction
) _wrap_new_XmlSubclassFactory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4942          { (char *)"XmlSubclassFactory__setCallbackInfo", (PyCFunction
) _wrap_XmlSubclassFactory__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4943          { (char *)"XmlSubclassFactory_swigregister", XmlSubclassFactory_swigregister
, METH_VARARGS 
}, 
4944          { (char *)"new_XmlProperty", (PyCFunction
) _wrap_new_XmlProperty
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4945          { (char *)"XmlProperty_GetName", (PyCFunction
) _wrap_XmlProperty_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4946          { (char *)"XmlProperty_GetValue", (PyCFunction
) _wrap_XmlProperty_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4947          { (char *)"XmlProperty_GetNext", (PyCFunction
) _wrap_XmlProperty_GetNext
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4948          { (char *)"XmlProperty_SetName", (PyCFunction
) _wrap_XmlProperty_SetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4949          { (char *)"XmlProperty_SetValue", (PyCFunction
) _wrap_XmlProperty_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4950          { (char *)"XmlProperty_SetNext", (PyCFunction
) _wrap_XmlProperty_SetNext
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4951          { (char *)"XmlProperty_swigregister", XmlProperty_swigregister
, METH_VARARGS 
}, 
4952          { (char *)"new_XmlNode", (PyCFunction
) _wrap_new_XmlNode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4953          { (char *)"delete_XmlNode", (PyCFunction
) _wrap_delete_XmlNode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4954          { (char *)"new_XmlNodeEasy", (PyCFunction
) _wrap_new_XmlNodeEasy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4955          { (char *)"XmlNode_AddChild", (PyCFunction
) _wrap_XmlNode_AddChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4956          { (char *)"XmlNode_InsertChild", (PyCFunction
) _wrap_XmlNode_InsertChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4957          { (char *)"XmlNode_RemoveChild", (PyCFunction
) _wrap_XmlNode_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4958          { (char *)"XmlNode_AddProperty", (PyCFunction
) _wrap_XmlNode_AddProperty
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4959          { (char *)"XmlNode_AddPropertyName", (PyCFunction
) _wrap_XmlNode_AddPropertyName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4960          { (char *)"XmlNode_DeleteProperty", (PyCFunction
) _wrap_XmlNode_DeleteProperty
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4961          { (char *)"XmlNode_GetType", (PyCFunction
) _wrap_XmlNode_GetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4962          { (char *)"XmlNode_GetName", (PyCFunction
) _wrap_XmlNode_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4963          { (char *)"XmlNode_GetContent", (PyCFunction
) _wrap_XmlNode_GetContent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4964          { (char *)"XmlNode_GetParent", (PyCFunction
) _wrap_XmlNode_GetParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4965          { (char *)"XmlNode_GetNext", (PyCFunction
) _wrap_XmlNode_GetNext
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4966          { (char *)"XmlNode_GetChildren", (PyCFunction
) _wrap_XmlNode_GetChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4967          { (char *)"XmlNode_GetProperties", (PyCFunction
) _wrap_XmlNode_GetProperties
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4968          { (char *)"XmlNode_GetPropVal", (PyCFunction
) _wrap_XmlNode_GetPropVal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4969          { (char *)"XmlNode_HasProp", (PyCFunction
) _wrap_XmlNode_HasProp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4970          { (char *)"XmlNode_SetType", (PyCFunction
) _wrap_XmlNode_SetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4971          { (char *)"XmlNode_SetName", (PyCFunction
) _wrap_XmlNode_SetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4972          { (char *)"XmlNode_SetContent", (PyCFunction
) _wrap_XmlNode_SetContent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4973          { (char *)"XmlNode_SetParent", (PyCFunction
) _wrap_XmlNode_SetParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4974          { (char *)"XmlNode_SetNext", (PyCFunction
) _wrap_XmlNode_SetNext
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4975          { (char *)"XmlNode_SetChildren", (PyCFunction
) _wrap_XmlNode_SetChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4976          { (char *)"XmlNode_SetProperties", (PyCFunction
) _wrap_XmlNode_SetProperties
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4977          { (char *)"XmlNode_swigregister", XmlNode_swigregister
, METH_VARARGS 
}, 
4978          { (char *)"new_XmlDocument", (PyCFunction
) _wrap_new_XmlDocument
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4979          { (char *)"new_XmlDocumentFromStream", (PyCFunction
) _wrap_new_XmlDocumentFromStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4980          { (char *)"new_EmptyXmlDocument", (PyCFunction
) _wrap_new_EmptyXmlDocument
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4981          { (char *)"delete_XmlDocument", (PyCFunction
) _wrap_delete_XmlDocument
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4982          { (char *)"XmlDocument_Load", (PyCFunction
) _wrap_XmlDocument_Load
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4983          { (char *)"XmlDocument_LoadFromStream", (PyCFunction
) _wrap_XmlDocument_LoadFromStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4984          { (char *)"XmlDocument_Save", (PyCFunction
) _wrap_XmlDocument_Save
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4985          { (char *)"XmlDocument_SaveToStream", (PyCFunction
) _wrap_XmlDocument_SaveToStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4986          { (char *)"XmlDocument_IsOk", (PyCFunction
) _wrap_XmlDocument_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4987          { (char *)"XmlDocument_GetRoot", (PyCFunction
) _wrap_XmlDocument_GetRoot
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4988          { (char *)"XmlDocument_GetVersion", (PyCFunction
) _wrap_XmlDocument_GetVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4989          { (char *)"XmlDocument_GetFileEncoding", (PyCFunction
) _wrap_XmlDocument_GetFileEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4990          { (char *)"XmlDocument_SetRoot", (PyCFunction
) _wrap_XmlDocument_SetRoot
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4991          { (char *)"XmlDocument_SetVersion", (PyCFunction
) _wrap_XmlDocument_SetVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4992          { (char *)"XmlDocument_SetFileEncoding", (PyCFunction
) _wrap_XmlDocument_SetFileEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4993          { (char *)"XmlDocument_swigregister", XmlDocument_swigregister
, METH_VARARGS 
}, 
4994          { (char *)"new_XmlResourceHandler", (PyCFunction
) _wrap_new_XmlResourceHandler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4995          { (char *)"XmlResourceHandler__setCallbackInfo", (PyCFunction
) _wrap_XmlResourceHandler__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4996          { (char *)"XmlResourceHandler_CreateResource", (PyCFunction
) _wrap_XmlResourceHandler_CreateResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4997          { (char *)"XmlResourceHandler_SetParentResource", (PyCFunction
) _wrap_XmlResourceHandler_SetParentResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4998          { (char *)"XmlResourceHandler_GetResource", (PyCFunction
) _wrap_XmlResourceHandler_GetResource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4999          { (char *)"XmlResourceHandler_GetNode", (PyCFunction
) _wrap_XmlResourceHandler_GetNode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5000          { (char *)"XmlResourceHandler_GetClass", (PyCFunction
) _wrap_XmlResourceHandler_GetClass
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5001          { (char *)"XmlResourceHandler_GetParent", (PyCFunction
) _wrap_XmlResourceHandler_GetParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5002          { (char *)"XmlResourceHandler_GetInstance", (PyCFunction
) _wrap_XmlResourceHandler_GetInstance
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5003          { (char *)"XmlResourceHandler_GetParentAsWindow", (PyCFunction
) _wrap_XmlResourceHandler_GetParentAsWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5004          { (char *)"XmlResourceHandler_GetInstanceAsWindow", (PyCFunction
) _wrap_XmlResourceHandler_GetInstanceAsWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5005          { (char *)"XmlResourceHandler_IsOfClass", (PyCFunction
) _wrap_XmlResourceHandler_IsOfClass
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5006          { (char *)"XmlResourceHandler_GetNodeContent", (PyCFunction
) _wrap_XmlResourceHandler_GetNodeContent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5007          { (char *)"XmlResourceHandler_HasParam", (PyCFunction
) _wrap_XmlResourceHandler_HasParam
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5008          { (char *)"XmlResourceHandler_GetParamNode", (PyCFunction
) _wrap_XmlResourceHandler_GetParamNode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5009          { (char *)"XmlResourceHandler_GetParamValue", (PyCFunction
) _wrap_XmlResourceHandler_GetParamValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5010          { (char *)"XmlResourceHandler_AddStyle", (PyCFunction
) _wrap_XmlResourceHandler_AddStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5011          { (char *)"XmlResourceHandler_AddWindowStyles", (PyCFunction
) _wrap_XmlResourceHandler_AddWindowStyles
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5012          { (char *)"XmlResourceHandler_GetStyle", (PyCFunction
) _wrap_XmlResourceHandler_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5013          { (char *)"XmlResourceHandler_GetText", (PyCFunction
) _wrap_XmlResourceHandler_GetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5014          { (char *)"XmlResourceHandler_GetID", (PyCFunction
) _wrap_XmlResourceHandler_GetID
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5015          { (char *)"XmlResourceHandler_GetName", (PyCFunction
) _wrap_XmlResourceHandler_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5016          { (char *)"XmlResourceHandler_GetBool", (PyCFunction
) _wrap_XmlResourceHandler_GetBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5017          { (char *)"XmlResourceHandler_GetLong", (PyCFunction
) _wrap_XmlResourceHandler_GetLong
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5018          { (char *)"XmlResourceHandler_GetColour", (PyCFunction
) _wrap_XmlResourceHandler_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5019          { (char *)"XmlResourceHandler_GetSize", (PyCFunction
) _wrap_XmlResourceHandler_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5020          { (char *)"XmlResourceHandler_GetPosition", (PyCFunction
) _wrap_XmlResourceHandler_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5021          { (char *)"XmlResourceHandler_GetDimension", (PyCFunction
) _wrap_XmlResourceHandler_GetDimension
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5022          { (char *)"XmlResourceHandler_GetBitmap", (PyCFunction
) _wrap_XmlResourceHandler_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5023          { (char *)"XmlResourceHandler_GetIcon", (PyCFunction
) _wrap_XmlResourceHandler_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5024          { (char *)"XmlResourceHandler_GetFont", (PyCFunction
) _wrap_XmlResourceHandler_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5025          { (char *)"XmlResourceHandler_SetupWindow", (PyCFunction
) _wrap_XmlResourceHandler_SetupWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5026          { (char *)"XmlResourceHandler_CreateChildren", (PyCFunction
) _wrap_XmlResourceHandler_CreateChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5027          { (char *)"XmlResourceHandler_CreateChildrenPrivately", (PyCFunction
) _wrap_XmlResourceHandler_CreateChildrenPrivately
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5028          { (char *)"XmlResourceHandler_CreateResFromNode", (PyCFunction
) _wrap_XmlResourceHandler_CreateResFromNode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5029          { (char *)"XmlResourceHandler_GetCurFileSystem", (PyCFunction
) _wrap_XmlResourceHandler_GetCurFileSystem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
5030          { (char *)"XmlResourceHandler_swigregister", XmlResourceHandler_swigregister
, METH_VARARGS 
}, 
5035 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
5037 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
5038     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
5040 static void *_p_wxXmlDocumentTo_p_wxObject(void *x
) { 
5041     return (void *)((wxObject 
*)  ((wxXmlDocument 
*) x
)); 
5043 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
5044     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
5046 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
5047     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
5049 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
5050     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
5052 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
5053     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
5055 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
5056     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
5058 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
5059     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
5061 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
5062     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
5064 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
5065     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
5067 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
5068     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
5070 static void *_p_wxEventTo_p_wxObject(void *x
) { 
5071     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
5073 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
5074     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
5076 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
5077     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
5079 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
5080     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
5082 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
5083     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
5085 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
5086     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
5088 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
5089     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
5091 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
5092     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
5094 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
5095     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
5097 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
5098     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
5100 static void *_p_wxControlTo_p_wxObject(void *x
) { 
5101     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
5103 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
5104     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
5106 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
5107     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
5109 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
5110     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
5112 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
5113     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
5115 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
5116     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
5118 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
5119     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
5121 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
5122     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
5124 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
5125     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
5127 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
5128     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
5130 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
5131     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
5133 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
5134     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
5136 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
5137     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
5139 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
5140     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
5142 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
5143     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
5145 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
5146     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
5148 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
5149     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
5151 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
5152     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
5154 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
5155     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
5157 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
5158     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
5160 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
5161     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
5163 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
5164     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
5166 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
5167     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
5169 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
5170     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
5172 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
5173     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
5175 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
5176     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
5178 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
5179     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
5181 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
5182     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
5184 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
5185     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
5187 static void *_p_wxPyXmlResourceHandlerTo_p_wxObject(void *x
) { 
5188     return (void *)((wxObject 
*)  ((wxPyXmlResourceHandler 
*) x
)); 
5190 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
5191     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
5193 static void *_p_wxImageTo_p_wxObject(void *x
) { 
5194     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
5196 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
5197     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
5199 static void *_p_wxXmlResourceTo_p_wxObject(void *x
) { 
5200     return (void *)((wxObject 
*)  ((wxXmlResource 
*) x
)); 
5202 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
5203     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
5205 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
5206     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
5208 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
5209     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
5211 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
5212     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
5214 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
5215     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
5217 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
5218     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
5220 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
5221     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
5223 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
5224     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
5226 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
5227     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
5229 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
5230     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
5232 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
5233     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
5235 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
5236     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
5238 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
5239     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
5241 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
5242     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
5244 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
5245     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
5247 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
5248     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
5250 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
5251     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
5253 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
5254     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
5256 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
5257     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
5259 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
5260     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
5262 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
5263     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
5265 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
5266     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
5268 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
5269     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
5271 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
5272     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
5274 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}}; 
5275 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; 
5276 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}}; 
5277 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{0}}; 
5278 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; 
5279 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}}; 
5280 static swig_type_info _swigt__p_wxArtClient
[] = {{"_p_wxArtClient", 0, "wxArtClient *", 0},{"_p_wxArtClient"},{0}}; 
5281 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; 
5282 static swig_type_info _swigt__p_wxPyXmlSubclassFactory
[] = {{"_p_wxPyXmlSubclassFactory", 0, "wxPyXmlSubclassFactory *", 0},{"_p_wxPyXmlSubclassFactory"},{0}}; 
5283 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; 
5284 static swig_type_info _swigt__p_wxXmlNode
[] = {{"_p_wxXmlNode", 0, "wxXmlNode *", 0},{"_p_wxXmlNode"},{0}}; 
5285 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}}; 
5286 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}}; 
5287 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; 
5288 static swig_type_info _swigt__p_wxPyXmlResourceHandler
[] = {{"_p_wxPyXmlResourceHandler", 0, "wxPyXmlResourceHandler *", 0},{"_p_wxPyXmlResourceHandler"},{0}}; 
5289 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}}; 
5290 static swig_type_info _swigt__p_wxXmlProperty
[] = {{"_p_wxXmlProperty", 0, "wxXmlProperty *", 0},{"_p_wxXmlProperty"},{0}}; 
5291 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; 
5292 static swig_type_info _swigt__p_wxXmlResource
[] = {{"_p_wxXmlResource", 0, "wxXmlResource *", 0},{"_p_wxXmlResource"},{0}}; 
5293 static swig_type_info _swigt__p_wxXmlDocument
[] = {{"_p_wxXmlDocument", 0, "wxXmlDocument *", 0},{"_p_wxXmlDocument"},{0}}; 
5294 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{0}}; 
5295 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; 
5297 static swig_type_info 
*swig_types_initial
[] = { 
5304 _swigt__p_wxArtClient
,  
5306 _swigt__p_wxPyXmlSubclassFactory
,  
5308 _swigt__p_wxXmlNode
,  
5309 _swigt__p_wxInputStream
,  
5310 _swigt__p_wxOutputStream
,  
5312 _swigt__p_wxPyXmlResourceHandler
,  
5313 _swigt__p_wxFileSystem
,  
5314 _swigt__p_wxXmlProperty
,  
5316 _swigt__p_wxXmlResource
,  
5317 _swigt__p_wxXmlDocument
,  
5324 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
5326 static swig_const_info swig_const_table
[] = { 
5327 { SWIG_PY_INT
,     (char *)"WX_XMLRES_CURRENT_VERSION_MAJOR", (long) WX_XMLRES_CURRENT_VERSION_MAJOR
, 0, 0, 0}, 
5328 { SWIG_PY_INT
,     (char *)"WX_XMLRES_CURRENT_VERSION_MINOR", (long) WX_XMLRES_CURRENT_VERSION_MINOR
, 0, 0, 0}, 
5329 { SWIG_PY_INT
,     (char *)"WX_XMLRES_CURRENT_VERSION_RELEASE", (long) WX_XMLRES_CURRENT_VERSION_RELEASE
, 0, 0, 0}, 
5330 { SWIG_PY_INT
,     (char *)"WX_XMLRES_CURRENT_VERSION_REVISION", (long) WX_XMLRES_CURRENT_VERSION_REVISION
, 0, 0, 0}, 
5331 { SWIG_PY_INT
,     (char *)"XRC_USE_LOCALE", (long) wxXRC_USE_LOCALE
, 0, 0, 0}, 
5332 { SWIG_PY_INT
,     (char *)"XRC_NO_SUBCLASSING", (long) wxXRC_NO_SUBCLASSING
, 0, 0, 0}, 
5333 { SWIG_PY_INT
,     (char *)"XML_ELEMENT_NODE", (long) wxXML_ELEMENT_NODE
, 0, 0, 0}, 
5334 { SWIG_PY_INT
,     (char *)"XML_ATTRIBUTE_NODE", (long) wxXML_ATTRIBUTE_NODE
, 0, 0, 0}, 
5335 { SWIG_PY_INT
,     (char *)"XML_TEXT_NODE", (long) wxXML_TEXT_NODE
, 0, 0, 0}, 
5336 { SWIG_PY_INT
,     (char *)"XML_CDATA_SECTION_NODE", (long) wxXML_CDATA_SECTION_NODE
, 0, 0, 0}, 
5337 { SWIG_PY_INT
,     (char *)"XML_ENTITY_REF_NODE", (long) wxXML_ENTITY_REF_NODE
, 0, 0, 0}, 
5338 { SWIG_PY_INT
,     (char *)"XML_ENTITY_NODE", (long) wxXML_ENTITY_NODE
, 0, 0, 0}, 
5339 { SWIG_PY_INT
,     (char *)"XML_PI_NODE", (long) wxXML_PI_NODE
, 0, 0, 0}, 
5340 { SWIG_PY_INT
,     (char *)"XML_COMMENT_NODE", (long) wxXML_COMMENT_NODE
, 0, 0, 0}, 
5341 { SWIG_PY_INT
,     (char *)"XML_DOCUMENT_NODE", (long) wxXML_DOCUMENT_NODE
, 0, 0, 0}, 
5342 { SWIG_PY_INT
,     (char *)"XML_DOCUMENT_TYPE_NODE", (long) wxXML_DOCUMENT_TYPE_NODE
, 0, 0, 0}, 
5343 { SWIG_PY_INT
,     (char *)"XML_DOCUMENT_FRAG_NODE", (long) wxXML_DOCUMENT_FRAG_NODE
, 0, 0, 0}, 
5344 { SWIG_PY_INT
,     (char *)"XML_NOTATION_NODE", (long) wxXML_NOTATION_NODE
, 0, 0, 0}, 
5345 { SWIG_PY_INT
,     (char *)"XML_HTML_DOCUMENT_NODE", (long) wxXML_HTML_DOCUMENT_NODE
, 0, 0, 0}, 
5355 SWIGEXPORT(void) SWIG_init(void) { 
5356     static PyObject 
*SWIG_globals 
= 0;  
5357     static int       typeinit 
= 0; 
5360     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
5361     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
5362     d 
= PyModule_GetDict(m
); 
5365         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
5366             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
5370     SWIG_InstallConstants(d
,swig_const_table
); 
5372     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
5373     SWIG_addvarlink(SWIG_globals
,(char*)"UTF8String",_wrap_UTF8String_get
, _wrap_UTF8String_set
); 
5374     SWIG_addvarlink(SWIG_globals
,(char*)"StyleString",_wrap_StyleString_get
, _wrap_StyleString_set
); 
5375     SWIG_addvarlink(SWIG_globals
,(char*)"SizeString",_wrap_SizeString_get
, _wrap_SizeString_set
); 
5376     SWIG_addvarlink(SWIG_globals
,(char*)"PosString",_wrap_PosString_get
, _wrap_PosString_set
); 
5377     SWIG_addvarlink(SWIG_globals
,(char*)"BitmapString",_wrap_BitmapString_get
, _wrap_BitmapString_set
); 
5378     SWIG_addvarlink(SWIG_globals
,(char*)"IconString",_wrap_IconString_get
, _wrap_IconString_set
); 
5379     SWIG_addvarlink(SWIG_globals
,(char*)"FontString",_wrap_FontString_get
, _wrap_FontString_set
); 
5382     wxXmlInitResourceModule(); 
5383     wxXmlResource::Get()->InitAllHandlers();