Adding GetPrevSibling() & GetNextSibling() in winundef.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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__)
|
||||
|
Reference in New Issue
Block a user