fixing some wrong CPP prefixes - still old interface
Merge pull request #3262 from StevenPuttemans:fix_window_param