git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31322
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// then change the positions of all child windows at once
if ( m_hDWP )
{
// then change the positions of all child windows at once
if ( m_hDWP )
{
+ HDWP hDWP = (HDWP)m_hDWP;
+ m_hDWP = NULL;
+
// put all child controls in place at once now
// put all child controls in place at once now
- if ( !::EndDeferWindowPos((HDWP)m_hDWP) )
+ if ( !::EndDeferWindowPos(hDWP) )
{
wxLogLastError(_T("EndDeferWindowPos"));
}
{
wxLogLastError(_T("EndDeferWindowPos"));
}