Make a public free function private

In cfe9625a0d the free function
MSWShouldBeChecked was introduced in toolbar.cpp and mistakenly made
inline. Fix by making it static instead.

(cherry picked from commit 54e6f6e7b8)
This commit is contained in:
Dimitri Schoolwerth
2016-06-08 00:59:23 +02:00
parent f82f74d09b
commit 6c6522736d

View File

@@ -296,7 +296,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)