Mercurial > mercurial > hgweb_searcher2.cgi
view src/htmlhelp.cpp @ 13:3e045b68738a
Finish EazyPrint implement.
author | pyon@macmini |
---|---|
date | Fri, 01 Jul 2011 19:54:15 +0900 |
parents | c174ac668e9f |
children |
line wrap: on
line source
// Filename : htmlhelp.cpp // Last Change: 01-Jul-2011. // #include "common.h" #include "htmlhelp.h" // for all others, include the necessary headers (this file is usually all you // need because it includes almost all "standard" wxWidgets headers) #ifndef WX_PRECOMP #include "wx/utils.h" #endif // resources // the application icon (under Windows and OS/2 it is in resources and even // though we could still include the XPM here it would be unused) #if !defined(__WXMSW__) && !defined(__WXPM__) #include "../img/sample.xpm" #endif // frame constructor HtmlHelpFrame::HtmlHelpFrame(const wxString& title, wxWindowID id) : wxFrame(NULL, id, title) { // set the frame icon SetIcon(wxICON(sample)); m_htmlWin = new wxHtmlWindow( this, ID_HELP, wxDefaultPosition, wxSize(800,1000) ); m_htmlWin->LoadPage( wxT("man/index.html") ); //m_htmlWin->SetRelatedFrame( m_parent, wxT("The Searcher v2 - %s") ); m_htmlWin->SetRelatedStatusBar( 0 ); } // Destructor HtmlHelpFrame::~HtmlHelpFrame() { }