+ // Sometimes floating frames are deleted after wxAuiManager, so we need
+ // to clear m_owner_mgr in the floating frame to avoid a crash. To do so,
+ // we register frames with wxAuiManager so it can keep track.
+ void RegisterFloatingFrame(wxAuiFloatingFrame* frame);
+ void UnregisterFloatingFrame(wxAuiFloatingFrame* frame);
+