]> git.saurik.com Git - wxWidgets.git/commitdiff
added GetFirstSibling and GetLastSibling
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 2 Sep 2005 15:54:06 +0000 (15:54 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 2 Sep 2005 15:54:06 +0000 (15:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/winundef.h

index 969366cc080d8fed5494360b8e36a3ac189406e9..d67649a9647b20c92e0d30265c8a87dabd15d20c 100644 (file)
     }
 #endif
 
+// GetFirstSibling
+
+#ifdef GetFirstSibling
+    #undef GetFirstSibling
+    inline HWND GetFirstSibling(HWND hwnd)
+    {
+        return GetWindow(hwnd,GW_HWNDFIRST);
+    }
+#endif
+
+// GetLastSibling
+
+#ifdef GetLastSibling
+    #undef GetLastSibling
+    inline HWND GetLastSibling(HWND hwnd)
+    {
+        return GetWindow(hwnd,GW_HWNDLAST);
+    }
+#endif
+
 // GetPrevSibling
 
 #ifdef GetPrevSibling