]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/lib/sizers/__init__.py
1. wxHtmlHelpController and related classes
[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
18 #----------------------------------------------------------------------------
19
20 import os
21 from wxPython.wx import wxMessageDialog, wxOK, wxICON_EXCLAMATION
22
23 if not os.environ.has_key('WXP_OLDSIZERS'):
24 dlg = wxMessageDialog(None,
25 "Since wxWindows now includes sizers the classes in\n"
26 "wxPython.lib.sizers have been depreciated. Please\n"
27 "see the Reference Manual for details of the new classes.\n"
28 "\n"
29 "To contiunue using wxPython.lib.sizers without this\n"
30 "message you can set the WXP_OLDSIZERS envronment \n"
31 "variable to any value.",
32 "Depreciated Feature",
33 wxOK | wxICON_EXCLAMATION)
34 dlg.ShowModal()
35 dlg.Destroy()
36
37 #----------------------------------------------------------------------------