new contributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
from sizer import *
|
||||
from box import *
|
||||
from border import *
|
||||
from shape import *
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@@ -22,13 +23,15 @@ from wxPython.wx import wxMessageDialog, wxOK, wxICON_EXCLAMATION
|
||||
|
||||
if not os.environ.has_key('WXP_OLDSIZERS'):
|
||||
dlg = wxMessageDialog(None,
|
||||
"Since wxWindows now includes sizers the classes in\n"
|
||||
"wxPython.lib.sizers have been depreciated. Please\n"
|
||||
"see the Reference Manual for details of the new classes.\n"
|
||||
"\n"
|
||||
"To contiunue using wxPython.lib.sizers without this\n"
|
||||
"message you can set the WXP_OLDSIZERS envronment \n"
|
||||
"variable to any value.",
|
||||
"""\
|
||||
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.
|
||||
|
||||
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()
|
||||
|
Reference in New Issue
Block a user