--- codeblocks.orig/src/sdk/editormanager.cpp 2007-12-13 21:54:04.000000000 +0100
+++ codeblocks.work/src/sdk/editormanager.cpp 2007-12-18 11:50:54.000000000 +0100
@@ -919,10 +919,11 @@
if (!reloadAll)
{
wxString msg;
- msg.Printf(_("File %s is modified outside the IDE...\nDo you want to reload it (you will lose any unsaved work)?"),
+ msg.Printf(_("File %s is modified outside the IDE...\nDo you want to reload it (you will lose any unsaved work)?\n"),
ed->GetFilename().c_str());
ConfirmReplaceDlg dlg(Manager::Get()->GetAppWindow(), false, msg);
dlg.SetTitle(_("Reload file?"));
+ dlg.GetSizer()->SetSizeHints(&dlg);
PlaceWindow(&dlg);
ret = dlg.ShowModal();
reloadAll = ret == crAll;
Why do you add an extra linefeed there?! Is that truely needed?Code- msg.Printf(_("File %s is modified outside the IDE...\nDo you want to reload it (you will lose any unsaved work)?"),
+ msg.Printf(_("File %s is modified outside the IDE...\nDo you want to reload it (you will lose any unsaved work)?\n"),
Why do you add an extra linefeed there?! Is that truely needed?
Yes, without the linefeed the question "Do you want to reload it (you will lose any unsaved work)?" is not shown in the rare case that a file with a really long path is changed (so long that pathname gets wrapped).This all is such a nasty hack... :-(