Browse Source

undo that, win2k defns should always be avail for build

cxgeorge 24 years ago
parent
commit
4333ac91b3
1 changed files with 0 additions and 8 deletions
  1. 0 8
      panda/src/wgldisplay/wglGraphicsWindow.cxx

+ 0 - 8
panda/src/wgldisplay/wglGraphicsWindow.cxx

@@ -3329,23 +3329,15 @@ void set_global_parameters(void) {
   // cursor alpha blending
   // cursor alpha blending
 
 
   // this is a win2k/xp only param, could use GetVersionEx to do it just for win2k
   // this is a win2k/xp only param, could use GetVersionEx to do it just for win2k
-#ifdef SPI_SETCURSORSHADOW
   SystemParametersInfo(SPI_GETCURSORSHADOW,NULL,&bCursorShadowOn,NULL);
   SystemParametersInfo(SPI_GETCURSORSHADOW,NULL,&bCursorShadowOn,NULL);
   SystemParametersInfo(SPI_SETCURSORSHADOW,NULL,(PVOID)false,NULL);
   SystemParametersInfo(SPI_SETCURSORSHADOW,NULL,(PVOID)false,NULL);
-#endif
 
 
-#ifdef SPI_SETMOUSETRAILS
   SystemParametersInfo(SPI_GETMOUSETRAILS,NULL,&iMouseTrails,NULL);
   SystemParametersInfo(SPI_GETMOUSETRAILS,NULL,&iMouseTrails,NULL);
   SystemParametersInfo(SPI_SETMOUSETRAILS,NULL,(PVOID)0,NULL);
   SystemParametersInfo(SPI_SETMOUSETRAILS,NULL,(PVOID)0,NULL);
-#endif
 }
 }
 
 
 void restore_global_parameters(void) {
 void restore_global_parameters(void) {
-#ifdef SPI_SETCURSORSHADOW
   SystemParametersInfo(SPI_SETCURSORSHADOW,NULL,(PVOID)bCursorShadowOn,NULL);
   SystemParametersInfo(SPI_SETCURSORSHADOW,NULL,(PVOID)bCursorShadowOn,NULL);
-#endif
-#ifdef SPI_SETMOUSETRAILS
   SystemParametersInfo(SPI_SETMOUSETRAILS,NULL,(PVOID)iMouseTrails,NULL);
   SystemParametersInfo(SPI_SETMOUSETRAILS,NULL,(PVOID)iMouseTrails,NULL);
-#endif
 }
 }