X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf694132f1c28509a9f84377ce8d374bae4177ad..46f9bb9475c95ef7ce6420462253e9382006714c:/utils/wxPython/lib/wxPlotCanvas.py?ds=sidebyside diff --git a/utils/wxPython/lib/wxPlotCanvas.py b/utils/wxPython/lib/wxPlotCanvas.py index 58d522252b..569473ef22 100644 --- a/utils/wxPython/lib/wxPlotCanvas.py +++ b/utils/wxPython/lib/wxPlotCanvas.py @@ -36,8 +36,7 @@ information on downloading source or binaries.""", if d.ShowModal() == wx.wxID_CANCEL: d = wx.wxMessageDialog(wx.NULL, "I kid you not! Pressing Cancel won't help you!", "Not a joke", wx.wxOK) d.ShowModal() - import sys - sys.exit() + raise ImportError # # Plotting classes...