+ /* We can't use Wrap() here as it doesn't work with markup:
+ * http://trac.wxwidgets.org/ticket/13389
+ */
+
+ wxString in = _("<i>It is important that you enter a valid email address here, otherwise I can't ask you for more details on your problem.</i>");
+ wxString out;
+ int const width = 45;
+ int current = 0;
+ for (size_t i = 0; i < in.Length(); ++i) {
+ if (in[i] == ' ' && current >= width) {
+ out += '\n';
+ current = 0;
+ } else {
+ out += in[i];
+ ++current;
+ }
+ }
+
+ wxStaticText* n = new StaticText (this, wxT (""));
+ n->SetLabelMarkup (out);
+ _table->AddSpacer (0);
+ _table->Add (n, 1, wxEXPAND);
+