From: Patrick Albert Date: Fri, 27 Aug 1999 11:56:22 +0000 (+0000) Subject: Adding GetFisrtChild in winundef.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2ba3d4f0dd7b65d2f35b67e5c30ebae9b01c9445 Adding GetFisrtChild in winundef.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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__)