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:
parent
87d2b3f172
commit
2569ebc257
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user