From: Václav Slavík Date: Fri, 24 Sep 2004 09:56:13 +0000 (+0000) Subject: uses system's default UI font in the help browser by default X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bfa7fb526812857201894c7fb4df6739cdd3cdfc uses system's default UI font in the help browser by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index a9ef022bd4..71a6bcf996 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -59,6 +59,7 @@ #include "wx/spinctrl.h" #include "wx/dynarray.h" #include "wx/choicdlg.h" +#include "wx/settings.h" // what is considered "small index"? #define INDEX_IS_SMALL 100 @@ -110,7 +111,11 @@ class wxHtmlHelpHashData : public wxObject class wxHtmlHelpHtmlWindow : public wxHtmlWindow { public: - wxHtmlHelpHtmlWindow(wxHtmlHelpFrame *fr, wxWindow *parent) : wxHtmlWindow(parent), m_Frame(fr) {} + wxHtmlHelpHtmlWindow(wxHtmlHelpFrame *fr, wxWindow *parent) + : wxHtmlWindow(parent), m_Frame(fr) + { + SetStandardFonts(); + } virtual void OnLinkClicked(const wxHtmlLinkInfo& link) {