From 2ba3d4f0dd7b65d2f35b67e5c30ebae9b01c9445 Mon Sep 17 00:00:00 2001 From: Patrick Albert Date: Fri, 27 Aug 1999 11:56:22 +0000 Subject: [PATCH] Adding GetFisrtChild in winundef.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/winundef.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 96c5a06e8e..2217085e1e 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -197,6 +197,16 @@ } #endif +// GetFirstChild + +#ifdef GetFirstChild + #undef GetFirstChild + inline HWND GetFirstChild(HWND hwnd) + { + return GetTopWindow(hwnd); + } +#endif + // For WINE #if defined(GetWindowStyle) || defined(__WXWINE__) -- 2.50.0