I've noticed that the paint handler is called many times (>10) when a window is unshaded. I'm using wxGTK as the backend. Is there any way to prevent this, or to detect which is the last call? My code is slow enough without this adding to it
聽聽聽Thanks,
聽聽聽聽聽Jp Calderone
路路路
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
I've noticed that the paint handler is called many times (>10) when a
window is unshaded. I'm using wxGTK as the backend. Is there any way
to prevent this, or to detect which is the last call? My code is slow
enough without this adding to it
When you say "Unshade" do you mean the function in the WM where it rolls the
window down from the titlebar? If so then there probably isn't any way
around it as the contents of the window have to be drawn for each step in
the animation.
You'll probably want to ask this on wx-users though as the people who know
better than I read that list.
路路路
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!