fixed bug #1667976 - new nsis menu is larger

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4984 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-03-09 15:56:41 +00:00
parent 4580795d2f
commit cfa0085a2a

View file

@ -100,7 +100,7 @@ private:
// Create the main application window
MyFrame *frame = new MyFrame(_("NSIS Menu"),
wxPoint(50, 50), wxSize(600 + wxSystemSettings::GetMetric(wxSYS_FRAMESIZE_X), 382 + wxSystemSettings::GetMetric(wxSYS_FRAMESIZE_X)));
wxPoint(50, 50), wxSize(600 + wxSystemSettings::GetMetric(wxSYS_FRAMESIZE_X), 365 + wxSystemSettings::GetMetric(wxSYS_FRAMESIZE_X)));
// Show it and tell the application that it's our main window
@ -127,6 +127,7 @@ private:
m_Html->SetRelatedFrame(this, _("NSIS Menu"));
m_Html->SetBorders(0);
m_Html->EnableScrolling(false, false);
m_Html->SetSize(600, 365);
// Set font size
wxWindow UnitConvert;