agw.aui toolbaritem bug

Hi,

When you change the state of a toolbar item by using SetState(DISABLE/
NORMAL), it doesn't update the state until you hover the mouse on the
tool bar.

The SetState member function is just setting the state and does not
updating it.

Please let me know if it has been already fixed or once you fixed it.

Thanks

Prashant

Python 2.6.2
wxPython 2.8.10.1
XP 32

Hey Andrea,

Any update?

Prashant

Hi,

Hey Andrea,

Any update?

As you are calling SetState directly on a toolbar item, which doesn't
have any clue about its parent AuiToolBar, I suggest you to call:

toolbar.Refresh()

After you call to SetState() and see if anything changes.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

ยทยทยท

On 24 February 2010 07:17, King wrote: