Esempio n. 1
0
    def __init__(self):
        # On init we must check dependencies: if it raises no error, it's used.
        import wx
        self.app = pydev_guisupport.get_app_wx(redirect=False)

        # Check post-conditions
        assert hasattr(self.app, 'ProcessPendingEvents')
        assert hasattr(wx, 'CallAfter')
Esempio n. 2
0
    def __init__(self):
        # On init we must check dependencies: if it raises no error, it's used.
        import wx

        self.app = pydev_guisupport.get_app_wx(redirect=False)

        # Check post-conditions
        assert hasattr(self.app, "ProcessPendingEvents")
        assert hasattr(wx, "CallAfter")
Esempio n. 3
0
 def __init__(self):
     #On init we must check dependencies: if it raises no error, it's used.
     import wx
     #If I pass redirect = False, the console does not work (and I don't know why).
     self.app = pydev_guisupport.get_app_wx(redirect=True)
Esempio n. 4
0
 def __init__(self):
     #On init we must check dependencies: if it raises no error, it's used.
     import wx
     #If I pass redirect = False, the console does not work (and I don't know why).
     self.app = pydev_guisupport.get_app_wx(redirect=True)