X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba3d4f0dd7b65d2f35b67e5c30ebae9b01c9445..27476f7368c891de149723b7d4cf9fb922ce8433:/include/wx/msw/winundef.h diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 2217085e1e..356bb06ab1 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -207,6 +207,26 @@ } #endif +// GetPrevSibling + +#ifdef GetPrevSibling + #undef GetPrevSibling + inline HWND GetPrevSibling(HWND hwnd) + { + return GetWindow(hwnd,GW_HWNDPREV); + } +#endif + +// GetNextSibling + +#ifdef GetNextSibling + #undef GetNextSibling + inline HWND GetNextSibling(HWND hwnd) + { + return GetWindow(hwnd,GW_HWNDNEXT); + } +#endif + // For WINE #if defined(GetWindowStyle) || defined(__WXWINE__)