]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/xrc/xrc.i
Tweaks
[wxWidgets.git] / wxPython / contrib / xrc / xrc.i
CommitLineData
d56cebe7
RD
1/////////////////////////////////////////////////////////////////////////////
2// Name: xrc.i
3// Purpose: Wrappers for the XML based Resource system
4//
5// Author: Robin Dunn
6//
7// Created: 4-June-2001
8// RCS-ID: $Id$
9// Copyright: (c) 2001 by Total Control Software
10// Licence: wxWindows license
11/////////////////////////////////////////////////////////////////////////////
12
13%module xrc
14
15
16%{
d14a1e28
RD
17#include "wx/wxPython/wxPython.h"
18#include "wx/wxPython/pyclasses.h"
19#include "wx/wxPython/pyistream.h"
628c7f79 20
d14a1e28
RD
21#include <wx/xml/xml.h>
22#include <wx/xrc/xmlres.h>
d56cebe7 23
628c7f79 24%}
1e4a197e 25
d56cebe7
RD
26//---------------------------------------------------------------------------
27
d14a1e28 28%import core.i
54f9ee45 29%pythoncode { wx = _core }
99109c0f 30%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
628c7f79 31
b2dc1044
RD
32
33MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
089142a5
RD
34MAKE_CONST_WXSTRING2(UTF8String, wxT("UTF-8"));
35MAKE_CONST_WXSTRING2(StyleString, wxT("style"));
36MAKE_CONST_WXSTRING2(SizeString, wxT("size"));
37MAKE_CONST_WXSTRING2(PosString, wxT("pos"));
38MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
39MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
40MAKE_CONST_WXSTRING2(FontString, wxT("font"));
b2dc1044
RD
41
42
d14a1e28 43%include _xrc_rename.i
628c7f79 44
628c7f79 45
d14a1e28
RD
46// Include all the files that make up this module
47%include _xmlres.i
48%include _xmlsub.i
49%include _xml.i
50%include _xmlhandler.i
628c7f79 51
628c7f79 52
628c7f79 53
d14a1e28 54//---------------------------------------------------------------------------
d56cebe7
RD
55
56%init %{
57
d56cebe7 58 wxXmlInitResourceModule();
ce914f73 59 wxXmlResource::Get()->InitAllHandlers();
d56cebe7
RD
60
61%}
62
ce914f73 63
d14a1e28 64%pythoncode "_xrc_ex.py";
ce914f73
RD
65
66
d14a1e28 67//---------------------------------------------------------------------------