NSIS Menu dialog caption has to contain a %s now (wxWidgets requirement) so our files need to have a html title element.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6393 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-07-22 18:15:14 +00:00
parent 476abf9e3b
commit 7a741d6ef4
3 changed files with 31 additions and 30 deletions

View file

@ -127,7 +127,7 @@ private:
wxT("nsis_menu"))
{
m_Html = new wxHtmlWindow(this, HtmlControl);
m_Html->SetRelatedFrame(this, wxT("NSIS Menu%s"));
m_Html->SetRelatedFrame(this, wxT("%s")); // Dialog caption comes from the html title element or filename
m_Html->SetBorders(0);
m_Html->EnableScrolling(false, false);
m_Html->SetSize(600, 365);

View file

@ -1,7 +1,7 @@
<html>
<head><title>NSIS Menu</title></head>
<body link="#0C6E97">
<div>
<img src="images/header.gif" width="598" height="45"></div>
<div><img src="images/header.gif" width="598" height="45"></div>
<table border="0">
<tr>
<td width="20">
@ -55,9 +55,10 @@
</tr>
</table>
<p>
<img src="images/line.gif" width="598" height="3"></p>
<img src="images/line.gif" width="598" height="3">
</p>
<div align="right">
<a href="EX:http://nsis.sourceforge.net/">
<img src="images/site.gif" width="200" height="25"></a></div>
<a href="EX:http://nsis.sourceforge.net/"><img src="images/site.gif" width="200" height="25"></a>
</div>
</body>
</html>

View file

@ -1,7 +1,7 @@
<html>
<head><title>NSIS Menu</title></head>
<body link="#0C6E97">
<div>
<img src="images/header.gif" width="598" height="45"></div>
<div><img src="images/header.gif" width="598" height="45"></div>
<table border="0">
<tr>
<td width="20">