Implement new BaseNativeWindow API

Signed-off-by: Simon Busch <morphis@gravedo.de>