]> git.saurik.com Git - wxWidgets.git/commitdiff
uses system's default UI font in the help browser by default
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 24 Sep 2004 09:56:13 +0000 (09:56 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 24 Sep 2004 09:56:13 +0000 (09:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

index a9ef022bd49371b699d97108fabaac14f1e701a1..71a6bcf9960dce95d678f0bb3535ae1166880921 100644 (file)
@@ -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)
         {