[Mac] Fonts selection raises NotImplementedError and freezes UI
Bug #539366 reported by
Stani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Critical
|
Stani |
Bug Description
When you try to select a font on the mac, an NotImplemented error is raised.
summary: |
- mac-fonts-ui + [Mac] Fonts ui crashes |
Changed in phatch: | |
importance: | High → Critical |
Changed in phatch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ bzr diff lib/pyWx/ autoCompleteCtr ls.py' lib/pyWx/ autoCompleteCtr ls.py 2010-03-10 04:13:27 +0000 lib/pyWx/ autoCompleteCtr ls.py 2010-03-17 12:40:13 +0000 TextCtrlAutoCom plete import TextCtrlAutoCom plete
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -21,7 +21,12 @@
import graphics
from other.pyWx.
-if hasattr(wx, "PopupWindow"): tCtrl = AutoCompleteIco nCtrl = wx.ComboBox
+#if hasattr(wx, "PopupWindow"):
+if wx.Platform == '__WXMAC__':
+
+ AutoCompleteTex
+
+else:
class AutoCompleteTex tCtrl(TextCtrlA utoComplete) :
self. _colSearch = 0
self. _colFetch = -1 tCtrl = AutoCompleteIco nCtrl = wx.ComboBox
def __init__(self, parent, id, value, style, choices):
@@ -250,6 +255,3 @@
# and fetch if setting a single column:
-
-else:
- AutoCompleteTex
$ bzr commit sync/python/ phatch/ repo/trunk/ lib/pyWx/ autoCompleteCtr ls.py
Committing to: /home/stani/
modified phatch/
Ran 156 license tests in 2.337s ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
Ran 61 tests in 0.500s
OK ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
Ran 154 PEP8 tests in 0.430s
Ran precommit tests in 10.163s
Committed revision 1859.