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>
24 static const wxString wxPyEmptyString(wxT(""));
25 static const wxString wxPyUTF8String(wxT("UTF-8"));
26 static const wxString wxPyStyleString(wxT("style"));
27 static const wxString wxPySizeString(wxT("size"));
28 static const wxString wxPyPosString(wxT("pos"));
29 static const wxString wxPyBitmapString(wxT("bitmap"));
30 static const wxString wxPyIconString(wxT("icon"));
31 static const wxString wxPyFontString(wxT("font"));
34 //---------------------------------------------------------------------------
37 %pythoncode { wx = core }
39 %include _xrc_rename.i
42 // Include all the files that make up this module
46 %include _xmlhandler.i
50 //---------------------------------------------------------------------------
54 wxXmlInitResourceModule();
55 wxXmlResource::Get()->InitAllHandlers();
60 %pythoncode "_xrc_ex.py";
63 //---------------------------------------------------------------------------