- force an update of the status bar after resizing

This commit is contained in:
Volker Ruppert 2004-02-13 15:56:05 +00:00
parent 0d74cc8973
commit 9f1baf9fe3

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: win32.cc,v 1.74 2004-02-08 18:38:26 vruppert Exp $
// $Id: win32.cc,v 1.75 2004-02-13 15:56:05 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -1513,6 +1513,7 @@ void bx_win32_gui_c::dimension_update(unsigned x, unsigned y, unsigned fheight,
GetClientRect(stInfo.mainWnd, &R);
MoveWindow(hwndSB, 0, R.bottom-bx_statusbar_y, stretched_x,
bx_statusbar_y, TRUE);
UpdateWindow(hwndSB);
MoveWindow(stInfo.simWnd, 0, bx_headerbar_y, stretched_x, stretched_y, TRUE);
BX_INFO (("dimension update x=%d y=%d fontheight=%d fontwidth=%d bpp=%d", x, y, fheight, fwidth, bpp));