+ // We can't move the child window so we need to get the frame that
+ // we want to be really moving. This is probably not the best place
+ // to do this but at least it fixes the bug (#13177) for now.
+ if (!m_action_window->IsKindOf(CLASSINFO(wxAuiFloatingFrame)))
+ {
+ wxAuiPaneInfo& pane = GetPane(m_action_window);
+ m_action_window = pane.frame;
+ }
+