Add/fix code documentation for WX