diff --git a/include/wx/aui/framemanager.h b/include/wx/aui/framemanager.h index af10d6e3db..7c4390a5eb 100644 --- a/include/wx/aui/framemanager.h +++ b/include/wx/aui/framemanager.h @@ -444,6 +444,9 @@ protected: wxDockUIPartArray& uiparts, bool spacer_only = false); + virtual bool ProcessDockResult(wxPaneInfo& target, + const wxPaneInfo& new_pos); + bool DoDrop(wxDockInfoArray& docks, wxPaneInfoArray& panes, wxPaneInfo& drop, diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index fe57440d76..88758935b8 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -2063,7 +2063,7 @@ int wxFrameManager::GetDockPixelOffset(wxPaneInfo& test) // if a dock operation is allowed, the new dock position is copied into // the target info. If the operation was allowed, the function returns true. -static bool ProcessDockResult(wxPaneInfo& target, +bool wxFrameManager::ProcessDockResult(wxPaneInfo& target, const wxPaneInfo& new_pos) { bool allowed = false;