If that is the beginning of the definition of onPaint() I have seen commented out argument names used to avoid "unreferenced formal parameter" compiler warnings (these warnings will only appear at a high warning level, level -W4 for Microsoft compilers).