Added help provider

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-10-10 11:11:59 +00:00
parent 87d2b3f172
commit 2569ebc257

View File

@ -35,6 +35,10 @@
#include "wx/sstream.h"
#include "wx/html/htmlwin.h"
#if wxUSE_HELP
#include "wx/cshelp.h"
#endif
#ifndef __WXMSW__
#include "../sample.xpm"
#endif
@ -272,6 +276,10 @@ IMPLEMENT_APP(MyApp)
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit()
{
#if wxUSE_HELP
wxHelpProvider::Set(new wxSimpleHelpProvider);
#endif
m_styleSheet = new wxRichTextStyleSheet;
CreateStyles();