Win64 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -217,8 +217,7 @@ WXHWND wxToolTip::GetToolTipCtrl()
|
||||
|
||||
#if wxUSE_TTM_WINDOWFROMPOINT
|
||||
// subclass the newly created control
|
||||
gs_wndprocToolTip = (WNDPROC)::GetWindowLong(hwnd, GWL_WNDPROC);
|
||||
::SetWindowLong(hwnd, GWL_WNDPROC, (long)wxToolTipWndProc);
|
||||
gs_wndprocToolTip = wxSetWindowProc(hwnd, wxToolTipWndProc);
|
||||
#endif // wxUSE_TTM_WINDOWFROMPOINT
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user