cleanup: removed "#if 0" from source
[xboard.git] / winboard / wevalgraph.c
index 420e798..be51991 100644 (file)
@@ -565,38 +565,6 @@ LRESULT CALLBACK EvalGraphProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM l
         break;\r
 \r
     /* Support for captionless window */\r
-#if 0\r
-    case WM_NCLBUTTONDBLCLK:\r
-        if( wParam == HTCAPTION ) {\r
-            int index;\r
-            POINT mouse_xy;\r
-            POINTS pts = MAKEPOINTS(lParam);\r
-\r
-            mouse_xy.x = pts.x;\r
-            mouse_xy.y = pts.y;\r
-            ScreenToClient( hDlg, &mouse_xy );\r
-\r
-            index = GetMoveIndexFromPoint( mouse_xy.x, mouse_xy.y );\r
-\r
-            if( index >= 0 && index < currLast ) {\r
-                ToNrEvent( index + 1 );\r
-            }\r
-        }\r
-        break;\r
-\r
-    case WM_NCHITTEST:\r
-        {\r
-            LRESULT res = DefWindowProc( hDlg, message, wParam, lParam );\r
-\r
-            if( res == HTCLIENT ) res = HTCAPTION;\r
-\r
-            SetWindowLong( hDlg, DWL_MSGRESULT, res );\r
-\r
-            return TRUE;\r
-        }\r
-        break;\r
-#endif\r
-\r
     case WM_CLOSE:\r
         EvalGraphPopDown();\r
         break;\r