[wxpython-users] Re: Does wxUpdateUIEvent.SetUpdateInterval() work?

Robin Dunn robin at alldunn.com
Thu May 1 17:35:31 PDT 2008


Gre7g Luterman wrote:
> I've reposted this question to the wxWidgets community and they 
> mentioned that SetUpdateInterval will have an effect *ONLY* if both of 
> the following have been set to a true value when wxPython was compiled: 
> wxUSE_STOPWATCH and wxUSE_LONGLONG
>  
> So I downloaded the wxPython source and I tried to slog my way through 
> it. I'm no expert at compiling wxPython, but looking at 
> include\wx\msw\setup0.h, it looks like the following are the defaults:
>  
> 320: // Recommended setting: 1
> 321: #define wxUSE_LONGLONG      1
> 
> 386: // Recommended setting: 1 (needed by wxSocket)
> 387: #define wxUSE_STOPWATCH     1
>  
> It looks like this is the default and so I would assume the binary 
> version I downloaded has them turned on.  Can anyone suggest why this 
> might not be or whatever else might be contributing to this problem?  
> Would any of these recommended settings have changed since 2.8.4.0 
> <http://2.8.4.0>?
>  
> I'd love to have some input from anyone in the know.

I don't remember it not working in 2..4.0, but it is working for me in 
my quickie test with 2.8.7.1.  Please either try 2.8.7.1 or send a small 
runnable sample that demonstrates the problem for you and then somebody 
here can try it with the current version.  That way we can be sure we 
are checking the same thing.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the wxpython-users mailing list