+/// Respond to help command
+void wxRichTextFormattingDialog::OnHelp(wxCommandEvent& event)
+{
+ int selPage = GetBookCtrl()->GetSelection();
+ if (selPage != wxNOT_FOUND)
+ {
+ int pageId = m_pageIds[selPage];
+ if (!GetFormattingDialogFactory()->ShowHelp(pageId, this))
+ event.Skip();
+ }
+}
+