minor additions and bugfixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-10-09 21:24:16 +00:00
parent 21422dd796
commit 06c0fba410
20 changed files with 1498 additions and 1271 deletions

View File

@@ -17,13 +17,7 @@ from border import *
from shape import *
#----------------------------------------------------------------------------
import os
from wxPython.wx import wxMessageDialog, wxOK, wxICON_EXCLAMATION
if not os.environ.has_key('WXP_OLDSIZERS'):
dlg = wxMessageDialog(None,
"""\
_msg = """\
Since the wxWindows library now includes its own sizers, the
classes in wxPython.lib.sizers have been depreciated. Please
see the Reference Manual for details of the new classes.
@@ -31,10 +25,21 @@ see the Reference Manual for details of the new classes.
To contiunue using wxPython.lib.sizers without this
message you can set the WXP_OLDSIZERS envronment
variable to any value.
""",
"Depreciated Feature",
wxOK | wxICON_EXCLAMATION)
dlg.ShowModal()
dlg.Destroy()
"""
import os
from wxPython.wx import wxMessageDialog, wxOK, wxICON_EXCLAMATION, wxPlatform
if not os.environ.has_key('WXP_OLDSIZERS'):
if wxPlatform == '__WXMSW__':
dlg = wxMessageDialog(None, _msg,
"Depreciated Feature",
wxOK | wxICON_EXCLAMATION)
dlg.ShowModal()
dlg.Destroy()
else:
print '\a'
print _msg
#----------------------------------------------------------------------------