AUI Toolbar Pane Restore Issue

toolbar pane is not restored to my application with AUI manager.

I attached sample code used in my application.

After I drag toolbar to float and close,it is not resored back.

when I try to change “OnRestoreTb” method like below I can restore but can not float the pane after that.

def OnRestoreTb(self,event):
paneInfo = self._mgr.GetAllPanes()

paneInfo[0].Show()
paneInfo[1].Show()
paneInfo[2].Show()
self._mgr.Update()

Having problem only with toolbar pane.

–Kondal.

aui_toolbar_Restore.py (3.37 KB)