X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..404b319a85dadd7decf7a5a5331020520031a41c:/src/os2/tooltip.cpp diff --git a/src/os2/tooltip.cpp b/src/os2/tooltip.cpp index a2783f7b7c..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: @@ -56,7 +56,6 @@ void wxToolTip::Create( ) { ULONG lStyle = ES_READONLY | ES_MARGIN | ES_CENTER; - wxColour vColor; LONG lColor; char zFont[128]; @@ -72,9 +71,11 @@ void wxToolTip::Create( ,NULL ); if (!m_hWnd) - wxLogError("Unable to create tooltip window"); + { + wxLogError(wxT("Unable to create tooltip window")); + } - vColor.InitFromName("YELLOW"); + wxColour vColor( wxT("YELLOW") ); lColor = (LONG)vColor.GetPixel(); ::WinSetPresParam( m_hWnd ,PP_BACKGROUNDCOLOR