#endif
// For compilers that support precompilation, includes "wx/wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
// for all others, include the necessary headers (this file is usually all you
// need because it includes almost all "standard" wxWindows headers
#ifndef WX_PRECOMP
- #include <wx/wx.h>
+ #include "wx/wx.h"
#endif
-#include <wx/image.h>
-#include <wx/html/htmlwin.h>
-#include <wx/html/htmlproc.h>
-#include <wx/fs_inet.h>
+#include "wx/image.h"
+#include "wx/sysopt.h"
+#include "wx/html/htmlwin.h"
+#include "wx/html/htmlproc.h"
+#include "wx/fs_inet.h"
+#include "wx/filedlg.h"
// ----------------------------------------------------------------------------
// private classes
// `Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit()
{
+#if wxUSE_SYSTEM_OPTIONS
+ wxSystemOptions::SetOption(wxT("no-maskblt"), 1);
+#endif
+
wxInitAllImageHandlers();
- #if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
+#if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
wxFileSystem::AddHandler(new wxInternetFSHandler);
- #endif
+#endif
SetVendorName("wxWindows");
SetAppName("wxHtmlTest");
void MyFrame::OnPageOpen(wxCommandEvent& WXUNUSED(event))
{
- wxString p = wxFileSelector("Open HTML document", "", "", "", "HTML files|*.htm");
+ wxString p = wxFileSelector(wxT("Open HTML document"), wxT(""), wxT(""), wxT(""), wxT("HTML files|*.htm"));
if (p != wxEmptyString)
m_Html -> LoadPage(p);
}