allow opening .html files, too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2005-12-26 23:29:17 +00:00
parent ea41ff3a56
commit 43056e6ed5

View File

@ -234,7 +234,7 @@ void MyFrame::OnPageOpen(wxCommandEvent& WXUNUSED(event))
{
#if wxUSE_FILEDLG
wxString p = wxFileSelector(_("Open HTML document"), wxEmptyString,
wxEmptyString, wxEmptyString, wxT("HTML files|*.htm"));
wxEmptyString, wxEmptyString, wxT("HTML files|*.htm;*.html"));
if (!p.empty())
m_Html->LoadFile(wxFileName(p));