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.