]>
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(package="wx") _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 | MAKE_CONST_WXSTRING_NOSWIG(EmptyString); | |
29 | ||
30 | ||
31 | // Include all the files that make up this module | |
32 | ||
33 | %include _gdiobj.i | |
34 | %include _colour.i | |
35 | %include _palette.i | |
36 | %include _pen.i | |
37 | %include _brush.i | |
38 | %include _bitmap.i | |
39 | %include _icon.i | |
40 | %include _cursor.i | |
41 | %include _region.i | |
42 | %include _font.i | |
43 | %include _intl.i | |
44 | %include _dc.i | |
45 | %include _graphics.i | |
46 | %include _overlay.i | |
47 | %include _imaglist.i | |
48 | %include _stockobjs.i | |
49 | %include _effects.i | |
50 | %include _renderer.i | |
51 | %include _pseudodc.i | |
52 | ||
53 | //--------------------------------------------------------------------------- | |
54 | %init %{ | |
55 | // Work around a chicken/egg problem in drawlist.cpp | |
56 | wxPyDrawList_SetAPIPtr(); | |
57 | %} | |
58 | ||
59 | //--------------------------------------------------------------------------- |