Hi Oleg,
Oleg Deribas wrote:
> Hello,
>
> I'm trying to create tooggle tool on toolbar.
> I choose images for Bitmap and BitmapDisabled properties in Inspector,
> and I set Kind = wxITEM_CHECK but when I toggle tool picture remains the
> same.
>
> Is it even possible to change tool image on ToggleTool?
> I've attached sample app I've created in boa.
Everything in the code you sent looks correct, so it's either
a wxPython bug or a toggling image is not supported.
As a clue the parameter name is actually 'disabledBmp', although
this also doesn't make sense as the provided image is not used
when the tool button is disabled.
So I don't know, sorry.
Cheers,
Riaan.
|