Remove Toolbar state

Hello,

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
matplotlib.backends.backend_wxagg.NavigationToolbar2WxAgg

Thanks,
David Morton