Remove redundant sections from wx/msw/winundef.h

Somehow we redefined GetFirstChild() and GetNextSibling() twice in a row
for the last ~18 years.
This commit is contained in:
Vadim Zeitlin
2017-12-06 18:25:20 +01:00
parent acf53800fc
commit 9dd83933f3

View File

@@ -420,26 +420,6 @@
// For ming and cygwin
// GetFirstChild
#ifdef GetFirstChild
#undef GetFirstChild
inline HWND GetFirstChild(HWND h)
{
return GetTopWindow(h);
}
#endif
// GetNextSibling
#ifdef GetNextSibling
#undef GetNextSibling
inline HWND GetNextSibling(HWND h)
{
return GetWindow(h, GW_HWNDNEXT);
}
#endif
#ifdef Yield
#undef Yield
#endif