File: wxpython3.0.patch

package info (click to toggle)
python-fs 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,452 kB
  • ctags: 2,991
  • sloc: python: 20,659; makefile: 5
file content (27 lines) | stat: -rw-r--r-- 705 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 60307317b7de703eb1e9479be9e8f751b6693fa4 Mon Sep 17 00:00:00 2001
From: Olly Betts <olly@survex.com>
Date: Thu, 8 Oct 2015 12:05:47 -0700
Subject: Update for wxPython 3.0

Bug-Debian: https://bugs.debian.org/759054
Forwarded: no
Last-Update: 2014-09-13

Patch-Name: wxpython3.0.patch
---
 fs/browsewin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/browsewin.py b/fs/browsewin.py
index 9ce44fe..4baaf9b 100644
--- a/fs/browsewin.py
+++ b/fs/browsewin.py
@@ -187,7 +187,7 @@ def browse(fs, hide_dotfiles=False):
 
     """
 
-    app = wx.PySimpleApp()
+    app = wx.App(False)
     frame = BrowseFrame(fs, hide_dotfiles=hide_dotfiles)
     frame.Show()
     app.MainLoop()