Don't make wxAuiFloatingFrame root of a top navigation domain

This allows the accelerators associated with it to propagate to the parent
frame, which is what we want to happen in practice.

Closes #16870.
This commit is contained in:
Kinaou Herve 2016-01-30 18:41:18 +01:00 committed by Vadim Zeitlin
parent 8034e35391
commit 38cd4b4769

View File

@ -43,6 +43,9 @@ public:
void SetPaneWindow(const wxAuiPaneInfo& pane);
wxAuiManager* GetOwnerManager() const;
// Allow processing accelerators to the parent frame
virtual bool IsTopNavigationDomain() const { return false; }
protected:
virtual void OnMoveStart();
virtual void OnMoving(const wxRect& windowRect, wxDirection dir);