]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/test/test.cpp
Remove call to gtk_pizza_set_clear, which doesn't exist any more.
[wxWidgets.git] / samples / html / test / test.cpp
index 329bc799adcd4b28f8f9755781dece7792708fce..c726b60907fdca1f5637c4f58978268baab8c69e 100644 (file)
@@ -234,10 +234,10 @@ 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->LoadPage(p);
+        m_Html->LoadFile(wxFileName(p));
 #endif // wxUSE_FILEDLG
 }