X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d9de11075ad9523c34d7c8401b8eea9d35e57d0..57d0f66a02c560a1d7c772c1272aedd03eb709ea:/wxPython/src/_app_ex.py diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index 57b90756bd..fc84315a09 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -131,7 +131,7 @@ class App(wx.PyApp): wx.PyApp.__init__(self) # make sure we can create a GUI - if not self.DisplayAvailable(): + if not self.IsDisplayAvailable(): if wx.Platform == "__WXMAC__": msg = """This program needs access to the screen.