LRESULT APIENTRY _EXPORT wxTaskBarIconWindowProc( HWND hWnd, unsigned msg,
UINT wParam, LONG lParam );
-char *wxTaskBarWindowClass = "wxTaskBarWindowClass";
+wxChar *wxTaskBarWindowClass = _T("wxTaskBarWindowClass");
wxList wxTaskBarIcon::sm_taskBarIcons;
bool wxTaskBarIcon::sm_registeredClass = FALSE;
notifyData.hIcon = (HICON) icon.GetHICON();
}
- if (((const char*) tooltip != NULL) && (tooltip != ""))
+ if (((const wxChar*) tooltip != NULL) && (tooltip != _T("")))
{
notifyData.uFlags |= NIF_TIP ;
- lstrcpyn(notifyData.szTip, (char*) (const char*) tooltip, sizeof(notifyData.szTip));
+ lstrcpyn(notifyData.szTip, WXSTRINGCAST tooltip, sizeof(notifyData.szTip));
}
notifyData.uID = 99;
return TRUE;
// Also register the taskbar message here
- sm_taskbarMsg = ::RegisterWindowMessage("wxTaskBarIconMessage");
+ sm_taskbarMsg = ::RegisterWindowMessage(_T("wxTaskBarIconMessage"));
WNDCLASS wc;
bool rc;
HINSTANCE hInstance = GetModuleHandle(NULL);
HWND hWnd = CreateWindowEx (0, wxTaskBarWindowClass,
- "wxTaskBarWindow",
+ _T("wxTaskBarWindow"),
WS_OVERLAPPED,
0,
0,