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:
@@ -420,26 +420,6 @@
|
|||||||
|
|
||||||
// For ming and cygwin
|
// 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
|
#ifdef Yield
|
||||||
#undef Yield
|
#undef Yield
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user