This is a new function, added recently to the CVS source tree. The old interface was to pass the numeric handle value directly to setParentWindow.
You need to either use the old interface and pass the numeric value directly, or use a buildbot CVS build, or wait until 1.7.1 is released (I plan on releasing it within a couple of days).