add missing WM_RBUTTONDBLCLK message
This commit is contained in:
parent
cbad0440ab
commit
042ead0e5d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue