]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
don't hard code the menu bar height under WinCE (closes #10248)
[wxWidgets.git] / src / msw / dialog.cpp
index f65ece0b5d2fb9a35f11e7f8d3ecbf003e54ecd6..2190cbd8e8ae8db9e7032d8472f52302463810d9 100644 (file)
@@ -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;