DisplayAvailable renamed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-09-12 18:45:22 +00:00
parent c764029c20
commit a4314b7e48

View File

@ -131,7 +131,7 @@ class App(wx.PyApp):
wx.PyApp.__init__(self) wx.PyApp.__init__(self)
# make sure we can create a GUI # make sure we can create a GUI
if not self.DisplayAvailable(): if not self.IsDisplayAvailable():
if wx.Platform == "__WXMAC__": if wx.Platform == "__WXMAC__":
msg = """This program needs access to the screen. msg = """This program needs access to the screen.