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:
parent
ea41ff3a56
commit
43056e6ed5
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user