diff --git a/FlowCytometryTools/GUI/gui.py b/FlowCytometryTools/GUI/gui.py
index <HASH>..<HASH> 100755
--- a/FlowCytometryTools/GUI/gui.py
+++ b/FlowCytometryTools/GUI/gui.py
@@ -99,8 +99,9 @@ class FCGUI(object):
         if filepath is not None and measurement is not None:
             raise ValueError('You can only specify either filepath or measurement, but not both.')
 
-        self.app = wx.PySimpleApp(0)
-        wx.InitAllImageHandlers()
+        #self.app = wx.PySimpleApp(0)
+        self.app = wx.App(False)
+        #wx.InitAllImageHandlers()
         self.main = GUIEmbedded(None, -1, "")
         self.app.SetTopWindow(self.main)
         if filepath is not None:
Removing deprecated wx calls