From aae29c7a0eace9ccfeb430c5a4ebd0c9a431e272 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Fri, 11 Aug 2017 12:04:32 -0300 Subject: [PATCH] Added notification const NOTIFICATION_WM_ABOUT --- core/os/main_loop.cpp | 2 ++ core/os/main_loop.h | 6 +++++- editor/editor_node.h | 2 ++ platform/osx/os_osx.mm | 7 ++++++- scene/main/scene_tree.cpp | 14 ++++++++++++++ 5 files changed, 29 insertions(+), 2 deletions(-) diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp index 248f5537c6f..6d07e2a39c4 100644 --- a/core/os/main_loop.cpp +++ b/core/os/main_loop.cpp @@ -54,6 +54,8 @@ void MainLoop::_bind_methods() { BIND_CONSTANT(NOTIFICATION_WM_QUIT_REQUEST); BIND_CONSTANT(NOTIFICATION_WM_UNFOCUS_REQUEST); BIND_CONSTANT(NOTIFICATION_OS_MEMORY_WARNING); + BIND_CONSTANT(NOTIFICATION_TRANSLATION_CHANGED); + BIND_CONSTANT(NOTIFICATION_WM_ABOUT); }; void MainLoop::set_init_script(const Ref