[ros-diffs] [martinf] 116: fix build with _ROS_ define

martinf at svn.reactos.org martinf at svn.reactos.org
Tue Feb 21 21:54:15 CET 2006


fix build with _ROS_ define
Modified: trunk/reactos/base/shell/explorer/shell/mainframe.cpp
  _____  

Modified: trunk/reactos/base/shell/explorer/shell/mainframe.cpp
--- trunk/reactos/base/shell/explorer/shell/mainframe.cpp
2006-02-15 19:35:08 UTC (rev 115)
+++ trunk/reactos/base/shell/explorer/shell/mainframe.cpp
2006-02-21 20:54:10 UTC (rev 116)
@@ -298,7 +298,7 @@

 	  case WM_DESTROY:
 		break;
 
-	  case WM_SIZE:
+	  case WM_SIZE: {
 #ifdef _ROS_	///@todo Work around to display rebar in ROS (with
flickering) as long as the control isn't fixed
 		int height = SendMessage(_hwndrebar, RB_GETBARHEIGHT, 0,
0);
 		MoveWindow(_hwndrebar, 0, 0, LOWORD(lparam), height,
TRUE);
@@ -306,7 +306,7 @@
 		resize_frame(LOWORD(lparam), HIWORD(lparam));
 		SendMessage(_hwndrebar, WM_SIZE, 0, 0);
 #endif
-		break;	// do not pass message to DefFrameProc
+		break;}	// do not pass message to DefFrameProc
 
 	  case WM_GETMINMAXINFO: {
 		LPMINMAXINFO lpmmi = (LPMINMAXINFO)lparam;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060221/c9a1d905/attachment-0002.html


More information about the Ros-diffs mailing list