Use WPARAM as uint64_t and LPARAM as int64_t
This commit is contained in:
parent
2ac40cc28e
commit
f22837523f
4 changed files with 6 additions and 4 deletions
|
@ -190,7 +190,7 @@ void Window::OnExecuteWindowsCommand(const std::string& command_name) {
|
|||
}
|
||||
|
||||
#if defined(OS_WIN)
|
||||
void Window::OnWindowMessage(UINT message, WPARAM w_param, uint64_t l_param) {
|
||||
void Window::OnWindowMessage(UINT message, uint64_t w_param, int64_t l_param) {
|
||||
if (IsWindowMessageHooked(message)) {
|
||||
messages_callback_map_[message].Run(w_param, l_param);
|
||||
}
|
||||
|
|
|
@ -77,7 +77,8 @@ class Window : public mate::TrackableObject<Window>,
|
|||
void OnExecuteWindowsCommand(const std::string& command_name) override;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
void OnWindowMessage(UINT message, WPARAM w_param, uint64_t l_param) override;
|
||||
void OnWindowMessage(UINT message, uint64_t w_param,
|
||||
int64_t l_param) override;
|
||||
#endif
|
||||
|
||||
// mate::Wrappable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue