// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma implementation
- #pragma interface
-#endif
-
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
{
#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->LoadPage(p);
+ m_Html->LoadFile(wxFileName(p));
#endif // wxUSE_FILEDLG
}