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:
parent
5d47c8a0d2
commit
086c94af90
@ -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,
|
||||
{
|
||||
SetWindowPos((HWND)hwndTT, HWND_TOPMOST, 0, 0, 0, 0,
|
||||
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user