]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation error corrected
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 17 Sep 1999 23:37:27 +0000 (23:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 17 Sep 1999 23:37:27 +0000 (23:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
+       }
 
     }