From: Vadim Zeitlin Date: Fri, 17 Sep 1999 23:37:27 +0000 (+0000) Subject: compilation error corrected X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/086c94af906fc19ae8d71c9ad351f4a5ad71e7b8 compilation error corrected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index 4e589f1c36..f7a4ab2bbc 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -36,6 +36,11 @@ #include #endif +// ---------------------------------------------------------------------------- +// global variables +// ---------------------------------------------------------------------------- + +// the tooltip parent window WXHWND wxToolTip::hwndTT = NULL; // ---------------------------------------------------------------------------- @@ -126,8 +131,10 @@ WXHWND wxToolTip::GetToolTipCtrl() wxGetInstance(), NULL); if ( hwndTT ) - SetWindowPos(hwndTT, HWND_TOPMOST,0, 0, 0, 0, - SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); + { + SetWindowPos((HWND)hwndTT, HWND_TOPMOST, 0, 0, 0, 0, + SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); + } }