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) {