X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_main_mswin.c;h=bf02a7eb534c878207a7e509ce7edf264a934bb3;hb=a6652836b04c2ed99ae68c9ed5963dfac3e062a6;hp=baf4b3b0dbb5acc85445c8e039d1fc5d0365b812;hpb=c21722a39780abcd692cb01978fbf57fc7d06a45;p=freeglut diff --git a/src/mswin/fg_main_mswin.c b/src/mswin/fg_main_mswin.c index baf4b3b..bf02a7e 100644 --- a/src/mswin/fg_main_mswin.c +++ b/src/mswin/fg_main_mswin.c @@ -624,17 +624,6 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPAR */ return 0; - case WM_CANCELMODE: - /* - * The window manager sends this message when it detects a change - * that requires that an application cancel any modal state it has - * entered. If we've called SetCapture in the mouse button handler, - * call ReleaseCapture. - */ - if (setCaptureActive) - ReleaseCapture(); - break; - case WM_MOUSEMOVE: { #if defined(_WIN32_WCE)