]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tooltip.cpp
Handle the case of NSNotFound result properly.
[wxWidgets.git] / src / os2 / tooltip.cpp
index 09b70270e2008564d1204eb9afa881e33a8878b7..685cf0233976e841c9abf722710b44f6cf724244 100644 (file)
@@ -71,7 +71,9 @@ void wxToolTip::Create(
                                ,NULL
                               );
     if (!m_hWnd)
-        wxLogError("Unable to create tooltip window");
+    {
+        wxLogError(wxT("Unable to create tooltip window"));
+    }
 
     wxColour                        vColor( wxT("YELLOW") );
     lColor = (LONG)vColor.GetPixel();