on windows too: call resize callback only in response to WM message