removed unnecessary constructor
get selection properly in win32