]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: controls.i | |
3 | // Purpose: Control (widget) classes for wxPython | |
4 | // | |
5 | // Author: Robin Dunn | |
6 | // | |
7 | // Created: 7-July-1997 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) 2003 by Total Control Software | |
10 | // Licence: wxWindows license | |
11 | ///////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | %module gdi | |
14 | ||
15 | //--------------------------------------------------------------------------- | |
16 | ||
17 | %{ | |
18 | #include "wx/wxPython/wxPython.h" | |
19 | #include "wx/wxPython/pyclasses.h" | |
20 | ||
21 | %} | |
22 | ||
23 | //--------------------------------------------------------------------------- | |
24 | ||
25 | %import core.i | |
26 | %pythoncode { wx = core } | |
27 | ||
28 | %include _gdi_rename.i | |
29 | ||
30 | ||
31 | MAKE_CONST_WXSTRING_NOSWIG(EmptyString); | |
32 | ||
33 | ||
34 | // Include all the files that make up this module | |
35 | ||
36 | %include _gdiobj.i | |
37 | %include _colour.i | |
38 | %include _palette.i | |
39 | %include _pen.i | |
40 | %include _brush.i | |
41 | %include _bitmap.i | |
42 | %include _icon.i | |
43 | %include _cursor.i | |
44 | %include _region.i | |
45 | %include _font.i | |
46 | %include _intl.i | |
47 | %include _dc.i | |
48 | %include _imaglist.i | |
49 | %include _stockobjs.i | |
50 | %include _effects.i | |
51 | ||
52 | ||
53 | //--------------------------------------------------------------------------- | |
54 | %init %{ | |
55 | // Work around a chicken/egg problem in drawlist.cpp | |
56 | wxPyDrawList_SetAPIPtr(); | |
57 | %} | |
58 | ||
59 | //--------------------------------------------------------------------------- |