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
This commit is contained in:
@@ -774,7 +774,7 @@ int wxAuiDefaultToolBarArt::ShowDropDown(wxWindow* wnd,
|
||||
|
||||
|
||||
|
||||
static wxOrientation GetOrientation(long& style)
|
||||
static wxOrientation GetOrientation(long style)
|
||||
{
|
||||
switch (style & wxAUI_ORIENTATION_MASK)
|
||||
{
|
||||
|
Reference in New Issue
Block a user