diff options
author | crupest <crupest@outlook.com> | 2018-11-06 20:41:11 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-06 20:41:11 +0800 |
commit | ef977514bc534ab39b14c1f14f49dfffbdd6d977 (patch) | |
tree | b60898fb09cf1811e09e1694ff5b19182c24dd7e /src | |
parent | f5a063f60eac26df6f65ba99683231912d91a2c2 (diff) | |
download | cru-ef977514bc534ab39b14c1f14f49dfffbdd6d977.tar.gz cru-ef977514bc534ab39b14c1f14f49dfffbdd6d977.tar.bz2 cru-ef977514bc534ab39b14c1f14f49dfffbdd6d977.zip |
...
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp index 79aaf38d..a7984d25 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -12,7 +12,7 @@ namespace cru { constexpr int invoke_later_message_id = WM_USER + 2000; - LRESULT GodWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) + LRESULT CALLBACK GodWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { const auto app = Application::GetInstance(); @@ -103,9 +103,9 @@ namespace cru { void LoadSystemCursor(HINSTANCE h_instance) { - ui::cursors::arrow = std::make_shared<ui::Cursor>(::LoadCursorW(nullptr, MAKEINTRESOURCEW(IDC_ARROW)), false); - ui::cursors::hand = std::make_shared<ui::Cursor>(::LoadCursorW(nullptr, MAKEINTRESOURCEW(IDC_HAND)), false); - ui::cursors::i_beam = std::make_shared<ui::Cursor>(::LoadCursorW(nullptr, MAKEINTRESOURCEW(IDC_IBEAM)), false); + ui::cursors::arrow = std::make_shared<ui::Cursor>(::LoadCursorW(nullptr, IDC_ARROW), false); + ui::cursors::hand = std::make_shared<ui::Cursor>(::LoadCursorW(nullptr, IDC_HAND), false); + ui::cursors::i_beam = std::make_shared<ui::Cursor>(::LoadCursorW(nullptr, IDC_IBEAM), false); } } |