diff options
author | crupest <crupest@outlook.com> | 2018-09-13 00:14:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-13 00:14:59 +0800 |
commit | 5f35ba198582bb93e16d34c8d94ffdc8f453068d (patch) | |
tree | 9ac9865ff3f058d688240abff8b7a44c876dd32a /CruUI/timer.cpp | |
parent | bbcd0257150d967bdccd3ab89c100d02bd7a23d3 (diff) | |
download | cru-5f35ba198582bb93e16d34c8d94ffdc8f453068d.tar.gz cru-5f35ba198582bb93e16d34c8d94ffdc8f453068d.tar.bz2 cru-5f35ba198582bb93e16d34c8d94ffdc8f453068d.zip |
...
Diffstat (limited to 'CruUI/timer.cpp')
-rw-r--r-- | CruUI/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/timer.cpp b/CruUI/timer.cpp index 82a2a0f4..eabc7865 100644 --- a/CruUI/timer.cpp +++ b/CruUI/timer.cpp @@ -21,7 +21,7 @@ namespace cru UINT_PTR TimerManager::CreateTimer(const UINT microseconds, const bool loop, const TimerAction & action) { - auto id = ::SetTimer(Application::GetInstance()->GetGodWindowHandle(), 0, microseconds, nullptr); + auto id = ::SetTimer(Application::GetInstance()->GetGodWindow()->GetHandle(), 0, microseconds, nullptr); if (loop) map_[id] = action; else |