fixed bug #2781948 - NSIS.exe shows nothing
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5965 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7e1196a4b1
commit
1592fa2d6a
1 changed files with 3 additions and 1 deletions
|
@ -136,7 +136,9 @@ private:
|
|||
int fonts[7] = {0, 0, 14000 / (DialogSize.GetWidth()), 19000 / (DialogSize.GetWidth()), 0, 0, 0};
|
||||
m_Html->SetFonts(wxString(), wxString(), fonts);
|
||||
|
||||
m_Html->LoadPage(wxT("Menu/index.html"));
|
||||
wxString exePath = wxStandardPaths::Get().GetExecutablePath();
|
||||
wxString path = ::wxPathOnly(exePath);
|
||||
m_Html->LoadPage(path + wxT("\\Menu\\index.html"));
|
||||
|
||||
this->Centre(wxBOTH);
|
||||
#ifndef __WXGTK__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue