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:
@@ -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
|
// otherwise (or if deferring failed) move the window in place immediately
|
||||||
if ( !hdwp )
|
if ( !hdwp )
|
||||||
{
|
{
|
||||||
if ( !::MoveWindow(GetHwnd(), x, y, width, height, TRUE) )
|
if ( !::MoveWindow(GetHwnd(), x, y, width, height, IsShown()) )
|
||||||
{
|
{
|
||||||
wxLogLastError(wxT("MoveWindow"));
|
wxLogLastError(wxT("MoveWindow"));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user