rect WindowGetScreenRect window Returns the size and position of the window on the screen as a wxRect object.