~ubuntu-branches/ubuntu/wily/phatch/wily

« back to all changes in this revision

Viewing changes to phatch/lib/pyWx/imageInspector.py

  • Committer: Package Import Robot
  • Author(s): Olly Betts
  • Date: 2014-08-31 18:10:50 UTC
  • mfrom: (4.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20140831181050-bsuwtc59i0whjxcw
Tags: 0.2.7.1-3.1
* Non-maintainer upload.
* Update for wxpython3.0 (Closes: #758942):
  + New patch: wxpy3.0-compat.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
792
792
class OpenMixin(object):
793
793
 
794
794
    def OnOpen(self, event):
795
 
        style = wx.OPEN | wx.CHANGE_DIR
 
795
        style = wx.FD_OPEN | wx.FD_CHANGE_DIR
796
796
        if hasattr(wx, 'FD_PREVIEW'):
797
797
            style |= wx.FD_PREVIEW
798
798
        path = os.path.dirname(self.image_table.images[-1].filename)