X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01bd848eb9699a60e0bdd5105b9a9c591c9e1b20..beee38cb41aa2ce4fbe9052bf4f70e1be184b553:/src/msw/progdlg.cpp diff --git a/src/msw/progdlg.cpp b/src/msw/progdlg.cpp index 09cba141b7..0cb869aa2e 100644 --- a/src/msw/progdlg.cpp +++ b/src/msw/progdlg.cpp @@ -236,6 +236,11 @@ void PerformNotificationUpdates(HWND hwnd, body.assign(title, posNL + numNLs, wxString::npos); title.erase(posNL); } + else // A single line + { + // Don't use title without the body, this doesn't make sense. + title.swap(body); + } ::SendMessage( hwnd, TDM_SET_ELEMENT_TEXT,