diff options
author | sanikoyes <sanikoyes@163.com> | 2015-03-25 10:58:22 +0800 |
---|---|---|
committer | sanikoyes <sanikoyes@163.com> | 2015-03-25 10:58:22 +0800 |
commit | 042ead0e5d0ef8112b189a2ce70d89d1ef83ca02 (patch) | |
tree | 8bb3cdf47dc1b32917d1df2f7214a1192ed1c37d /platform | |
parent | cbad0440ab078e72fcd5af50fa800d9720fb7761 (diff) |
add missing WM_RBUTTONDBLCLK message
Diffstat (limited to 'platform')
-rw-r--r-- | platform/windows/os_windows.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 414c250bd4..93275b3d54 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -423,6 +423,7 @@ LRESULT OS_Windows::WndProc(HWND hWnd,UINT uMsg, WPARAM wParam, LPARAM lParam) { case WM_RBUTTONUP: case WM_MOUSEWHEEL: case WM_LBUTTONDBLCLK: + case WM_RBUTTONDBLCLK: /*case WM_XBUTTONDOWN: case WM_XBUTTONUP: */{ @@ -476,6 +477,12 @@ LRESULT OS_Windows::WndProc(HWND hWnd,UINT uMsg, WPARAM wParam, LPARAM lParam) { mb.button_index=1; mb.doubleclick = true; } break; + case WM_RBUTTONDBLCLK: { + + mb.pressed=true; + mb.button_index=2; + mb.doubleclick = true; + } break; case WM_MOUSEWHEEL: { mb.pressed=true; @@ -2045,7 +2052,7 @@ String OS_Windows::get_executable_path() const { wchar_t bufname[4096]; GetModuleFileNameW(NULL,bufname,4096); String s= bufname; - print_line("EXEC PATHPó: "+s); + print_line("EXEC PATHP¨®: "+s); return s; } |