--- src/widgets/ErrorDialog.cpp +++ src/widgets/ErrorDialog.cpp @@ -122,0 +123,8 @@ +// make help dialog modal +class HtmlTextHelpDialog : public BrowserFrame +{ +public: + HtmlTextHelpDialog() : BrowserFrame() { MakeModal(true); } + ~HtmlTextHelpDialog() { MakeModal(false); } +}; + @@ -127 +135 @@ - BrowserFrame * pWnd = new BrowserFrame(); + HtmlTextHelpDialog * pWnd = new HtmlTextHelpDialog();