Create function for opening new Window (native call) in Window class (C++)