diff options
Diffstat (limited to 'src/ui/host/WindowHost.cpp')
-rw-r--r-- | src/ui/host/WindowHost.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/host/WindowHost.cpp b/src/ui/host/WindowHost.cpp index 88e8cc87..4c707772 100644 --- a/src/ui/host/WindowHost.cpp +++ b/src/ui/host/WindowHost.cpp @@ -21,8 +21,7 @@ using platform::gui::INativeWindow; using platform::gui::IUiApplication; namespace event_names { -#define CRU_DEFINE_EVENT_NAME(name) \ - constexpr const char16_t* name = CRU_MAKE_UNICODE_LITERAL(name); +#define CRU_DEFINE_EVENT_NAME(name) constexpr const char* name = #name; CRU_DEFINE_EVENT_NAME(LoseFocus) CRU_DEFINE_EVENT_NAME(GainFocus) |