NSIS Menu updates: new design, source fixes, use wxWindows 2.4.2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2948 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2a6894ebc8
commit
0f770650cc
40 changed files with 141 additions and 8401 deletions
|
@ -2,7 +2,7 @@
|
|||
// Name: htmlwin.cpp
|
||||
// Purpose: wxHtmlWindow class for parsing & displaying HTML (implementation)
|
||||
// Author: Vaclav Slavik
|
||||
// RCS-ID: $Id: htmlwin.cpp,v 1.62.2.1 2002/11/04 22:46:22 VZ Exp $
|
||||
// RCS-ID: $Id: htmlwin.cpp,v 1.62.2.3 2003/04/09 16:02:31 VS Exp $
|
||||
// Copyright: (c) 1999 Vaclav Slavik
|
||||
// Licence: wxWindows Licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -345,6 +345,12 @@ bool wxHtmlWindow::LoadPage(const wxString& location)
|
|||
}
|
||||
|
||||
|
||||
bool wxHtmlWindow::LoadFile(const wxFileName& filename)
|
||||
{
|
||||
wxString url = wxFileSystem::FileNameToURL(filename);
|
||||
return LoadPage(url);
|
||||
}
|
||||
|
||||
|
||||
bool wxHtmlWindow::ScrollToAnchor(const wxString& anchor)
|
||||
{
|
||||
|
@ -592,14 +598,12 @@ wxHtmlProcessorList *wxHtmlWindow::m_GlobalProcessors = NULL;
|
|||
|
||||
void wxHtmlWindow::CleanUpStatics()
|
||||
{
|
||||
delete m_DefaultFilter;
|
||||
m_DefaultFilter = NULL;
|
||||
wxDELETE(m_DefaultFilter);
|
||||
m_Filters.DeleteContents(TRUE);
|
||||
m_Filters.Clear();
|
||||
delete m_GlobalProcessors;
|
||||
m_GlobalProcessors = NULL;
|
||||
delete s_cur_hand;
|
||||
delete s_cur_arrow;
|
||||
wxDELETE(m_GlobalProcessors);
|
||||
wxDELETE(s_cur_hand);
|
||||
wxDELETE(s_cur_arrow);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue