compilation error corrected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-09-17 23:37:27 +00:00
parent 5d47c8a0d2
commit 086c94af90

View File

@ -36,6 +36,11 @@
#include <commctrl.h>
#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);
}
}