]>
Commit | Line | Data |
---|---|---|
7bf85405 | 1 | ///////////////////////////////////////////////////////////////////////////// |
d14a1e28 RD |
2 | // Name: controls.i |
3 | // Purpose: Control (widget) classes for wxPython | |
7bf85405 RD |
4 | // |
5 | // Author: Robin Dunn | |
6 | // | |
d14a1e28 | 7 | // Created: 7-July-1997 |
7bf85405 | 8 | // RCS-ID: $Id$ |
d14a1e28 | 9 | // Copyright: (c) 2003 by Total Control Software |
7bf85405 RD |
10 | // Licence: wxWindows license |
11 | ///////////////////////////////////////////////////////////////////////////// | |
12 | ||
b2eb030f | 13 | %module(package="wx") _gdi |
03e9bead | 14 | |
7bf85405 RD |
15 | //--------------------------------------------------------------------------- |
16 | ||
7bf85405 | 17 | %{ |
d14a1e28 RD |
18 | #include "wx/wxPython/wxPython.h" |
19 | #include "wx/wxPython/pyclasses.h" | |
20 | ||
96bfd053 RD |
21 | %} |
22 | ||
3ef86e32 RD |
23 | //--------------------------------------------------------------------------- |
24 | ||
d14a1e28 | 25 | %import core.i |
54f9ee45 | 26 | %pythoncode { wx = _core } |
3ef86e32 | 27 | |
54f9ee45 | 28 | %include __gdi_rename.i |
3ef86e32 | 29 | |
3ef86e32 | 30 | |
b2dc1044 | 31 | MAKE_CONST_WXSTRING_NOSWIG(EmptyString); |
3ef86e32 | 32 | |
3ef86e32 | 33 | |
b2dc1044 RD |
34 | // Include all the files that make up this module |
35 | ||
d14a1e28 RD |
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 | |
d14a1e28 | 50 | %include _effects.i |
3ef86e32 RD |
51 | |
52 | ||
7bf85405 | 53 | //--------------------------------------------------------------------------- |
7722248d RD |
54 | %init %{ |
55 | // Work around a chicken/egg problem in drawlist.cpp | |
56 | wxPyDrawList_SetAPIPtr(); | |
57 | %} | |
58 | ||
0e9b78ce | 59 | //--------------------------------------------------------------------------- |