From: Vadim Zeitlin Date: Thu, 20 Nov 2008 23:19:42 +0000 (+0000) Subject: use GetWindow() instead of GetNextWindow() to fix CE compilation (closes #10210) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c3b4617752985db32e659d2c716348eade16390f?hp=30f23bcc56d210ee3af35d00a1b1c45a645599d3 use GetWindow() instead of GetNextWindow() to fix CE compilation (closes #10210) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index f65ece0b5d..2190cbd8e8 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -395,7 +395,7 @@ void wxDialog::DestroyGripper() // we're not shown at all as in this case ResizeGripper() might not // have been called yet) wxASSERT_MSG( !IsShown() || - ::GetNextWindow((HWND)m_hGripper, GW_HWNDNEXT) == 0, + ::GetWindow((HWND)m_hGripper, GW_HWNDNEXT) == 0, _T("Bug in wxWidgets: gripper should be at the bottom of Z-order") ); ::DestroyWindow((HWND) m_hGripper); m_hGripper = 0;