]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tooltip.cpp
1. Win9x support + async dialing + many more for wxDialUpManager
[wxWidgets.git] / src / msw / tooltip.cpp
index 4e589f1c36abe56b2e4abd7d3a09c88068644947..f7a4ab2bbc19cbc12be9a0c785c04959e98453c6 100644 (file)
 #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);
+       }
 
     }