]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tooltip.cpp
added several other accel strings
[wxWidgets.git] / src / msw / tooltip.cpp
index 4e589f1c36abe56b2e4abd7d3a09c88068644947..cbe06c171143c622a398148ad0ac3c274a58fe46 100644 (file)
 #include <commctrl.h>
 #endif
 
-WXHWND wxToolTip::hwndTT = NULL;
+// ----------------------------------------------------------------------------
+// global variables
+// ----------------------------------------------------------------------------
+
+// the tooltip parent window
+WXHWND wxToolTip::hwndTT = (WXHWND)NULL;
 
 // ----------------------------------------------------------------------------
 // private classes
@@ -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);
+       }
 
     }