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,25 +1,25 @@
<html>
<head><title>NSIS Menu</title></head>
<body link="#0C6E97">
<div>
<img src="images/header.gif" width="598" height="45"></div>
<table border="0">
<tr>
<td width="20">
</td>
<td width="190" valign="top">
<p>
<font size="+1" color="#333333"><b>Compiler</b></font><br>
<a href="EX:makensisw.exe">Compile NSI scripts</a><br>
<a href="EX:Bin\zip2exe.exe">Installer based on ZIP file</a><br>
<br>
<br>
<br>
</p>
<p>
<font size="+1" color="#333333"><b>Developer Center</b></font><br>
Many more examples, tutorials, plug-ins and NSIS-related software are available
at the on-line <a href="EX:http://nsis.sourceforge.net/Developer_Center">Developer Center</a>.
</p>
<div><img src="images/header.gif" width="598" height="45"></div>
<table border="0">
<tr>
<td width="20">
</td>
<td width="190" valign="top">
<p>
<font size="+1" color="#333333"><b>Compiler</b></font><br>
<a href="EX:makensisw.exe">Compile NSI scripts</a><br>
<a href="EX:Bin\zip2exe.exe">Installer based on ZIP file</a><br>
<br>
<br>
<br>
</p>
<p>
<font size="+1" color="#333333"><b>Developer Center</b></font><br>
Many more examples, tutorials, plug-ins and NSIS-related software are available
at the on-line <a href="EX:http://nsis.sourceforge.net/Developer_Center">Developer Center</a>.
</p>
</td>
<td width="150" valign="top">
<p>
@ -52,12 +52,13 @@
<a href="EX:Docs\System\System.html">System</a> - Windows API calls<br>
<a href="EX:Docs\VPatch\Readme.html">VPatch</a> - update existing files</p>
</td>
</tr>
</table>
<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>
</tr>
</table>
<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>
</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">