From 54e6f6e7b85d084677d905adf7ca48758cf31d02 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Wed, 8 Jun 2016 00:59:23 +0200 Subject: [PATCH] Make a public free function private In 29cd13cc8f06eab726d3b774e057b64c94570923 the free function MSWShouldBeChecked was introduced in toolbar.cpp and mistakenly made inline. Fix by making it static instead. --- src/msw/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/toolbar.cpp b/src/msw/toolbar.cpp index 426681571b..8c0699de59 100644 --- a/src/msw/toolbar.cpp +++ b/src/msw/toolbar.cpp @@ -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)