]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
avoid hidden GetImageList
[wxWidgets.git] / 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