}
#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);
}
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:
LPARAM l_param) {
FOR_EACH_OBSERVER(
NativeWindowObserver, observers_,
- OnWindowMessage(message, w_param, static_cast<uint64_t>(l_param)));
+ OnWindowMessage(message, static_cast<uint64_t>(w_param),
+ static_cast<int64_t>(l_param)));
}
#endif
// Called when window message received
#if defined(OS_WIN)
- virtual void OnWindowMessage(UINT message, WPARAM wparam, uint64_t lparam) {}
+ virtual void OnWindowMessage(UINT message, uint64_t wparam, int64_t lparam) {}
#endif
// Called when renderer is hung.