Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -232,11 +232,13 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnPageOpen(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
#if wxUSE_FILEDLG
|
||||
wxString p = wxFileSelector(_("Open HTML document"), wxEmptyString,
|
||||
wxEmptyString, wxEmptyString, wxT("HTML files|*.htm"));
|
||||
|
||||
if (p != wxEmptyString)
|
||||
if (!p.empty())
|
||||
m_Html->LoadPage(p);
|
||||
#endif // wxUSE_FILEDLG
|
||||
}
|
||||
|
||||
void MyFrame::OnBack(wxCommandEvent& WXUNUSED(event))
|
||||
|
Reference in New Issue
Block a user