demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-28 17:02:16 +00:00
parent d43da70602
commit 5cd7ab8dd8
4 changed files with 56 additions and 26 deletions

View File

@@ -58,6 +58,7 @@ class TestMaskWindow(wx.ScrolledWindow):
def OnPaint (self, e):
self.SetBackgroundColour(wx.Colour(0,128,0))
dc = wx.PaintDC(self)
self.PrepareDC(dc)
dc.SetTextForeground(wx.WHITE)