X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4693b20c7500190c3cc8c02919c45436bf5efbc9..a2615ebc22a402b1badb46475f94ab6aa3a64018:/samples/html/test/test.cpp diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 0bbf21fd5f..4519cfe898 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -9,7 +9,7 @@ #endif // For compilers that support precompilation, includes "wx/wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -18,10 +18,11 @@ // 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 + #include "wx/wx.h" #endif #include "wx/image.h" +#include "wx/sysopt.h" #include "wx/html/htmlwin.h" #include "wx/html/htmlproc.h" #include "wx/fs_inet.h" @@ -130,12 +131,14 @@ class BoldProcessor : public wxHtmlProcessor // `Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { - wxLog::AddTraceMask(wxT("strconv")); - +#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");