diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index f4561c9de1..cfb493b4ed 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -110,7 +110,7 @@ bool MyApp::OnInit() { wxInitAllImageHandlers(); - #if wxUSE_FS_INET + #if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS wxFileSystem::AddHandler(new wxInternetFSHandler); #endif