]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_inet.cpp
assert if ShowModal() is called after a previous Show() (#1416)
[wxWidgets.git] / src / common / fs_inet.cpp
index 26080da98779d71a5534e0583a5ba6b509ebba4d..835cf15a7e4594613147553362b02ae1c83a1bc2 100644 (file)
@@ -20,7 +20,7 @@
 
 #if wxUSE_FILESYSTEM && wxUSE_FS_INET
 
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
     #include "wx/module.h"
 #endif
 
@@ -107,7 +107,6 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs),
     {
         wxInputStream *s = url.GetInputStream();
         wxString content = url.GetProtocol().GetContentType();
-        if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
         if (s)
         {
             wxString tmpfile =