git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3699
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include <commctrl.h>
#endif
#include <commctrl.h>
#endif
+// ----------------------------------------------------------------------------
+// global variables
+// ----------------------------------------------------------------------------
+
+// the tooltip parent window
WXHWND wxToolTip::hwndTT = NULL;
// ----------------------------------------------------------------------------
WXHWND wxToolTip::hwndTT = NULL;
// ----------------------------------------------------------------------------
wxGetInstance(),
NULL);
if ( hwndTT )
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);
+ }