)
{
ULONG lStyle = ES_READONLY | ES_MARGIN | ES_CENTER;
- wxColour vColor;
LONG lColor;
char zFont[128];
m_hWnd = ::WinCreateWindow( HWND_DESKTOP
,WC_ENTRYFIELD
- ,rsTip.c_str()
+ ,(PSZ)rsTip.c_str()
,lStyle
,0, 0, 0, 0
,NULLHANDLE
,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