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:
kichik 2009-05-13 18:38:32 +00:00
parent 7e1196a4b1
commit 1592fa2d6a

View file

@ -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__