Make a public free function private

In 29cd13cc8f the free function
MSWShouldBeChecked was introduced in toolbar.cpp and mistakenly made
inline. Fix by making it static instead.
This commit is contained in:
Dimitri Schoolwerth
2016-06-08 00:59:23 +02:00
parent 45919829c0
commit 54e6f6e7b8

View File

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