]> git.saurik.com Git - wxWidgets.git/commitdiff
Adding GetFisrtChild in winundef.h
authorPatrick Albert <als@barjov.frmug.fr.net>
Fri, 27 Aug 1999 11:56:22 +0000 (11:56 +0000)
committerPatrick Albert <als@barjov.frmug.fr.net>
Fri, 27 Aug 1999 11:56:22 +0000 (11:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/winundef.h

index 96c5a06e8ec50f467809e4855c8dd5e9a1e3a11c..2217085e1e72fb67e915d17bf5683469b62d222a 100644 (file)
     }
 #endif
 
+// GetFirstChild
+
+#ifdef GetFirstChild
+    #undef GetFirstChild
+    inline HWND GetFirstChild(HWND hwnd)
+    {
+        return GetTopWindow(hwnd);
+    }
+#endif
+
 // For WINE
 
 #if defined(GetWindowStyle) || defined(__WXWINE__)