1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Wrappers for the XML based Resource system
7 // Created: 4-June-2001
9 // Copyright: (c) 2001 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
17 #include "wx/wxPython/wxPython.h"
18 #include "wx/wxPython/pyclasses.h"
19 #include "wx/wxPython/pyistream.h"
21 #include <wx/xml/xml.h>
22 #include <wx/xrc/xmlres.h>
26 //---------------------------------------------------------------------------
29 %pythoncode { wx = _core }
30 %pythoncode { __docfilter__ = wx.__docfilter__ }
33 MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
34 MAKE_CONST_WXSTRING2(UTF8String, wxT("UTF-8"));
35 MAKE_CONST_WXSTRING2(StyleString, wxT("style"));
36 MAKE_CONST_WXSTRING2(SizeString, wxT("size"));
37 MAKE_CONST_WXSTRING2(PosString, wxT("pos"));
38 MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
39 MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
40 MAKE_CONST_WXSTRING2(FontString, wxT("font"));
43 %include _xrc_rename.i
46 // Include all the files that make up this module
50 %include _xmlhandler.i
54 //---------------------------------------------------------------------------
58 wxXmlInitResourceModule();
59 wxXmlResource::Get()->InitAllHandlers();
64 %pythoncode "_xrc_ex.py";
67 //---------------------------------------------------------------------------