Don't repaint window if hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8ee64db5c1
commit
71f2ad997a
@ -1523,7 +1523,7 @@ void wxWindowMSW::DoMoveWindow(int x, int y, int width, int height)
|
||||
// otherwise (or if deferring failed) move the window in place immediately
|
||||
if ( !hdwp )
|
||||
{
|
||||
if ( !::MoveWindow(GetHwnd(), x, y, width, height, TRUE) )
|
||||
if ( !::MoveWindow(GetHwnd(), x, y, width, height, IsShown()) )
|
||||
{
|
||||
wxLogLastError(wxT("MoveWindow"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user