]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tooltip.cpp
Rewrite wxExecute() implementation under Unix.
[wxWidgets.git] / src / os2 / tooltip.cpp
index 744db82fd5344f09169c31a87c0dcef11c8c352c..3407b154e4207785ac0de570b8a9e7c0c40e61a5 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        msw/tooltip.cpp
+// Name:        src/os2/tooltip.cpp
 // Purpose:     wxToolTip class implementation for MSW
 // Author:      David Webster
 // Modified by:
 // Purpose:     wxToolTip class implementation for MSW
 // Author:      David Webster
 // Modified by:
@@ -61,7 +61,7 @@ void wxToolTip::Create(
 
     m_hWnd = ::WinCreateWindow( HWND_DESKTOP
                                ,WC_ENTRYFIELD
 
     m_hWnd = ::WinCreateWindow( HWND_DESKTOP
                                ,WC_ENTRYFIELD
-                               ,(PSZ)rsTip.c_str()
+                               ,rsTip.c_str()
                                ,lStyle
                                ,0, 0, 0, 0
                                ,NULLHANDLE
                                ,lStyle
                                ,0, 0, 0, 0
                                ,NULLHANDLE
@@ -71,7 +71,9 @@ void wxToolTip::Create(
                                ,NULL
                               );
     if (!m_hWnd)
                                ,NULL
                               );
     if (!m_hWnd)
-        wxLogError(_T("Unable to create tooltip window"));
+    {
+        wxLogError(wxT("Unable to create tooltip window"));
+    }
 
     wxColour                        vColor( wxT("YELLOW") );
     lColor = (LONG)vColor.GetPixel();
 
     wxColour                        vColor( wxT("YELLOW") );
     lColor = (LONG)vColor.GetPixel();