mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #2575 from rold2007:Bugfix_1437
This commit is contained in:
commit
dae04aacc3
@ -52,6 +52,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <windowsx.h>
|
||||||
|
|
||||||
#ifdef HAVE_OPENGL
|
#ifdef HAVE_OPENGL
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@ -1459,8 +1460,8 @@ static LRESULT CALLBACK HighGUIProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
|
|||||||
if( uMsg == WM_LBUTTONUP || uMsg == WM_RBUTTONUP || uMsg == WM_MBUTTONUP )
|
if( uMsg == WM_LBUTTONUP || uMsg == WM_RBUTTONUP || uMsg == WM_MBUTTONUP )
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
|
|
||||||
pt.x = LOWORD( lParam );
|
pt.x = GET_X_LPARAM( lParam );
|
||||||
pt.y = HIWORD( lParam );
|
pt.y = GET_Y_LPARAM( lParam );
|
||||||
|
|
||||||
GetClientRect( window->hwnd, &rect );
|
GetClientRect( window->hwnd, &rect );
|
||||||
icvGetBitmapData( window, &size, 0, 0 );
|
icvGetBitmapData( window, &size, 0, 0 );
|
||||||
|
Loading…
Reference in New Issue
Block a user