summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-13 01:37:22 -0500
committerLioncash <mathew1800@gmail.com>2014-11-13 01:37:22 -0500
commit5fb94230cd6fab9b41420d51e27cd04a64f3dcaf (patch)
treea06bd2231fc5b51b7ce246e34c370180fc200781 /Source
parente93aa8d25d498528ed7c97aa31e6334446a47fec (diff)
parentcae3f0bde0a00fa4a8058ff7a8f0a53b5cad5216 (diff)
Merge pull request #1531 from lioncash/notebook
FrameAui: Allow notebook tabs to be rearranged in the parent notebook.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/FrameAui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/FrameAui.cpp b/Source/Core/DolphinWX/FrameAui.cpp
index cfabde869d..ab95432bd8 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()