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 #----------------------------------------------------------------------------
19 #----------------------------------------------------------------------------
21 Since the wxWindows library now includes its own sizers, the
22 classes in wxPython.lib.sizers have been depreciated. Please
23 see the Reference Manual for details of the new classes.
25 To contiunue using wxPython.lib.sizers without this
26 message you can set the WXP_OLDSIZERS envronment
27 variable to any value.
32 from wxPython
.wx
import wxMessageDialog
, wxOK
, wxICON_EXCLAMATION
, wxPlatform
34 if not os
.environ
.has_key('WXP_OLDSIZERS'):
35 if wxPlatform
== '__WXMSW__':
36 dlg
= wxMessageDialog(None, _msg
,
37 "Depreciated Feature",
38 wxOK | wxICON_EXCLAMATION
)
45 #----------------------------------------------------------------------------