diff options
Diffstat (limited to 'src/platform/gui/win/Window.cpp')
-rw-r--r-- | src/platform/gui/win/Window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/gui/win/Window.cpp b/src/platform/gui/win/Window.cpp index eeb2cde4..5739d0f3 100644 --- a/src/platform/gui/win/Window.cpp +++ b/src/platform/gui/win/Window.cpp @@ -79,7 +79,7 @@ void WinNativeWindow::Close() { } void WinNativeWindow::SetParent(INativeWindow* parent) { - auto p = CheckPlatform<WinNativeWindow>(parent, GetPlatformId()); + auto p = CheckPlatform<WinNativeWindow>(parent, GetPlatformIdUtf8()); parent_window_ = p; if (hwnd_) { @@ -228,7 +228,7 @@ void WinNativeWindow::SetCursor(std::shared_ptr<ICursor> cursor) { throw std::runtime_error("Can't use a nullptr as cursor."); } - cursor_ = CheckPlatform<WinCursor>(cursor, GetPlatformId()); + cursor_ = CheckPlatform<WinCursor>(cursor, GetPlatformIdUtf8()); if (hwnd_) return; |