Corrected frame icon, added version and date

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-11-14 10:33:40 +00:00
parent 1dab51b3ac
commit 4d31c9cfff
2 changed files with 12 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ bool hvApp::OnInit()
wxFileSystem::AddHandler(new wxZipFSHandler); wxFileSystem::AddHandler(new wxZipFSHandler);
SetVendorName("wxWindows"); SetVendorName("wxWindows");
SetAppName("wxHTMLHelp"); SetAppName("wxHTMLHelp");
wxConfig::Get(); // create an instance wxConfig::Get(); // create an instance
m_helpController = new wxHtmlHelpController( m_helpController = new wxHtmlHelpController(
@@ -95,6 +95,13 @@ bool hvApp::OnInit()
m_helpController -> DisplayContents(); m_helpController -> DisplayContents();
if (m_helpController->GetFrame())
{
wxString verStr;
verStr.Printf(wxT("HelpView %.2f, built %s"), hvVERSION, __DATE__);
m_helpController->GetFrame()->SetStatusText(verStr);
}
#if hvUSE_IPC #if hvUSE_IPC
if (useAsServer) if (useAsServer)
{ {
@@ -256,7 +263,8 @@ wxBitmap AlternateArtProvider::CreateBitmap(const wxArtID& id,
ART(wxART_FILE_OPEN, helpopen) ART(wxART_FILE_OPEN, helpopen)
if (client == wxART_HELP_BROWSER) if (client == wxART_HELP_BROWSER)
{ {
ART(wxART_FRAME_ICON, helpicon) //ART(wxART_FRAME_ICON, helpicon)
ART(wxART_HELP, helpicon)
} }
//ART(wxART_GO_HOME, home) //ART(wxART_GO_HOME, home)

View File

@@ -16,6 +16,8 @@
#pragma interface "help.cpp" #pragma interface "help.cpp"
#endif #endif
#define hvVERSION 1.01
// If 1, start a server to allow this to be used // If 1, start a server to allow this to be used
// as an external help viewer. // as an external help viewer.
#define hvUSE_IPC 1 #define hvUSE_IPC 1