This warning was given many times and was very confusing as it wasn't given at all in the right location, but rather for all the other, subsequent declarations of wxControlRenderer which were correct -- unlike this one which used wrong order for the "class" keyword and the attribute.