comparison src/htmlhelp.cpp @ 14:5ce7757b4350 v210

finish EasyPrint implement.
author pyon@macmini
date Fri, 01 Jul 2011 20:11:47 +0900
parents c174ac668e9f
children
comparison
equal deleted inserted replaced
12:9452ed888d10 14:5ce7757b4350
1 // Filename : htmlhelp.cpp 1 // Filename : htmlhelp.cpp
2 // Last Change: 04-Mar-2011. 2 // Last Change: 01-Jul-2011.
3 // 3 //
4 #include "common.h" 4 #include "common.h"
5 #include "htmlhelp.h" 5 #include "htmlhelp.h"
6 6
7 // for all others, include the necessary headers (this file is usually all you 7 // for all others, include the necessary headers (this file is usually all you
22 HtmlHelpFrame::HtmlHelpFrame(const wxString& title, wxWindowID id) 22 HtmlHelpFrame::HtmlHelpFrame(const wxString& title, wxWindowID id)
23 : wxFrame(NULL, id, title) 23 : wxFrame(NULL, id, title)
24 { 24 {
25 // set the frame icon 25 // set the frame icon
26 SetIcon(wxICON(sample)); 26 SetIcon(wxICON(sample));
27 m_htmlWin = new wxHtmlWindow( this, ID_HELP, wxDefaultPosition, wxSize(380,200) ); 27 m_htmlWin = new wxHtmlWindow( this, ID_HELP, wxDefaultPosition, wxSize(800,1000) );
28 28
29 m_htmlWin->LoadPage( wxT("man/index.html") ); 29 m_htmlWin->LoadPage( wxT("man/index.html") );
30 //m_htmlWin->SetRelatedFrame( m_parent, wxT("The Searcher v2 - %s") ); 30 //m_htmlWin->SetRelatedFrame( m_parent, wxT("The Searcher v2 - %s") );
31 m_htmlWin->SetRelatedStatusBar( 0 ); 31 m_htmlWin->SetRelatedStatusBar( 0 );
32 32