- else { /* we fit into window, no need for scrollbars */
- SetScrollbars(1, 1, 0, 0); // disable...
- m_Cell -> Layout(ClientWidth); // ...and relayout
- }
+ else { /* we fit into window, no need for scrollbars */
+ SetScrollbars(1, 1, 0, 0); // disable...
+ GetClientSize(&ClientWidth, &ClientHeight);
+ m_Cell -> Layout(ClientWidth); // ...and relayout
+ }