Remove Toolbar state


I have Matplotlib running embedded in a wxPython app with the ability
to show/hide the toolbar. When I hide the toolbar the current tool
remains active (i.e. zooming) even though the toolbar is invisible.
Is there a way to turn off the tools when I hide the toolbar?

The toolbar I'm using is

David Morton