[Mac] Background color should be white
Bug #539138 reported by
Stani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Wishlist
|
Stani |
Bug Description
When Phatch starts up on Mac OS X, it shows a system color, but should be white.
Changed in phatch: | |
status: | Fix Committed → Fix Released |
tags: | added: mac |
To post a comment you must log in.
$ bzr diff lib/pyWx/ paint.py' lib/pyWx/ paint.py 2010-03-12 16:50:59 +0000 lib/pyWx/ paint.py 2010-03-15 15:25:35 +0000 GetUpdateRegion ().GetBox( )
_ dc.SetClippingR ect(rect) d(wx.Brush( paint_object. GetBackgroundCo lour(),
paint_ message = self.GetPaintMe ssage()
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -41,6 +41,8 @@
rect = paint_object.
dc = GCDC(_dc)
+ dc.SetBackgroun
+ wx.SOLID))
dc.Clear()
# Calculate text extents.
stani@x9150: ~/sync/ python/ phatch/ repo/trunk$ bzr commit sync/python/ phatch/ repo/trunk/ lib/pyWx/ paint.py
3/5 ------- ------- ------- ------- ------- ------- ------- ------- -------
Committing to: /home/stani/
modified phatch/
Ran 156 license tests in 0.133s
-------
Ran 62 tests in 0.242s
OK ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
Ran 154 PEP8 tests in 0.097s
Ran precommit tests in 1.711s
Committed revision 1829. //bazaar. launchpad. net/~stani/ phatch/ trunk/
$ bzr push
Using saved push location: bzr+ssh:
Pushed up to revision 1829.