]> git.saurik.com Git - wxWidgets.git/commitdiff
small compilation fix for !wxUSE_SOCKETS
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Jan 2000 20:53:14 +0000 (20:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Jan 2000 20:53:14 +0000 (20:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/test/test.cpp

index f4561c9de155f86ebcdcd078b71661ff57157ab5..cfb493b4edf4f770e6ed0e9d4968b662feaf240e 100644 (file)
    bool MyApp::OnInit()
    {
      wxInitAllImageHandlers();
-     #if wxUSE_FS_INET
+     #if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
      wxFileSystem::AddHandler(new wxInternetFSHandler);
      #endif