From cae3f0bde0a00fa4a8058ff7a8f0a53b5cad5216 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 11 Nov 2014 13:20:30 -0500 Subject: [PATCH] FrameAui: Allow notebook tabs to be rearranged in the parent notebook. --- Source/Core/DolphinWX/FrameAui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinWX/FrameAui.cpp b/Source/Core/DolphinWX/FrameAui.cpp index 43e3f86043..db53cedaf6 100644 --- a/Source/Core/DolphinWX/FrameAui.cpp +++ b/Source/Core/DolphinWX/FrameAui.cpp @@ -930,11 +930,11 @@ wxFrame* CFrame::CreateParentFrame(wxWindowID Id, const wxString& Title, wxWindo wxAuiNotebook* CFrame::CreateEmptyNotebook() { const long NOTEBOOK_STYLE = wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | + wxAUI_NB_TAB_MOVE | wxAUI_NB_TAB_EXTERNAL_MOVE | wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_WINDOWLIST_BUTTON | wxNO_BORDER; - wxAuiNotebook* NB = new wxAuiNotebook(this, wxID_ANY, - wxDefaultPosition, wxDefaultSize, NOTEBOOK_STYLE); - return NB; + + return new wxAuiNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, NOTEBOOK_STYLE); } void CFrame::AddRemoveBlankPage()