From: Václav Slavík Date: Mon, 26 Dec 2005 23:29:17 +0000 (+0000) Subject: allow opening .html files, too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/43056e6ed555be4cf217a06c7a623dd7176b2fc3 allow opening .html files, too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 71a83a5951..c726b60907 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -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));