X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fba44b4103530bd7904c4b5720b7568b753daec..6f9921e15a3e2ef350b37adf6bc954632d9c148b:/src/os2/tooltip.cpp

diff --git a/src/os2/tooltip.cpp b/src/os2/tooltip.cpp
index 744db82fd5..3407b154e4 100644
--- a/src/os2/tooltip.cpp
+++ b/src/os2/tooltip.cpp
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        msw/tooltip.cpp
+// Name:        src/os2/tooltip.cpp
 // 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
-                               ,(PSZ)rsTip.c_str()
+                               ,rsTip.c_str()
                                ,lStyle
                                ,0, 0, 0, 0
                                ,NULLHANDLE
@@ -71,7 +71,9 @@ void wxToolTip::Create(
                                ,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();