]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gdi.i
Don't call BeginDrawing/EndDrawing, they're deprecated.
[wxWidgets.git] / wxPython / src / gdi.i
CommitLineData
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
b2dc1044 28MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
3ef86e32 29
3ef86e32 30
b2dc1044
RD
31// Include all the files that make up this module
32
d14a1e28
RD
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
6d61d718 45%include _graphics.i
d14a1e28
RD
46%include _imaglist.i
47%include _stockobjs.i
d14a1e28 48%include _effects.i
c95499b9 49%include _renderer.i
1200ae16 50%include _pseudodc.i
3ef86e32 51
7bf85405 52//---------------------------------------------------------------------------
7722248d
RD
53%init %{
54 // Work around a chicken/egg problem in drawlist.cpp
55 wxPyDrawList_SetAPIPtr();
56%}
57
0e9b78ce 58//---------------------------------------------------------------------------