Demoted TODO to non-TODO.
This commit is contained in:
parent
da42b979e7
commit
a81fa141ed
|
@ -111,7 +111,9 @@ void textfieldSetAndShowInvalidBalloonTip(HWND hwnd, WCHAR *text)
|
||||||
|
|
||||||
ZeroMemory(&ti, sizeof (EDITBALLOONTIP));
|
ZeroMemory(&ti, sizeof (EDITBALLOONTIP));
|
||||||
ti.cbStruct = sizeof (EDITBALLOONTIP);
|
ti.cbStruct = sizeof (EDITBALLOONTIP);
|
||||||
ti.pszTitle = L"Invalid Input"; // TODO this is necessary for the icon to show up; figure out some language-neutral thing
|
// this is required to show the error icon
|
||||||
|
// this probably should be localized...
|
||||||
|
ti.pszTitle = L"Invalid Input";
|
||||||
ti.pszText = text;
|
ti.pszText = text;
|
||||||
ti.ttiIcon = TTI_ERROR;
|
ti.ttiIcon = TTI_ERROR;
|
||||||
if (SendMessageW(hwnd, EM_SHOWBALLOONTIP, 0, (LPARAM) (&ti)) == FALSE)
|
if (SendMessageW(hwnd, EM_SHOWBALLOONTIP, 0, (LPARAM) (&ti)) == FALSE)
|
||||||
|
|
Loading…
Reference in New Issue