Avoid unused variables compiler warning in wxQT