From: John L. <jla...@gm...> - 2012-06-29 05:27:45
|
On Thu, Jun 28, 2012 at 1:50 AM, Paul K <pau...@ya...> wrote: > Hi John, > > I think this is a bug in wxwidgets, but I'm looking for suggestions > about a workaround. ... > This is on Win32 using wxwidgets 2.8.7. Thank you. Try these newer binaries: https://sourceforge.net/projects/wxlua/files/wxlua/2.8.12.0/ Personally, I don't use update ui events as they are sent a little too often for my likes. I find that a single function that updates the gui state, menus, toolbars, buttons, etc.. works very well and is less cpu intensive. All you have to do is call it whenever there is a chance the state will change. This also has the benefit of getting all the update code in one place since the state of various items are often interrelated. Regards, John |