]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tooltip.cpp
Fixed home and end accelerators.
[wxWidgets.git] / src / os2 / tooltip.cpp
index 09b70270e2008564d1204eb9afa881e33a8878b7..744db82fd5344f09169c31a87c0dcef11c8c352c 100644 (file)
@@ -61,7 +61,7 @@ void wxToolTip::Create(
 
     m_hWnd = ::WinCreateWindow( HWND_DESKTOP
                                ,WC_ENTRYFIELD
-                               ,rsTip.c_str()
+                               ,(PSZ)rsTip.c_str()
                                ,lStyle
                                ,0, 0, 0, 0
                                ,NULLHANDLE
@@ -71,7 +71,7 @@ void wxToolTip::Create(
                                ,NULL
                               );
     if (!m_hWnd)
-        wxLogError("Unable to create tooltip window");
+        wxLogError(_T("Unable to create tooltip window"));
 
     wxColour                        vColor( wxT("YELLOW") );
     lColor = (LONG)vColor.GetPixel();