Skip to content

Commit

Permalink
Make a public free function private
Browse files Browse the repository at this point in the history
In 29cd13c the free function
MSWShouldBeChecked was introduced in toolbar.cpp and mistakenly made
inline. Fix by making it static instead.
  • Loading branch information
discnl committed Jun 7, 2016
1 parent 4591982 commit 54e6f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msw/toolbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static RECT wxGetTBItemRect(HWND hwnd, int index, int id = wxID_NONE)
return r;
}

inline bool MSWShouldBeChecked(const wxToolBarToolBase *tool)
static bool MSWShouldBeChecked(const wxToolBarToolBase *tool)
{
// Apparently, "checked" state image overrides the "disabled" image
// so we need to enforce our custom "disabled" image (if there is any)
Expand Down

0 comments on commit 54e6f6e

Please sign in to comment.