1 #----------------------------------------------------------------------------
3 # Purpose: The presence of this file turns this directory into a
10 # Copyright: (c) 1998 by Total Control Software
11 # Licence: wxWindows license
12 #----------------------------------------------------------------------------
18 #----------------------------------------------------------------------------
21 from wxPython
.wx
import wxMessageDialog
, wxOK
, wxICON_EXCLAMATION
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"
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
)
37 #----------------------------------------------------------------------------