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;