Using EVT_WINDOW_CREATE to trigger set_window for all platforms