git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32241
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// otherwise (or if deferring failed) move the window in place immediately
if ( !hdwp )
{
// 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"));
}
{
wxLogLastError(wxT("MoveWindow"));
}