]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/lib/sizers/__init__.py
74d416c1c59feefd3c0db3254075c3917a0da5f1
[wxWidgets.git] / utils / wxPython / lib / sizers / __init__.py
1 #----------------------------------------------------------------------------
2 # Name: __init__.py
3 # Purpose: The presence of this file turns this directory into a
4 # Python package.
5 #
6 # Author: Robin Dunn
7 #
8 # Created: 18-May-1999
9 # RCS-ID: $Id$
10 # Copyright: (c) 1998 by Total Control Software
11 # Licence: wxWindows license
12 #----------------------------------------------------------------------------
13
14 from sizer import *
15 from box import *
16 from border import *
17 from shape import *
18
19 #----------------------------------------------------------------------------
20
21 import os
22 from wxPython.wx import wxMessageDialog, wxOK, wxICON_EXCLAMATION
23
24 if not os.environ.has_key('WXP_OLDSIZERS'):
25 dlg = wxMessageDialog(None,
26 """\
27 Since the wxWindows library now includes its own sizers, the
28 classes in wxPython.lib.sizers have been depreciated. Please
29 see the Reference Manual for details of the new classes.
30
31 To contiunue using wxPython.lib.sizers without this
32 message you can set the WXP_OLDSIZERS envronment
33 variable to any value.
34 """,
35 "Depreciated Feature",
36 wxOK | wxICON_EXCLAMATION)
37 dlg.ShowModal()
38 dlg.Destroy()
39
40 #----------------------------------------------------------------------------