///////////////////////////////////////////////////////////////////////////////
-// Name: msw/tooltip.cpp
+// Name: src/os2/tooltip.cpp
// Purpose: wxToolTip class implementation for MSW
// Author: David Webster
// Modified by:
)
{
ULONG lStyle = ES_READONLY | ES_MARGIN | ES_CENTER;
- wxColour vColor;
LONG lColor;
char zFont[128];
,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