Declare various WXH* handles compatibly with SDK.
It is no longer necessary to cast between e.g. HINSTANCE and WXHINSTANCE, they are now declared as the same type (without including Windows SDK header). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -973,12 +973,6 @@ inline long wxSetWindowExStyle(const wxWindowMSW *win, long style)
|
||||
// and returns either that window if it does or NULL otherwise
|
||||
extern WXDLLIMPEXP_CORE wxWindow* wxFindWinFromHandle(HWND hwnd);
|
||||
|
||||
// without STRICT WXHWND is the same as HWND anyhow
|
||||
inline wxWindow* wxFindWinFromHandle(WXHWND hWnd)
|
||||
{
|
||||
return wxFindWinFromHandle(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
|
||||
// wxWindow.
|
||||
|
Reference in New Issue
Block a user