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,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">
@ -55,9 +55,10 @@
</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">
</p>
<div align="right"> <div align="right">
<a href="EX:http://nsis.sourceforge.net/"> <a href="EX:http://nsis.sourceforge.net/"><img src="images/site.gif" width="200" height="25"></a>
<img src="images/site.gif" width="200" height="25"></a></div> </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">