[Mac] Background color should be white

Bug #539138 reported by Stani
6
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.

Tags: mac
Revision history for this message
Stani (stani) wrote :

$ bzr diff
=== modified file 'phatch/lib/pyWx/paint.py'
--- phatch/lib/pyWx/paint.py 2010-03-12 16:50:59 +0000
+++ phatch/lib/pyWx/paint.py 2010-03-15 15:25:35 +0000
@@ -41,6 +41,8 @@
             rect = paint_object.GetUpdateRegion().GetBox()
             _dc.SetClippingRect(rect)
         dc = GCDC(_dc)
+ dc.SetBackground(wx.Brush(paint_object.GetBackgroundColour(),
+ wx.SOLID))
         dc.Clear()
         # Calculate text extents.
         paint_message = self.GetPaintMessage()

stani@x9150:~/sync/python/phatch/repo/trunk$ bzr commit
Committing to: /home/stani/sync/python/phatch/repo/trunk/
modified phatch/lib/pyWx/paint.py
                                                                                3/5
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.
$ bzr push
Using saved push location: bzr+ssh://bazaar.launchpad.net/~stani/phatch/trunk/
Pushed up to revision 1829.

Changed in phatch:
assignee: nobody → Stani (stani)
importance: Undecided → Wishlist
milestone: none → 0.2.8
status: New → Fix Committed
Stani (stani)
Changed in phatch:
status: Fix Committed → Fix Released
Stani (stani)
tags: added: mac
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.