more /Wp64 warning fixes: mostly use UINT_PTR instead of UINT and define our WX[WL]PARAM with __w64 if available to avoid hundreds of warnings when casting LPARAMs to pointers/handles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -901,9 +901,15 @@ inline bool wxStyleHasBorder(long style)
|
||||
// functions mapping HWND to wxWindow
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// this function simply checks whether the given hWnd corresponds to a wxWindow
|
||||
// this function simply checks whether the given hwnd corresponds to a wxWindow
|
||||
// and returns either that window if it does or NULL otherwise
|
||||
extern WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd);
|
||||
extern WXDLLEXPORT wxWindow* wxFindWinFromHandle(HWND hwnd);
|
||||
|
||||
// without STRICT WXHWND is the same as HWND anyhow
|
||||
inline wxWindow* wxFindWinFromHandle(WXHWND hWnd)
|
||||
{
|
||||
return wxFindWinFromHandle(wx_static_cast(HWND, hWnd));
|
||||
}
|
||||
|
||||
// find the window for HWND which is part of some wxWindow, i.e. unlike
|
||||
// wxFindWinFromHandle() above it will also work for "sub controls" of a
|
||||
|
Reference in New Issue
Block a user