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:
@@ -65,7 +65,7 @@ bool hvApp::OnInit()
|
||||
wxFileSystem::AddHandler(new wxZipFSHandler);
|
||||
|
||||
SetVendorName("wxWindows");
|
||||
SetAppName("wxHTMLHelp");
|
||||
SetAppName("wxHTMLHelp");
|
||||
wxConfig::Get(); // create an instance
|
||||
|
||||
m_helpController = new wxHtmlHelpController(
|
||||
@@ -95,6 +95,13 @@ bool hvApp::OnInit()
|
||||
|
||||
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 (useAsServer)
|
||||
{
|
||||
@@ -256,7 +263,8 @@ wxBitmap AlternateArtProvider::CreateBitmap(const wxArtID& id,
|
||||
ART(wxART_FILE_OPEN, helpopen)
|
||||
if (client == wxART_HELP_BROWSER)
|
||||
{
|
||||
ART(wxART_FRAME_ICON, helpicon)
|
||||
//ART(wxART_FRAME_ICON, helpicon)
|
||||
ART(wxART_HELP, helpicon)
|
||||
}
|
||||
|
||||
//ART(wxART_GO_HOME, home)
|
||||
|
||||
Reference in New Issue
Block a user