#include <commctrl.h>
#endif
+// ----------------------------------------------------------------------------
+// global variables
+// ----------------------------------------------------------------------------
+
+// the tooltip parent window
WXHWND wxToolTip::hwndTT = NULL;
// ----------------------------------------------------------------------------
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);
+ }
}