]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/progdlg.cpp
Explicitly include X11/Xlib.h to fix AIX build.
[wxWidgets.git] / src / msw / progdlg.cpp
index 09cba141b7bb22f23516435bc48c0c91019e3878..0cb869aa2ef91d557c41f246e3cd424e463e3c98 100644 (file)
@@ -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,