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")) wxT("nsis_menu"))
{ {
m_Html = new wxHtmlWindow(this, HtmlControl); 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->SetBorders(0);
m_Html->EnableScrolling(false, false); m_Html->EnableScrolling(false, false);
m_Html->SetSize(600, 365); m_Html->SetSize(600, 365);

View file

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

View file

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