Make a public free function private
Incfe9625a0dthe free function MSWShouldBeChecked was introduced in toolbar.cpp and mistakenly made inline. Fix by making it static instead. (cherry picked from commit54e6f6e7b8)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user