Adding "SC_MONITORPOWER" and other new options to the "wParam" option list (e-mail...
authorJohn F. Fay <johnffay@nettally.com>
Sat, 5 Apr 2008 21:53:51 +0000 (21:53 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sat, 5 Apr 2008 21:53:51 +0000 (21:53 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@740 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_main.c

index 10604d0..1b75e7d 100644 (file)
@@ -2240,6 +2240,17 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam,
             case SC_HOTKEY     :
                 break ;
 
+#if(WINVER >= 0x0400)
+            case SC_DEFAULT    :
+                break ;
+
+            case SC_MONITORPOWER    :
+                break ;
+
+            case SC_CONTEXTHELP    :
+                break ;
+#endif /* WINVER >= 0x0400 */
+
             default:
 #if _DEBUG
                 fgWarning( "Unknown wParam type 0x%x", wParam );