]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_app_ex.py
mdi fix
[wxWidgets.git] / wxPython / src / _app_ex.py
index 57b90756bd1ee540b09464509a884ce69d04ecdd..fc84315a099fb9b3de95b15ce0805355e9766fb8 100644 (file)
@@ -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.