// Created: 10/17/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
)
{
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(_T("Unable to create tooltip window"));
- vColor.InitFromName("YELLOW");
+ wxColour vColor( wxT("YELLOW") );
lColor = (LONG)vColor.GetPixel();
::WinSetPresParam( m_hWnd
,PP_BACKGROUNDCOLOR
LONG lWidth = 0L;
LONG lHeight = 0L;
- lWidth = m_sText.Length() * 13;
+ lWidth = m_sText.Length() * 8;
lHeight = 15;
::WinSetWindowPos( m_hWnd
,HWND_TOP