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
This commit is contained in:
parent
10e5c7eaa0
commit
bfa7fb5268
@ -59,6 +59,7 @@
|
|||||||
#include "wx/spinctrl.h"
|
#include "wx/spinctrl.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
#include "wx/choicdlg.h"
|
#include "wx/choicdlg.h"
|
||||||
|
#include "wx/settings.h"
|
||||||
|
|
||||||
// what is considered "small index"?
|
// what is considered "small index"?
|
||||||
#define INDEX_IS_SMALL 100
|
#define INDEX_IS_SMALL 100
|
||||||
@ -110,7 +111,11 @@ class wxHtmlHelpHashData : public wxObject
|
|||||||
class wxHtmlHelpHtmlWindow : public wxHtmlWindow
|
class wxHtmlHelpHtmlWindow : public wxHtmlWindow
|
||||||
{
|
{
|
||||||
public:
|
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)
|
virtual void OnLinkClicked(const wxHtmlLinkInfo& link)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user