[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Refresh problems on Windows

From: Hilmar Berger
Subject: Re: [Gnumed-devel] Refresh problems on Windows
Date: Tue, 26 Jul 2005 20:13:32 +0200 (MEST)

> could it be that some of these problems are caused by a missing call to
> wxPaintDC in the _on_paint_event() method in ? I've read 
> omitting this may cause problems particularly on Windows (see wxPython
> docs). 
... just checked it and - surprise - this seems to do the job (at least on
my win XP machine). I didn't see any problems with page repaints at all
after applying the fix.

This is the bugfix:
        def _on_paint_event(self, event):
                """Repopulate UI if data is stale."""
                dc = wx.wxPaintDC (self)
                if self._data_stale:

Looks like this is not needed on WinXP but not on Linux/GTK.
I will check this in later. I will try to rebuild the installer, too. 


5 GB Mailbox, 50 FreeSMS
+++ GMX - die erste Adresse f�r Mail, Message, More +++

reply via email to

[Prev in Thread] Current Thread [Next in Thread]