From 4db74850dc468307e7f81a746046b9ba5b33899c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 20 Jan 2014 14:45:23 +0000 Subject: [PATCH] Don't pass input parameter by non-const reference unnecessarily. This is confusing. See #15893. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index 4170d8d960..68127865a7 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -774,7 +774,7 @@ int wxAuiDefaultToolBarArt::ShowDropDown(wxWindow* wnd, -static wxOrientation GetOrientation(long& style) +static wxOrientation GetOrientation(long style) { switch (style & wxAUI_ORIENTATION_MASK) {