+ setup_sensitivity ();
+}
+
+void
+FontsDialog::setup_sensitivity ()
+{
+ int const item = _fonts->GetNextItem (-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
+ _edit->Enable (item != -1);
+}
+
+void
+FontsDialog::edit_clicked ()
+{
+ shared_ptr<Content> content = _content.lock ();
+ shared_ptr<TextContent> caption = _caption.lock ();
+ if (!content || !caption) {