+ map<string, list<UserProperty> >::const_iterator i = groups.find (name);
+ if (i == groups.end()) {
+ return;
+ }
+
+ wxStaticText* m = new wxStaticText (this, wxID_ANY, std_to_wx (i->first));
+ wxFont font (*wxNORMAL_FONT);
+ font.SetWeight (wxFONTWEIGHT_BOLD);
+ m->SetFont (font);
+
+ add_spacer ();
+ add_spacer ();
+ add (m, false);
+ add_spacer ();
+
+ BOOST_FOREACH (UserProperty j, i->second) {
+ add (std_to_wx (j.key), true);
+ add (new wxStaticText (this, wxID_ANY, std_to_wx (j.value + " " + j.unit)));
+ }