From 9dd83933f3b870cbe939a49438d51586afa1659d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 6 Dec 2017 18:25:20 +0100 Subject: [PATCH] Remove redundant sections from wx/msw/winundef.h Somehow we redefined GetFirstChild() and GetNextSibling() twice in a row for the last ~18 years. --- include/wx/msw/winundef.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index b363e7e94e..b5722ff98d 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -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